Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",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.001261/0.001261, allocations: 176 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.578/0.578, allocations: 90.91 MB / 99.34 MB, free: 2.195 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.607/1.607, allocations: 221.5 MB / 343.2 MB, free: 1.578 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.001102/0.001101, allocations: 103.8 kB / 415.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.785e-05/1.789e-05, allocations: 0 / 494.6 MB, free: 52.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.172, allocations: 72.3 MB / 0.5536 GB, free: 12.22 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.148/6.32, allocations: 2.141 GB / 2.695 GB, free: 175.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/6.32, allocations: 92.22 kB / 2.695 GB, free: 175.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1273/6.447, allocations: 64.27 MB / 2.757 GB, free: 162.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.293e-06/6.447, allocations: 0 / 2.757 GB, free: 162.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.405e-05/6.448, allocations: 23.19 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.001635/6.449, allocations: 1.23 MB / 2.759 GB, free: 161.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/6.449, allocations: 11.72 kB / 2.759 GB, free: 161.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/6.449, allocations: 140.8 kB / 2.759 GB, free: 161.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002661/6.452, allocations: 1.45 MB / 2.76 GB, free: 160.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/6.452, allocations: 62.34 kB / 2.76 GB, free: 160.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.549e-05/6.452, allocations: 31.25 kB / 2.76 GB, free: 160.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004974/6.453, allocations: 312.7 kB / 2.761 GB, free: 160.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005762/6.453, allocations: 415.8 kB / 2.761 GB, free: 159.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/6.453, allocations: 7.906 kB / 2.761 GB, free: 159.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.644e-05/6.453, allocations: 4 kB / 2.761 GB, free: 159.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/6.453, allocations: 11.62 kB / 2.761 GB, free: 159.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002811/6.456, allocations: 2.632 MB / 2.764 GB, free: 157.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005397/6.457, allocations: 359.1 kB / 2.764 GB, free: 157.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/6.457, allocations: 242.4 kB / 2.764 GB, free: 157.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/6.457, allocations: 8.25 kB / 2.764 GB, free: 157.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003281/6.458, allocations: 246.8 kB / 2.764 GB, free: 157.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=45): time 2.284e-06/6.458, allocations: 0 / 2.764 GB, free: 157.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45): time 0.000917/6.458, allocations: 0.5918 MB / 2.765 GB, free: 157 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/6.458, allocations: 59.22 kB / 2.765 GB, free: 156.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/6.46, allocations: 1.448 MB / 2.766 GB, free: 156.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/6.46, allocations: 34.06 kB / 2.766 GB, free: 156.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002879/6.461, allocations: 0.5137 MB / 2.767 GB, free: 155.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.528e-05/6.461, allocations: 142 kB / 2.767 GB, free: 155.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/6.461, allocations: 0 / 2.767 GB, free: 155.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.299e-05/6.461, allocations: 333.1 kB / 2.767 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/6.461, allocations: 149.1 kB / 2.768 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/6.461, allocations: 251.9 kB / 2.768 GB, free: 155.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/6.462, allocations: 180.6 kB / 2.768 GB, free: 155 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/6.462, allocations: 0 / 2.768 GB, free: 155 MB / 0.6042 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009303/6.463, allocations: 0.6668 MB / 2.769 GB, free: 154.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/6.463, allocations: 11.75 kB / 2.769 GB, free: 154.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/6.463, allocations: 3.75 kB / 2.769 GB, free: 154.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004104/6.463, allocations: 149.4 kB / 2.769 GB, free: 154.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003574/6.463, allocations: 112.2 kB / 2.769 GB, free: 154.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/6.466, allocations: 2.515 MB / 2.771 GB, free: 152.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004437/6.466, allocations: 72.02 kB / 2.771 GB, free: 152.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/6.466, allocations: 23.38 kB / 2.771 GB, free: 152.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (50): * Single equations (assignments): 49 * 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%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001223/6.466, allocations: 126.4 kB / 2.772 GB, free: 152.3 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008701/6.467, allocations: 0.5993 MB / 2.772 GB, free: 152 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/6.467, allocations: 115.5 kB / 2.772 GB, free: 151.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/6.468, allocations: 0.6338 MB / 2.773 GB, free: 151.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/6.468, allocations: 11.83 kB / 2.773 GB, free: 151.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/6.469, allocations: 3.938 kB / 2.773 GB, free: 151.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/6.469, allocations: 3.984 kB / 2.773 GB, free: 151.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002243/6.471, allocations: 1.608 MB / 2.774 GB, free: 150.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/6.471, allocations: 0 / 2.774 GB, free: 150.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002266/6.471, allocations: 58.53 kB / 2.775 GB, free: 150.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003696/6.471, allocations: 166.3 kB / 2.775 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.588e-05/6.471, allocations: 11.73 kB / 2.775 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002756/6.474, allocations: 3.805 MB / 2.778 GB, free: 147 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/6.474, allocations: 3.938 kB / 2.778 GB, free: 147 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/6.475, allocations: 0.9141 MB / 2.779 GB, free: 146.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003636/6.476, allocations: 300.7 kB / 2.78 GB, free: 146.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/6.476, allocations: 7.812 kB / 2.78 GB, free: 146.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003599/6.476, allocations: 39.2 kB / 2.78 GB, free: 146.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/6.476, allocations: 55.31 kB / 2.78 GB, free: 146.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/6.476, allocations: 15.47 kB / 2.78 GB, free: 146.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001209/6.478, allocations: 1.146 MB / 2.781 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/6.478, allocations: 0 / 2.781 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009949/6.479, allocations: 294.2 kB / 2.781 GB, free: 145.6 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%) 13,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002782/6.481, allocations: 2.341 MB / 2.783 GB, free: 144.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009168/6.482, allocations: 0.5672 MB / 2.784 GB, free: 143.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/6.482, allocations: 0 / 2.784 GB, free: 143.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005974/6.483, allocations: 0.5023 MB / 2.784 GB, free: 143.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008939/6.484, allocations: 167.8 kB / 2.785 GB, free: 143.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00345/6.487, allocations: 2.262 MB / 2.787 GB, free: 141.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005696/6.488, allocations: 1.177 MB / 2.788 GB, free: 140 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003089/6.488, allocations: 136.5 kB / 2.788 GB, free: 139.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004046/6.489, allocations: 399.3 kB / 2.788 GB, free: 139.5 MB / 0.6042 GB Notification: Performance of SimCode: time 5.11e-07/6.489, allocations: 0 / 2.788 GB, free: 139.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05205/6.541, allocations: 24.6 MB / 2.812 GB, free: 115 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/6.541, allocations: 185.4 kB / 2.813 GB, free: 114.8 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_TestCase2 -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_TestCase2_FMU.o IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c In file included from IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_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_TestCase2_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_TestCase2_FMU.c:439: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_TestCase2_FMU.c:439:82: error: expected expression IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:440:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:847:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:861: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_TestCase2_FMU.c:877:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:887: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_TestCase2_FMU.c:898:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:924: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_TestCase2_FMU.c:951:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:963:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:976: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_TestCase2_FMU.c:985:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:992:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:1002:1: error: expected '}' ^ IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_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_TestCase2_FMU.o] Error 1