Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.214/2.214, allocations: 390.5 MB / 398 MB, free: 10.94 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 180.9 kB / 491.2 MB, free: 1.582 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 221.5 MB / 0.7868 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009044/0.0009044, allocations: 91.52 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.883e-05/1.884e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3817, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.951/7.333, allocations: 2.188 GB / 3.401 GB, free: 112 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/7.333, allocations: 97.59 kB / 3.401 GB, free: 111.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1223/7.455, allocations: 64.28 MB / 3.464 GB, free: 47.08 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.795e-06/7.456, allocations: 0 / 3.464 GB, free: 47.08 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.926e-05/7.456, allocations: 27.94 kB / 3.464 GB, free: 47.05 MB / 1.151 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.001746/7.457, allocations: 1.226 MB / 3.465 GB, free: 45.78 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/7.457, allocations: 12.03 kB / 3.465 GB, free: 45.77 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/7.458, allocations: 134.3 kB / 3.465 GB, free: 45.64 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002763/7.46, allocations: 1.463 MB / 3.466 GB, free: 44.12 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/7.461, allocations: 66.94 kB / 3.467 GB, free: 44.05 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.769e-05/7.461, allocations: 35.91 kB / 3.467 GB, free: 44.01 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005557/7.461, allocations: 310.5 kB / 3.467 GB, free: 43.71 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006223/7.462, allocations: 425.1 kB / 3.467 GB, free: 43.28 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/7.462, allocations: 0 / 3.467 GB, free: 43.28 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.798e-05/7.462, allocations: 3.984 kB / 3.467 GB, free: 43.28 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/7.462, allocations: 12 kB / 3.467 GB, free: 43.27 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003018/7.465, allocations: 2.562 MB / 3.47 GB, free: 40.52 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005612/7.465, allocations: 359.8 kB / 3.47 GB, free: 40.15 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000405/7.466, allocations: 259.4 kB / 3.47 GB, free: 39.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/7.466, allocations: 8.328 kB / 3.47 GB, free: 39.89 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003291/7.466, allocations: 235.8 kB / 3.471 GB, free: 39.65 MB / 1.151 GB Notification: Performance of pre-optimization done (n=44): time 2.695e-06/7.466, allocations: 0 / 3.471 GB, free: 39.65 MB / 1.151 GB Notification: Performance of matching and sorting (n=44): time 0.0009601/7.467, allocations: 0.56 MB / 3.471 GB, free: 39.07 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/7.467, allocations: 59.39 kB / 3.471 GB, free: 39 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/7.469, allocations: 1.463 MB / 3.473 GB, free: 37.53 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/7.469, allocations: 29.7 kB / 3.473 GB, free: 37.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003208/7.47, allocations: 0.5136 MB / 3.473 GB, free: 36.98 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.801e-05/7.47, allocations: 138 kB / 3.473 GB, free: 36.84 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/7.47, allocations: 4 kB / 3.473 GB, free: 36.84 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.321e-05/7.47, allocations: 326 kB / 3.474 GB, free: 36.51 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/7.47, allocations: 153.1 kB / 3.474 GB, free: 36.36 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/7.47, allocations: 270.1 kB / 3.474 GB, free: 36.05 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/7.47, allocations: 181.7 kB / 3.474 GB, free: 35.88 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/7.47, allocations: 0 / 3.474 GB, free: 35.88 MB / 1.151 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008732/7.471, allocations: 0.6538 MB / 3.475 GB, free: 35.21 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/7.471, allocations: 8 kB / 3.475 GB, free: 35.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/7.471, allocations: 3.984 kB / 3.475 GB, free: 35.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000369/7.472, allocations: 137 kB / 3.475 GB, free: 35.06 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003698/7.472, allocations: 111.9 kB / 3.475 GB, free: 34.95 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002134/7.474, allocations: 2.243 MB / 3.477 GB, free: 32.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004733/7.475, allocations: 83.55 kB / 3.477 GB, free: 32.52 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.525e-05/7.475, allocations: 20 kB / 3.477 GB, free: 32.5 MB / 1.151 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.0001367/7.475, allocations: 130.6 kB / 3.477 GB, free: 32.36 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000824/7.476, allocations: 0.5561 MB / 3.478 GB, free: 31.79 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/7.476, allocations: 118.5 kB / 3.478 GB, free: 31.68 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/7.477, allocations: 0.6188 MB / 3.479 GB, free: 31.04 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/7.477, allocations: 4 kB / 3.479 GB, free: 31.03 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/7.477, allocations: 4 kB / 3.479 GB, free: 31.03 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/7.477, allocations: 7.984 kB / 3.479 GB, free: 31.02 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002021/7.479, allocations: 1.553 MB / 3.48 GB, free: 29.42 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/7.479, allocations: 7.938 kB / 3.48 GB, free: 29.41 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/7.479, allocations: 51.91 kB / 3.48 GB, free: 29.36 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003347/7.48, allocations: 160.6 kB / 3.48 GB, free: 29.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.151e-05/7.48, allocations: 15.94 kB / 3.481 GB, free: 29.18 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002437/7.482, allocations: 3.519 MB / 3.484 GB, free: 25.43 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/7.482, allocations: 0 / 3.484 GB, free: 25.43 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/7.483, allocations: 0.862 MB / 3.485 GB, free: 24.55 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003489/7.484, allocations: 295.6 kB / 3.485 GB, free: 24.24 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/7.484, allocations: 11.95 kB / 3.485 GB, free: 24.23 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003354/7.484, allocations: 35.97 kB / 3.485 GB, free: 24.19 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/7.484, allocations: 55.91 kB / 3.485 GB, free: 24.14 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.263e-05/7.484, allocations: 23.98 kB / 3.485 GB, free: 24.11 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001177/7.485, allocations: 1.151 MB / 3.486 GB, free: 22.96 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/7.485, allocations: 0 / 3.486 GB, free: 22.96 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.000961/7.486, allocations: 291.5 kB / 3.487 GB, free: 22.67 MB / 1.151 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.002711/7.489, allocations: 2.295 MB / 3.489 GB, free: 20.46 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009937/7.49, allocations: 0.5642 MB / 3.489 GB, free: 19.88 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/7.49, allocations: 0.875 kB / 3.489 GB, free: 19.88 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005215/7.491, allocations: 478.8 kB / 3.49 GB, free: 19.39 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008762/7.492, allocations: 172.8 kB / 3.49 GB, free: 19.23 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003331/7.495, allocations: 2.237 MB / 3.492 GB, free: 16.95 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005537/7.495, allocations: 1.173 MB / 3.493 GB, free: 15.74 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003313/7.496, allocations: 148.6 kB / 3.493 GB, free: 15.59 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004145/7.496, allocations: 399.3 kB / 3.494 GB, free: 15.2 MB / 1.151 GB Notification: Performance of SimCode: time 8.12e-07/7.496, allocations: 0 / 3.494 GB, free: 15.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.877/8.373, allocations: 24.4 MB / 3.518 GB, free: 378.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002359/8.374, allocations: 193.3 kB / 3.518 GB, free: 378.5 MB / 1.151 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=Buildings_latest_Buildings_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 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c In file included from Buildings_latest_Buildings_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 Buildings_latest_Buildings_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); ^ Buildings_latest_Buildings_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. ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:441:82: error: expected expression Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:442:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:851:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_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) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:881:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_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) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:902:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_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) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:955:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_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) { ^ Buildings_latest_Buildings_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){ ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:989:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:996:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:1006:1: error: expected '}' ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. make: *** [: Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.o] Error 1