Opened 5 years ago

Last modified 3 years ago

#5881 new defect

Constants in a model cannot be read from a FMU

Reported by: Lennart Ochel Owned by: arunkumar palanisamy
Priority: high Milestone:
Component: FMI Version: v1.16.0-dev
Keywords: Cc: jan.peter.axelsson@…

Description

Reported by Jan Peter:

Constants in a model cannot be read from a FMU exported from OpenModelica. I think it is very practical for post-processing to be able to read out constants of a model from the FMU.

Change History (6)

comment:1 by Lennart Ochel, 5 years ago

I would like to add that it is the same with ordinary simulations in OpenModelica.

comment:2 by Martin Sjölund, 4 years ago

They are also not part of the flat Modelica output.

comment:3 by Andreas Heuermann, 4 years ago

Relevant ticket: #6151

I removed constants from the dependency list. If anyone want's to add constants this has to be changed back, see OMCompiler/Compiler/SimCode/SimCodeUtil.mo protected function getDepAndIndepVarsForInitialUnknowns.
See https://github.com/OpenModelica/OpenModelica/pull/6803

comment:4 by Francesco Casella, 4 years ago

Milestone: 1.16.01.17.0

Retargeted to 1.17.0 after 1.16.0 release

comment:5 by Francesco Casella, 4 years ago

Milestone: 1.17.01.18.0

Retargeted to 1.18.0 because of 1.17.0 timed release.

comment:6 by Francesco Casella, 3 years ago

Milestone: 1.18.0

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.