Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.TestCase1,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",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.0009309/0.0009307, allocations: 177.6 kB / 8.002 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.5147/0.5147, allocations: 90.91 MB / 99.35 MB, free: 2.176 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.494/1.494, 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.001029/0.001029, allocations: 90.62 kB / 415.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.269e-05/2.284e-05, allocations: 4 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1745, allocations: 72.31 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.354/6.528, allocations: 2.141 GB / 2.695 GB, free: 175.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003981/6.529, allocations: 91.69 kB / 2.695 GB, free: 175.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1497/6.679, allocations: 64.26 MB / 2.757 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.024e-06/6.679, allocations: 0 / 2.757 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001645/6.679, allocations: 27.38 kB / 2.757 GB, free: 162.4 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.002763/6.682, allocations: 1.229 MB / 2.759 GB, free: 161.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/6.682, allocations: 11.62 kB / 2.759 GB, free: 161.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004675/6.682, allocations: 138.7 kB / 2.759 GB, free: 161.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00339/6.686, allocations: 1.455 MB / 2.76 GB, free: 160.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/6.686, allocations: 62.31 kB / 2.76 GB, free: 160.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/6.686, allocations: 27.34 kB / 2.76 GB, free: 160.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000633/6.686, allocations: 311.4 kB / 2.761 GB, free: 160.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007164/6.687, allocations: 426.8 kB / 2.761 GB, free: 160 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/6.687, allocations: 3.219 kB / 2.761 GB, free: 160 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.917e-05/6.687, allocations: 0 / 2.761 GB, free: 160 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/6.687, allocations: 15.78 kB / 2.761 GB, free: 160 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003788/6.691, allocations: 2.567 MB / 2.764 GB, free: 158 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005981/6.692, allocations: 356.8 kB / 2.764 GB, free: 157.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004273/6.692, allocations: 262.6 kB / 2.764 GB, free: 157.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/6.692, allocations: 8.141 kB / 2.764 GB, free: 157.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003639/6.693, allocations: 233.1 kB / 2.764 GB, free: 157.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=44): time 2.604e-06/6.693, allocations: 0 / 2.764 GB, free: 157.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=44): time 0.001078/6.694, allocations: 0.5687 MB / 2.765 GB, free: 157.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/6.694, allocations: 55.31 kB / 2.765 GB, free: 157.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002351/6.696, allocations: 1.465 MB / 2.766 GB, free: 156.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.48e-05/6.696, allocations: 29.58 kB / 2.766 GB, free: 156.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003622/6.697, allocations: 0.5185 MB / 2.767 GB, free: 156 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/6.697, allocations: 137 kB / 2.767 GB, free: 155.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.202e-05/6.697, allocations: 3.938 kB / 2.767 GB, free: 155.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.908e-05/6.697, allocations: 333.8 kB / 2.767 GB, free: 155.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/6.697, allocations: 148.5 kB / 2.767 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/6.697, allocations: 274.3 kB / 2.768 GB, free: 155.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002719/6.698, allocations: 180.3 kB / 2.768 GB, free: 155.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/6.698, allocations: 0 / 2.768 GB, free: 155.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00105/6.699, allocations: 0.6556 MB / 2.769 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/6.699, allocations: 7.625 kB / 2.769 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/6.699, allocations: 3.219 kB / 2.769 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003872/6.699, allocations: 129 kB / 2.769 GB, free: 154.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003754/6.699, allocations: 114.4 kB / 2.769 GB, free: 154.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002289/6.702, allocations: 2.245 MB / 2.771 GB, free: 152.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005539/6.702, allocations: 85.48 kB / 2.771 GB, free: 152.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.433e-05/6.702, allocations: 19.25 kB / 2.771 GB, free: 152.7 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.0001325/6.702, allocations: 126.2 kB / 2.771 GB, free: 152.6 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009363/6.703, allocations: 0.5656 MB / 2.772 GB, free: 152.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/6.704, allocations: 116.6 kB / 2.772 GB, free: 152.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/6.705, allocations: 0.6177 MB / 2.772 GB, free: 151.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.862e-06/6.705, allocations: 3.969 kB / 2.772 GB, free: 151.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/6.705, allocations: 3.438 kB / 2.772 GB, free: 151.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/6.705, allocations: 0 / 2.772 GB, free: 151.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002611/6.707, allocations: 1.567 MB / 2.774 GB, free: 150.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/6.707, allocations: 3.953 kB / 2.774 GB, free: 150.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/6.708, allocations: 50.34 kB / 2.774 GB, free: 150.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004001/6.708, allocations: 156 kB / 2.774 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.017e-05/6.708, allocations: 10.81 kB / 2.774 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00297/6.711, allocations: 3.529 MB / 2.778 GB, free: 147.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/6.711, allocations: 0 / 2.778 GB, free: 147.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/6.712, allocations: 0.8552 MB / 2.779 GB, free: 147.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005253/6.713, allocations: 306.6 kB / 2.779 GB, free: 146.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/6.713, allocations: 7.859 kB / 2.779 GB, free: 146.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003802/6.714, allocations: 45.34 kB / 2.779 GB, free: 146.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/6.714, allocations: 53.5 kB / 2.779 GB, free: 146.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/6.714, allocations: 15.81 kB / 2.779 GB, free: 146.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001578/6.715, allocations: 1.157 MB / 2.78 GB, free: 146.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.71e-07/6.715, allocations: 0 / 2.78 GB, free: 146.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001126/6.716, allocations: 282.6 kB / 2.78 GB, free: 146.2 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.002997/6.719, allocations: 2.295 MB / 2.783 GB, free: 144.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001019/6.721, allocations: 0.5635 MB / 2.783 GB, free: 144.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/6.721, allocations: 0 / 2.783 GB, free: 144.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005668/6.721, allocations: 481.4 kB / 2.784 GB, free: 144.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009056/6.722, allocations: 160.3 kB / 2.784 GB, free: 144 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003877/6.726, allocations: 2.232 MB / 2.786 GB, free: 141.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006945/6.727, allocations: 1.185 MB / 2.787 GB, free: 140.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003893/6.727, allocations: 148.6 kB / 2.787 GB, free: 140.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004443/6.727, allocations: 403.2 kB / 2.788 GB, free: 140.1 MB / 0.6042 GB Notification: Performance of SimCode: time 4.71e-07/6.727, allocations: 0 / 2.788 GB, free: 140.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04756/6.775, allocations: 24.4 MB / 2.811 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001489/6.775, allocations: 177.5 kB / 2.812 GB, free: 115.6 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_TestCase1 -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_TestCase1_FMU.o IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c In file included from IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_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_TestCase1_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_TestCase1_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_TestCase1_FMU.c:441:82: error: expected expression IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_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_TestCase1_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_TestCase1_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_TestCase1_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_TestCase1_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_TestCase1_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_TestCase1_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_TestCase1_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_TestCase1_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_TestCase1_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_TestCase1_FMU.c:989:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:996:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:1006:1: error: expected '}' ^ IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_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_TestCase1_FMU.o] Error 1