bench saving state vector segmentation violation
Summary
When trying to save a state vector using bench there is a segmentation violation. The error is independent from the ionic model.
What version of openCARP are you using?
GIT tag: v13.0-40-g83f67f9a
GIT hash: 83f67f9a
GIT repo: https://git.opencarp.org/openCARP/openCARP.git
What operating system and processor architecture are you using?
Distributor ID: Ubuntu
Description: Ubuntu 22.04.2 LTS
Release: 22.04
Codename: jammy
Steps to reproduce
To reproduce this issue run:
bench --duration 500 --imp Tomek --stim-curr 60.0 --numstim 1 --bcl 1000 --dt-out 0.1 --save-ini-file state_sim_Tomek --save-ini-time 500
What is the current bug behavior?
There is a segmentation violation when the state vector wants to be dump to the empty file.
What is the expected correct behavior?
The state vector should be dump to the empty state file.