OMSimulator icon indicating copy to clipboard operation
OMSimulator copied to clipboard

Simulation of FMUs requiring licenses

Open robha67 opened this issue 2 years ago • 2 comments

  1. Export FMU that requires license to execute, from for example dymola without source code generation licence or with altair romAI block. The latter is what we have tried that does not work
  2. Set environment variable pointing to local license file
  3. Simulate FMU in OMSimulator

This seems not to work, I don't know if it is related to the unpacking of FMUs in omsimulator. The FMU:s are re-named if I am not misstaken. Could this result in the license file not being found?

@lochel @arun3688

robha67 avatar May 16 '22 09:05 robha67

@robha67 could you provide an example fmu for such cases so we can reproduce the issue

arun3688 avatar Jun 07 '22 12:06 arun3688

I could update the EMBrACE SSP that is in the testsuite but it will only be possible to re-produce the issue if you have a local license file available on your computer. The error stems from an FMU export of the Altair tool Activate but I suspect that a Dymola FMU would produce the same problem if exported without the code generation licence. Do you have a Dymola licence available?

@arun3688

robha67 avatar Jun 07 '22 13:06 robha67