Error parsing 'independent' variable
hplatou opened this issue · 2 comments
hplatou commented
If modelDescription.xml (FMI2) contains a variable with causality=independent, the xml-parser reports a parse error:
[error ] [FMI Library: FMI2XML] Start attribute is required for this causality, variability and initial combination
According to the specification, this variable must be defined without the start attribute:
If one variable is defined as "independent", it must be defined as "Real" without a "start" attribute.
lionelbelmon commented
Hi, we noticed the same problem here.
One other way to solve it is to modify the table in fmi_enum.c
#98
PeterMeisrimelModelon commented
Has been fixed in #129