Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",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.0009973/0.0009973, allocations: 177.2 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5162/0.5162, allocations: 90.92 MB / 99.35 MB, free: 2.191 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.617/1.617, allocations: 221.5 MB / 343.2 MB, free: 1.586 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 95.84 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.465e-05/2.467e-05, allocations: 0 / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1758, allocations: 72.31 MB / 0.5536 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.207/6.383, allocations: 2.141 GB / 2.695 GB, free: 176 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/6.384, allocations: 92.64 kB / 2.695 GB, free: 176 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1306/6.514, allocations: 64.27 MB / 2.757 GB, free: 162.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.944e-06/6.514, allocations: 3.906 kB / 2.757 GB, free: 162.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.442e-05/6.514, allocations: 22.84 kB / 2.757 GB, free: 162.3 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001679/6.516, allocations: 1.235 MB / 2.759 GB, free: 161.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/6.516, allocations: 7.719 kB / 2.759 GB, free: 161.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/6.516, allocations: 136.7 kB / 2.759 GB, free: 161.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002761/6.519, allocations: 1.449 MB / 2.76 GB, free: 160.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/6.519, allocations: 62.25 kB / 2.76 GB, free: 160.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.784e-05/6.519, allocations: 31.44 kB / 2.76 GB, free: 160.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005185/6.52, allocations: 314.8 kB / 2.761 GB, free: 160.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005925/6.52, allocations: 421 kB / 2.761 GB, free: 159.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/6.52, allocations: 3.906 kB / 2.761 GB, free: 159.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.022e-05/6.52, allocations: 7.984 kB / 2.761 GB, free: 159.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/6.52, allocations: 7.812 kB / 2.761 GB, free: 159.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002914/6.523, allocations: 2.571 MB / 2.764 GB, free: 157.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005526/6.524, allocations: 359.9 kB / 2.764 GB, free: 157.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004232/6.524, allocations: 266.2 kB / 2.764 GB, free: 157.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/6.524, allocations: 4.234 kB / 2.764 GB, free: 157.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000379/6.525, allocations: 229.5 kB / 2.764 GB, free: 157.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=44): time 1.954e-06/6.525, allocations: 0 / 2.764 GB, free: 157.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=44): time 0.0009067/6.526, allocations: 0.5689 MB / 2.765 GB, free: 157 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/6.526, allocations: 59.3 kB / 2.765 GB, free: 157 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001852/6.528, allocations: 1.462 MB / 2.766 GB, free: 156.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/6.528, allocations: 29.45 kB / 2.766 GB, free: 156.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003252/6.528, allocations: 0.519 MB / 2.767 GB, free: 155.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.731e-05/6.528, allocations: 136.7 kB / 2.767 GB, free: 155.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.313e-05/6.528, allocations: 4 kB / 2.767 GB, free: 155.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.664e-05/6.528, allocations: 333.6 kB / 2.767 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/6.528, allocations: 146.1 kB / 2.767 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/6.529, allocations: 275.1 kB / 2.768 GB, free: 155.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/6.529, allocations: 181.2 kB / 2.768 GB, free: 155 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/6.529, allocations: 0 / 2.768 GB, free: 155 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.000876/6.53, allocations: 0.6485 MB / 2.769 GB, free: 154.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/6.53, allocations: 11.83 kB / 2.769 GB, free: 154.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/6.53, allocations: 7.125 kB / 2.769 GB, free: 154.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000365/6.53, allocations: 128.8 kB / 2.769 GB, free: 154.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003819/6.531, allocations: 114.9 kB / 2.769 GB, free: 154.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/6.533, allocations: 2.238 MB / 2.771 GB, free: 152.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004671/6.533, allocations: 81.98 kB / 2.771 GB, free: 152.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.834e-05/6.533, allocations: 27.41 kB / 2.771 GB, free: 152.6 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition5,$whenCondition4,$PRE.intGai.nextTimeEvent,$whenCondition3,$PRE.reference.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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001258/6.533, allocations: 130.3 kB / 2.771 GB, free: 152.5 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008367/6.534, allocations: 0.5708 MB / 2.772 GB, free: 152.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/6.534, allocations: 117.1 kB / 2.772 GB, free: 152.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/6.535, allocations: 0.6025 MB / 2.772 GB, free: 151.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/6.536, allocations: 8.312 kB / 2.772 GB, free: 151.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/6.536, allocations: 3.375 kB / 2.772 GB, free: 151.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/6.536, allocations: 3.984 kB / 2.773 GB, free: 151.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002258/6.538, allocations: 1.563 MB / 2.774 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/6.538, allocations: 7.953 kB / 2.774 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/6.538, allocations: 52.84 kB / 2.774 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003473/6.538, allocations: 152.8 kB / 2.774 GB, free: 150.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.244e-05/6.538, allocations: 11.48 kB / 2.774 GB, free: 150.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002493/6.541, allocations: 3.525 MB / 2.778 GB, free: 147.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/6.541, allocations: 0 / 2.778 GB, free: 147.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/6.542, allocations: 0.8668 MB / 2.779 GB, free: 146.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003815/6.543, allocations: 301.3 kB / 2.779 GB, free: 146.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/6.543, allocations: 7.844 kB / 2.779 GB, free: 146.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003359/6.543, allocations: 43.06 kB / 2.779 GB, free: 146.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/6.543, allocations: 51.16 kB / 2.779 GB, free: 146.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.334e-05/6.543, allocations: 23.83 kB / 2.779 GB, free: 146.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001227/6.544, allocations: 1.151 MB / 2.78 GB, free: 146.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/6.544, allocations: 0 / 2.78 GB, free: 146.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001022/6.545, allocations: 288.7 kB / 2.78 GB, free: 146 MB / 0.6042 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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 {(2,100.0%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002768/6.548, allocations: 2.286 MB / 2.783 GB, free: 144.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001023/6.549, allocations: 0.5589 MB / 2.783 GB, free: 144.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/6.549, allocations: 7 kB / 2.783 GB, free: 144.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005162/6.55, allocations: 475.3 kB / 2.784 GB, free: 144 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/6.551, allocations: 171.5 kB / 2.784 GB, free: 143.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005349/6.556, allocations: 2.234 MB / 2.786 GB, free: 141.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008646/6.557, allocations: 1.177 MB / 2.787 GB, free: 140.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005302/6.558, allocations: 152.6 kB / 2.787 GB, free: 140.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006124/6.559, allocations: 399.3 kB / 2.788 GB, free: 140 MB / 0.6042 GB Notification: Performance of SimCode: time 7.61e-07/6.559, allocations: 0 / 2.788 GB, free: 140 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04645/6.605, allocations: 24.39 MB / 2.811 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001629/6.605, allocations: 177.5 kB / 2.812 GB, free: 115.5 MB / 0.6042 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=IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.o IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c In file included from IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_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 IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_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); ^ IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:441:82: warning: missing terminating '"' character [-Winvalid-pp-token] comp->fmuData->modelData->stringParameterData[0].attribute.start = mmc_mk_scon("Inputs differ by more than threShold. ^ IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:441:82: error: expected expression IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:442:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:851:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:865:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:881:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:891:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:902:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:928:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:955:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:967:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:980:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:989:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:996:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:1006:1: error: expected '}' ^ IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. make: *** [: IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.o] Error 1