Opened 12 years ago
Closed 12 years ago
#1885 closed defect (fixed)
generated FMI can not be simulated with FMUSDK
Reported by: | richti83 | Owned by: | Willi Braun |
---|---|---|---|
Priority: | high | Milestone: | 1.9.0 |
Component: | Code Generation | Version: | 1.9.0Beta |
Keywords: | Cc: | Adeel Asghar |
Description
Since update from 1.8.1 to 1.9 r13381 the FMI Export seems to be broken. The generated FMU is not usable in the FMUSDK [1] and the FMU.Checker [2] complains:
[ERROR][FMUCHK] FMU does not make an internal copy of provided instance name (violation of fmiString handling)
[FMU][log][FMU status:OK] fmiSetTime: time=0
[FMU][log][FMU status:OK] fmiInitialize: toleranceControlled=0 relativeTolerance=1e-06
Speicherzugriffsfehler (Speicherabzug geschrieben)
The error occurs in Linux64 and Win64, but not with OM versions <=1.8.1 (tested with Multibody_Examples_Elementary_Pendulum)
[1] https://trac.fmi-standard.org/browser/branches/public/Test_FMUs/FMI_1.0/Compliance-Checker
[2] http://github.com/mtiller/fmusdk
Change History (5)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 12 years ago
Cc: | added |
---|
I was able to track this down to eqFunction_16() in Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum.c
But don't have any idea how to solve this.