Opened 6 years ago
Closed 6 years ago
#5218 closed defect (fixed)
Initialization issue with FMUs and C runtime
Reported by: | Lennart Ochel | Owned by: | Lennart Ochel |
---|---|---|---|
Priority: | blocker | Milestone: | 1.13.1 |
Component: | FMI | Version: | v1.13.0-dev-nightly |
Keywords: | Cc: | Adrian Pop |
Description (last modified by )
The following example can be used to reproduce an initialization issue with FMUs:
loadString(" model A output Real y = x; parameter Real x_start = 1.0; protected Real x(start=x_start, fixed=true); equation der(x) = time; end A;"); getErrorString(); buildModelFMU(A, version="2.0", fmuType="me", platforms={"static"}); getErrorString();
State x
is always initialized with 1.0
, even if x_start
is changed using the FMI interface.
This problem is only related to the C runtime. Everything works just fine with the Cpp runtime.
Change History (6)
comment:1 by , 6 years ago
Description: | modified (diff) |
---|---|
Summary: | Initialization of FMUs → Initialization issue with FMUs and C runtime |
comment:2 by , 6 years ago
comment:3 by , 6 years ago
Milestone: | 1.13.0 → 1.14.0 |
---|
Milestone changed as discussed in today’s meeting.
comment:4 by , 6 years ago
Owner: | set to |
---|---|
Status: | new → accepted |
comment:5 by , 6 years ago
Milestone: | 1.14.0 → 1.13.1 |
---|
Note:
See TracTickets
for help on using tickets.
@lochel, do you think you can take care of this in time for the release of 1.13.0?
Thanks!