- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » pyfmi :Failed to open file...
pyfmi :Failed to open file example_info.xml: No such file or directory
pyfmi :Failed to open file example_info.xml: No such file or directory
Hi,
my FMUmodel build with OpenModelica failed to be loaded inside pyfmi from jmodelica.
I get this error :
assert | assert | Failed to open file example_info.xml: No such file or directory
| | | |
It works exporting BouncingBall.mo (see link below) with OpenModelica and importing with load_fmu function in pyfmi.
http://www.robotic.de/fileadmin/control … ingBall.mo
I can't reproduce this error on a simple example and unfortunately can't send you the model for confidentiality reason.
Some questions :
Where am I supposed to see example_info.xml ? I only have a modelDescription.xml file inside my FMU file.
Why do we need this file ?
I can run my model inside Openmodelica, i.e. directly from source .mo or importing it in OpenModelica.
I already ask jModelica for support.
If you have any ideas, even if it lacks some info...
Regards,
Thomas
Re: pyfmi :Failed to open file example_info.xml: No such file or directory
Hi,
I think we're just stupid enough that we don't include the model_info.xml inside the .fmu.
We generate this file recently with debugging info but we forgot to add it to the .fmu:
https://trac.openmodelica.org/OpenModel … eset/15865
https://trac.openmodelica.org/OpenModelica/ticket/2136
I'll see where I should put this file in the .fmu and fix this issue.
Cheers,
Adrian Pop/
- adrpo
- 885 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » pyfmi :Failed to open file...