Hi :)
I am trying to compile a model from HiPSC derived ventricular cells (see CellML https://models.physiomeproject.org/e/594/paci_hyttinen_aaltosetala_severi_ventricularVersion.cellml/view ). I converted first to .model and tried to run the C translator on it, getting some warnings regarding the gates alpha/beta and tau/inifinity. I modified that and run it again. I was then able to create a dynamic model .so. However this gave a warning:
/Users/tpw18/Desktop/DOCUMENTS/others/Norah/P17/Models/HiPSC_ventricle_paci/paci_ventricle.cc:200:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct paci_ventricle_Regional_Constants {
^
1 warning generated.
And if I now try to run bench --load-module ./paci_ventricle.so there is no output at all and no error message at all.
The same warning is also generated if I try to compile openCARP from source with that new .model file. And again the newly compiled openCARP doesn't show any output nor error when running bench with that model.
Stuff like bench --load-module paci_ventricle.so --imp-info also have no terminal output.
I checked the C file of the model and on line 200 I have this:
struct paci_ventricle_Regional_Constants {
};
I am not sure that warning is even related to the model not working at all, but since it has no other error or output, it's the only thing I can think of...Can someone give me a hint on what might be happening there?
Thanks!
Teo