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

FMU Reset

FMU Reset

Hi,

I tried exporting FMUs v2.0 from different versions of OpenModelica (1.14, 1.16 dev and latest) and both me and cs. With every type of FMU I have tried to run a parameter sweep usign fmpy.
At the end of each simulation, I call fmi2reset. However, whenever fmi2ExitInitializationMode is called again, an exception is raised saying

Code:

access violation writing 0x0000000000000000

.

One example of such failing FMU is attached.

Do you have any idea what might have went wrong?

Regards
FMU.fmu

Edited by: Rabuzin - Aug-09-20 19:06:09
Attachments:

Re: FMU Reset

Since I wrote the first post, I have switched to Cpp as target and the problem seems to have disappeared.

Edited by: Rabuzin - Aug-09-20 19:45:19
There are 0 guests and 0 other users also viewing this topic