Open daviddecobee opened 4 years ago
Yes this seems to be Checker bug.
It should be enough to change fmi2_input_reader.c:152: indata->interpData[i] = *v1;
-> indata->interpData[i] = v1[i];
(and same for FMI 1 corresponding file).
I'll fix this, but also want to add some tests which might take a bit longer. I'll open PR though.
Do you plan a release (with binaries) with that fix ?
Using a co-simulation with multiple real value inputs that are discrete I have seen that the first value in the input file is copied to all real inputs. For example a model with real discrete variables A, B, C and an input file that using the compliance checker with an input similar to:
The output file (using -f) will show:
If I use integers or continuous no issue.
I originally raised this here: https://github.com/ghorwin/FMICodeGenerator/issues/32
But I believe the issue is not with the code generator but seems to be the compliance checker.