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

Problems with OM dlls and Model exe

Problems with OM dlls and Model exe

Hi,

I recently noticed a strange issue while using OM.

Problem : Model exe is gets modified (date in the file explorer changes) and .dlls are getting corrupted.

I use OpenModelica1.12.0-alpha-64bit on a Windows 10 machine.

In my setup I have a compiled exe of my Model generated using OpenModelica. I have pasted the required .dlls from the bin folder into the %temp%/OpenModelica/OMEdit folder and I execute the exe using a batch file command
"start /b /d "%temp%/OpenModelica" <name of exe> -rt 1.0 -embeddeServer opc-ua"
What I have observed is the last modified date of the exe changes everytime I run the batch file. Also after a few minutes of simulation certain .dlls like  "libsundials_nvecserial.dll" and a few more get corrupted (file size becomes 0kb)

I then just re copy the dlls from the bin folder and continue using the model.

Any idea why this happens??

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