Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",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.055/2.055, allocations: 390.5 MB / 398 MB, free: 10.98 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.0009641/0.0009639, allocations: 188.5 kB / 491.2 MB, free: 1.617 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.311/1.311, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.0008801/0.0008801, allocations: 79.98 kB / 0.9269 GB, free: 13.85 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.85e-05/1.852e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2677, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.139/5.407, allocations: 2.188 GB / 3.401 GB, free: 92.52 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/5.407, allocations: 96.47 kB / 3.401 GB, free: 92.46 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1201/5.527, allocations: 64.28 MB / 3.464 GB, free: 31.53 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.943e-06/5.527, allocations: 3.984 kB / 3.464 GB, free: 31.52 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001423/5.527, allocations: 24 kB / 3.464 GB, free: 31.5 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.002294/5.53, allocations: 1.226 MB / 3.465 GB, free: 30.23 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/5.53, allocations: 12.03 kB / 3.465 GB, free: 30.22 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003208/5.53, allocations: 138.2 kB / 3.465 GB, free: 30.08 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002895/5.533, allocations: 1.456 MB / 3.466 GB, free: 28.57 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/5.533, allocations: 59 kB / 3.467 GB, free: 28.51 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.821e-05/5.533, allocations: 39.83 kB / 3.467 GB, free: 28.47 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005299/5.534, allocations: 310.5 kB / 3.467 GB, free: 28.17 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005949/5.534, allocations: 429.1 kB / 3.467 GB, free: 27.73 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/5.534, allocations: 3.984 kB / 3.467 GB, free: 27.73 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.645e-05/5.534, allocations: 0 / 3.467 GB, free: 27.73 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/5.534, allocations: 12 kB / 3.467 GB, free: 27.72 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002989/5.537, allocations: 2.626 MB / 3.47 GB, free: 24.89 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000566/5.538, allocations: 369 kB / 3.47 GB, free: 24.52 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000324/5.538, allocations: 237.4 kB / 3.47 GB, free: 24.29 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/5.538, allocations: 4.328 kB / 3.47 GB, free: 24.29 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000344/5.539, allocations: 245.9 kB / 3.471 GB, free: 24.03 MB / 1.151 GB Notification: Performance of pre-optimization done (n=45): time 2.796e-06/5.539, allocations: 3.938 kB / 3.471 GB, free: 24.03 MB / 1.151 GB Notification: Performance of matching and sorting (n=45): time 0.0009951/5.54, allocations: 0.5842 MB / 3.471 GB, free: 23.43 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/5.54, allocations: 59.41 kB / 3.471 GB, free: 23.36 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001853/5.542, allocations: 1.459 MB / 3.473 GB, free: 21.89 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/5.542, allocations: 29.7 kB / 3.473 GB, free: 21.86 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002928/5.542, allocations: 0.5059 MB / 3.473 GB, free: 21.34 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.543e-05/5.542, allocations: 146.3 kB / 3.473 GB, free: 21.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.143e-05/5.542, allocations: 0 / 3.473 GB, free: 21.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.389e-05/5.542, allocations: 329.9 kB / 3.474 GB, free: 20.87 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/5.542, allocations: 153.1 kB / 3.474 GB, free: 20.72 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/5.543, allocations: 259.8 kB / 3.474 GB, free: 20.43 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002639/5.543, allocations: 178.3 kB / 3.474 GB, free: 20.25 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/5.543, allocations: 0 / 3.474 GB, free: 20.25 MB / 1.151 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009131/5.544, allocations: 0.668 MB / 3.475 GB, free: 19.58 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/5.544, allocations: 8 kB / 3.475 GB, free: 19.57 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/5.544, allocations: 4 kB / 3.475 GB, free: 19.57 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003959/5.544, allocations: 158.4 kB / 3.475 GB, free: 19.41 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003383/5.545, allocations: 99.81 kB / 3.475 GB, free: 19.31 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002292/5.547, allocations: 2.503 MB / 3.478 GB, free: 16.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004346/5.547, allocations: 83.56 kB / 3.478 GB, free: 16.62 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/5.547, allocations: 20 kB / 3.478 GB, free: 16.6 MB / 1.151 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.0001176/5.548, allocations: 122.5 kB / 3.478 GB, free: 16.47 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008631/5.548, allocations: 0.6027 MB / 3.478 GB, free: 15.86 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/5.549, allocations: 118.5 kB / 3.479 GB, free: 15.74 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009918/5.55, allocations: 0.6418 MB / 3.479 GB, free: 15.08 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/5.55, allocations: 4 kB / 3.479 GB, free: 15.07 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/5.55, allocations: 4 kB / 3.479 GB, free: 15.07 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/5.55, allocations: 3.953 kB / 3.479 GB, free: 15.07 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002032/5.552, allocations: 1.607 MB / 3.481 GB, free: 13.41 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/5.552, allocations: 0 / 3.481 GB, free: 13.41 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002484/5.552, allocations: 55.95 kB / 3.481 GB, free: 13.36 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000378/5.552, allocations: 173.5 kB / 3.481 GB, free: 13.18 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.392e-05/5.552, allocations: 11.92 kB / 3.481 GB, free: 13.17 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002708/5.555, allocations: 3.807 MB / 3.485 GB, free: 9.129 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/5.555, allocations: 0 / 3.485 GB, free: 9.129 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/5.556, allocations: 0.9102 MB / 3.486 GB, free: 8.195 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003399/5.557, allocations: 311.4 kB / 3.486 GB, free: 7.871 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/5.557, allocations: 8.219 kB / 3.486 GB, free: 7.863 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003268/5.557, allocations: 39.97 kB / 3.486 GB, free: 7.824 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/5.557, allocations: 52.34 kB / 3.486 GB, free: 7.773 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/5.557, allocations: 23.97 kB / 3.486 GB, free: 7.75 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001111/5.558, allocations: 1.147 MB / 3.487 GB, free: 6.598 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.51e-07/5.558, allocations: 0 / 3.487 GB, free: 6.598 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009412/5.559, allocations: 283.6 kB / 3.487 GB, free: 6.32 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%) 13,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002668/5.562, allocations: 2.331 MB / 3.49 GB, free: 4.07 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009248/5.563, allocations: 0.5778 MB / 3.49 GB, free: 3.484 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/5.563, allocations: 0 / 3.49 GB, free: 3.484 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005755/5.563, allocations: 0.4934 MB / 3.491 GB, free: 2.973 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008757/5.564, allocations: 174.9 kB / 3.491 GB, free: 2.801 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003119/5.568, allocations: 2.25 MB / 3.493 GB, free: 0.5039 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5688/6.136, allocations: 1.171 MB / 3.494 GB, free: 380.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0006336/6.137, allocations: 138.1 kB / 3.494 GB, free: 380.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006893/6.138, allocations: 400.9 kB / 3.495 GB, free: 380.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.392e-06/6.138, allocations: 4.375 kB / 3.495 GB, free: 380.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06642/6.204, allocations: 24.61 MB / 3.519 GB, free: 379.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002343/6.205, allocations: 196.4 kB / 3.519 GB, free: 379.2 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_TestCase4 -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_TestCase4_FMU.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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_TestCase4_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_TestCase4_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. ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:439:82: error: expected expression Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:440:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:847:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:861: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_TestCase4_FMU.c:877:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:887: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_TestCase4_FMU.c:898:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:924: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_TestCase4_FMU.c:951:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:963:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:976: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_TestCase4_FMU.c:985:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:992:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:1002:1: error: expected '}' ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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_TestCase4_FMU.o] Error 1