- Index
- » Users
- » Johan
- » Profile
Posts
Posts
Hello,
I am new to OpenModelica so there is probably a newbie mistake somwhere but here goes.
I am trying to use OMPython to compile a model into an FMU, but I fail.
I have tried some models from MSL, and they succeed but when I try with a model from my library only some files and a folder is generated:
- Folder: model.fmutmp
- model.libs
- model_FMU_libs
- model_FMU.log
- model_FMU.makefile
- model_info.json
Calling getErrorString returns an empty string and the log only contain the following info:
rm -f model.fmutmp/sources/model_init.xml
cp -a C:/OpenModelica1.9.7//include/omc/c/* model.fmutmp/sources/include/
cp -a C:/OpenModelica1.9.7//share/omc/runtime/c/fmi/buildproject/* model.fmutmp/sources
cp -a model_FMU.libs model.fmutmp/sources/
RESULT: 0
I am using OM 1.9.7 since there were bugs in OMPython that prevented me form using using version 1.11.0.
Is this something you recognize?
Best regards,
Johan Ylikiiskilä
- Index
- » Users
- » Johan
- » Profile