modelica-tools / FMUComplianceChecker

FMI Compliance Checker for validation of FMUs 1.0 and 2.0

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compliance checker: attribute initial forbidden for inputs

modelica-trac-importer opened this issue · comments

Reported by cbertsch on 17 Jan 2017 17:11 UTC
In the FMI 2.0 specification it is stated on p.47:
"Enumeration that defines how the variable is initialized. It is not allowed to provide a value for initial if causality = input or independent".
This is currently not checked by the compliance checker.
I attached an FMU containing this error.


Migrated-From: https://trac.fmi-standard.org/ticket/403

Seems there is a check implemented in current version 2.0.4, that forbids "causality=input", "variability=continuous" and "initial=exact" -> compliance checker requests and accepts "initial=approx" in this case.

Closing, since this has been fixed, as mentioned by @ghorwin.