Opened 6 years ago

Closed 6 years ago

#4977 closed defect (fixed)

Directional derivatives error (FMU for model exchange)

Reported by: contacto@… Owned by: Willi Braun
Priority: high Milestone: 1.13.0
Component: FMI Version: v1.13.0-dev-nightly
Keywords: Cc:

Description

Hello,

I'm using FMUs generated by OpenModelica from FMPy and PyFMI.

When I try to get directional derivatives from the FMUs, there are crashes (with both libraries).

The FMUs are generated from console: c:\openmodelica1.13.0-dev-64bit\bin\omc -n=1 -d=-disableDirectionalDerivatives --postOptModules+=wrapFunctionCalls fmu.mos > error_fmu.txt 2>&1

Files are attached.

Am I doing something wrong or could it be a bug in the FMU code?

Thanks!!!

Neotake

Attachments (4)

fmu.mos (147 bytes ) - added by anonymous 6 years ago.
E10_linear.mo (258 bytes ) - added by anonymous 6 years ago.
E10_linear.fmu (16.3 MB ) - added by anonymous 6 years ago.
pyfmi_test_script.py (2.0 KB ) - added by anonymous 6 years ago.

Change History (7)

by anonymous, 6 years ago

Attachment: fmu.mos added

by anonymous, 6 years ago

Attachment: E10_linear.mo added

by anonymous, 6 years ago

Attachment: E10_linear.fmu added

by anonymous, 6 years ago

Attachment: pyfmi_test_script.py added

comment:1 by contacto@…, 6 years ago

The script "pyfmi_test_script.py" works properly if the FMU is generated from other software. So, I think it's a bug in the FMU code.
Thanks!!

comment:2 by Willi Braun, 6 years ago

Milestone: Future1.13.0
Owner: changed from Lennart Ochel to Willi Braun
Status: newaccepted

comment:3 by Willi Braun, 6 years ago

Resolution: fixed
Status: acceptedclosed

Fixed in 4c49398.

Note: See TracTickets for help on using tickets.