Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

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/

There are 0 guests and 0 other users also viewing this topic
You are here: