Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002206/0.002206, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8099/0.8099, allocations: 133.6 MB / 141.6 MB, free: 2.949 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.722/1.722, allocations: 221.5 MB / 395.5 MB, free: 10.74 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009013/0.0009015, allocations: 100.1 kB / 478.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.968e-05/2.975e-05, allocations: 4 kB / 0.5535 GB, free: 8.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6358/0.6359, allocations: 82.3 MB / 0.6339 GB, free: 40.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.904/7.54, allocations: 2.151 GB / 2.785 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/7.54, allocations: 93.69 kB / 2.785 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1446/7.685, allocations: 72.75 MB / 2.856 GB, free: 40.82 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.413e-06/7.685, allocations: 0 / 2.856 GB, free: 40.82 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001269/7.685, allocations: 40 kB / 2.856 GB, free: 40.79 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.00261/7.688, allocations: 1.809 MB / 2.858 GB, free: 38.92 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/7.688, allocations: 12.03 kB / 2.858 GB, free: 38.91 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002968/7.688, allocations: 237.1 kB / 2.858 GB, free: 38.67 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003609/7.692, allocations: 1.867 MB / 2.86 GB, free: 36.74 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/7.692, allocations: 67 kB / 2.86 GB, free: 36.67 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.244e-05/7.692, allocations: 44 kB / 2.86 GB, free: 36.62 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008103/7.693, allocations: 482.5 kB / 2.861 GB, free: 36.15 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009036/7.694, allocations: 0.5821 MB / 2.861 GB, free: 35.55 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/7.694, allocations: 7.938 kB / 2.861 GB, free: 35.55 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.187e-05/7.694, allocations: 3.984 kB / 2.861 GB, free: 35.54 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/7.694, allocations: 20 kB / 2.861 GB, free: 35.52 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00471/7.699, allocations: 3.568 MB / 2.865 GB, free: 31.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009447/7.7, allocations: 0.5922 MB / 2.865 GB, free: 31.11 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004433/7.7, allocations: 338.9 kB / 2.866 GB, free: 30.77 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.42e-05/7.7, allocations: 8.562 kB / 2.866 GB, free: 30.76 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005135/7.701, allocations: 361.8 kB / 2.866 GB, free: 30.39 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 3.075e-06/7.701, allocations: 4 kB / 2.866 GB, free: 30.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.001707/7.702, allocations: 0.9435 MB / 2.867 GB, free: 29.43 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/7.702, allocations: 59.97 kB / 2.867 GB, free: 29.36 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003781/7.706, allocations: 2.798 MB / 2.87 GB, free: 26.54 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.349e-05/7.706, allocations: 33.7 kB / 2.87 GB, free: 26.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006351/7.707, allocations: 0.8857 MB / 2.871 GB, free: 25.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/7.707, allocations: 212.9 kB / 2.871 GB, free: 25.39 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/7.707, allocations: 4 kB / 2.871 GB, free: 25.39 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000108/7.707, allocations: 337.9 kB / 2.871 GB, free: 25.05 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003229/7.708, allocations: 225.5 kB / 2.871 GB, free: 24.83 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003796/7.708, allocations: 359.5 kB / 2.872 GB, free: 24.43 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004046/7.708, allocations: 271.8 kB / 2.872 GB, free: 24.17 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/7.708, allocations: 0 / 2.872 GB, free: 24.17 MB / 0.6823 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001637/7.71, allocations: 1.033 MB / 2.873 GB, free: 23.12 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/7.71, allocations: 7.953 kB / 2.873 GB, free: 23.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/7.71, allocations: 4 kB / 2.873 GB, free: 23.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007065/7.711, allocations: 267.7 kB / 2.873 GB, free: 22.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000464/7.711, allocations: 139.8 kB / 2.873 GB, free: 22.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004143/7.715, allocations: 4.474 MB / 2.878 GB, free: 18.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008203/7.716, allocations: 107.4 kB / 2.878 GB, free: 17.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.282e-05/7.716, allocations: 27.94 kB / 2.878 GB, free: 17.88 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition7,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y_last,mean.y_last,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 19,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002003/7.717, allocations: 133.6 kB / 2.878 GB, free: 17.74 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001512/7.718, allocations: 0.9546 MB / 2.879 GB, free: 16.77 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002377/7.718, allocations: 213.4 kB / 2.879 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002076/7.72, allocations: 1.046 MB / 2.88 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/7.72, allocations: 12 kB / 2.88 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/7.72, allocations: 4 kB / 2.88 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/7.72, allocations: 3.984 kB / 2.88 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005042/7.726, allocations: 2.611 MB / 2.883 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/7.726, allocations: 0 / 2.883 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003189/7.726, allocations: 79.89 kB / 2.883 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006005/7.726, allocations: 265.5 kB / 2.883 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.595e-05/7.727, allocations: 7.984 kB / 2.883 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00434/7.731, allocations: 4.461 MB / 2.887 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/7.731, allocations: 3.984 kB / 2.887 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002604/7.734, allocations: 1.429 MB / 2.889 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009036/7.734, allocations: 490.2 kB / 2.889 GB, free: 5.809 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002009/7.735, allocations: 15.94 kB / 2.889 GB, free: 5.793 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005298/7.735, allocations: 59.89 kB / 2.889 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001948/7.735, allocations: 72.66 kB / 2.889 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.64e-05/7.735, allocations: 23.98 kB / 2.889 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00297/7.738, allocations: 2.204 MB / 2.892 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.51e-07/7.738, allocations: 0 / 2.892 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001757/7.74, allocations: 424.2 kB / 2.892 GB, free: 3.004 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 19,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005245/7.745, allocations: 2.87 MB / 2.895 GB, free: 208 kB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.5216/8.267, allocations: 0.9156 MB / 2.896 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/8.267, allocations: 1.094 kB / 2.896 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001111/8.268, allocations: 0.6358 MB / 2.896 GB, free: 210 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/8.27, allocations: 237.6 kB / 2.897 GB, free: 210 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009777/8.28, allocations: 3.99 MB / 2.9 GB, free: 209.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002272/8.282, allocations: 1.575 MB / 2.902 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009961/8.283, allocations: 244.8 kB / 2.902 GB, free: 208.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009076/8.284, allocations: 0.7427 MB / 2.903 GB, free: 208.5 MB / 0.6823 GB Notification: Performance of SimCode: time 5.01e-07/8.284, allocations: 0 / 2.903 GB, free: 208.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07778/8.362, allocations: 37.6 MB / 2.94 GB, free: 206.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/8.362, allocations: 169 kB / 2.94 GB, free: 206.5 MB / 0.6823 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.o IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c In file included from IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:9: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:54: include/fmi2/fmu2_model_interface.c:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ include/fmi2/fmu2_model_interface.c:162:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ include/util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:744:82: warning: missing terminating '"' character [-Winvalid-pp-token] comp->fmuData->modelData->stringParameterData[0].attribute.start = mmc_mk_scon("Inputs differ by more than threShold. ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:744:82: error: expected expression IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:745:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1466:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1480:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1496:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1506:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1517:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1553:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1590:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1606:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1623:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1632:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1639:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1649:1: error: expected '}' ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. make: *** [: IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.o] Error 1