Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.541/2.541, allocations: 284.9 MB / 292.4 MB, free: 10.53 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001546/0.001545, allocations: 176.9 kB / 360.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.096/2.096, allocations: 205.3 MB / 0.6191 GB, free: 12.19 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001246/0.001245, allocations: 94.44 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.017e-05/3.029e-05, allocations: 4 kB / 0.8508 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8608/0.8608, allocations: 115.3 MB / 0.9634 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.212/8.073, allocations: 2.346 GB / 3.31 GB, free: 134 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003364/8.074, allocations: 93.38 kB / 3.31 GB, free: 133.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2137/8.288, allocations: 62.86 MB / 3.371 GB, free: 78.62 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.314e-06/8.288, allocations: 0 / 3.371 GB, free: 78.62 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001284/8.288, allocations: 20 kB / 3.371 GB, free: 78.6 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002781/8.291, allocations: 1.19 MB / 3.372 GB, free: 77.37 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/8.291, allocations: 8.031 kB / 3.372 GB, free: 77.36 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004334/8.291, allocations: 138.3 kB / 3.373 GB, free: 77.22 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005294/8.296, allocations: 1.44 MB / 3.374 GB, free: 75.73 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000189/8.297, allocations: 59 kB / 3.374 GB, free: 75.66 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/8.297, allocations: 32 kB / 3.374 GB, free: 75.63 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009205/8.298, allocations: 306.5 kB / 3.374 GB, free: 75.34 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009571/8.299, allocations: 418.9 kB / 3.375 GB, free: 74.91 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/8.299, allocations: 7.938 kB / 3.375 GB, free: 74.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-05/8.299, allocations: 4 kB / 3.375 GB, free: 74.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/8.299, allocations: 8 kB / 3.375 GB, free: 74.89 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004874/8.304, allocations: 2.47 MB / 3.377 GB, free: 72.23 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/8.305, allocations: 428 kB / 3.378 GB, free: 71.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005659/8.306, allocations: 235.1 kB / 3.378 GB, free: 71.57 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.67e-05/8.306, allocations: 4 kB / 3.378 GB, free: 71.56 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000567/8.306, allocations: 239.1 kB / 3.378 GB, free: 71.32 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 3.988e-06/8.306, allocations: 0 / 3.378 GB, free: 71.32 MB / 0.948 GB Notification: Performance of matching and sorting (n=43): time 0.001802/8.308, allocations: 0.5834 MB / 3.379 GB, free: 70.72 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/8.308, allocations: 63.34 kB / 3.379 GB, free: 70.64 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003469/8.312, allocations: 1.45 MB / 3.38 GB, free: 69.18 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001297/8.312, allocations: 29.69 kB / 3.38 GB, free: 69.15 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005138/8.312, allocations: 0.5136 MB / 3.381 GB, free: 68.63 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/8.312, allocations: 130 kB / 3.381 GB, free: 68.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/8.313, allocations: 0 / 3.381 GB, free: 68.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.367e-05/8.313, allocations: 334 kB / 3.381 GB, free: 68.17 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003576/8.313, allocations: 142.3 kB / 3.381 GB, free: 68.03 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003929/8.313, allocations: 241.3 kB / 3.381 GB, free: 67.76 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004159/8.314, allocations: 173.2 kB / 3.382 GB, free: 67.59 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/8.314, allocations: 3.953 kB / 3.382 GB, free: 67.59 MB / 0.948 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001808/8.316, allocations: 0.6608 MB / 3.382 GB, free: 66.92 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/8.316, allocations: 4 kB / 3.382 GB, free: 66.91 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/8.316, allocations: 4 kB / 3.382 GB, free: 66.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007087/8.316, allocations: 152.7 kB / 3.382 GB, free: 66.76 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005409/8.317, allocations: 88.02 kB / 3.383 GB, free: 66.67 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003911/8.321, allocations: 2.495 MB / 3.385 GB, free: 64.07 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009356/8.322, allocations: 63.55 kB / 3.385 GB, free: 64.01 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.197e-05/8.322, allocations: 24.06 kB / 3.385 GB, free: 63.98 MB / 0.948 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,mean.y,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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.0002029/8.322, allocations: 130.3 kB / 3.385 GB, free: 63.85 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001518/8.324, allocations: 0.585 MB / 3.386 GB, free: 63.25 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000219/8.324, allocations: 122.5 kB / 3.386 GB, free: 63.13 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001781/8.326, allocations: 0.6421 MB / 3.386 GB, free: 62.47 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/8.326, allocations: 7.984 kB / 3.386 GB, free: 62.46 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/8.326, allocations: 0 / 3.386 GB, free: 62.46 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/8.326, allocations: 7.984 kB / 3.386 GB, free: 62.45 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003526/8.329, allocations: 1.494 MB / 3.388 GB, free: 60.91 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/8.329, allocations: 0 / 3.388 GB, free: 60.91 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004144/8.33, allocations: 47.97 kB / 3.388 GB, free: 60.86 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007209/8.331, allocations: 183.3 kB / 3.388 GB, free: 60.68 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.825e-05/8.331, allocations: 3.984 kB / 3.388 GB, free: 60.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004933/8.336, allocations: 3.804 MB / 3.392 GB, free: 56.64 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-06/8.336, allocations: 0 / 3.392 GB, free: 56.64 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002275/8.338, allocations: 0.908 MB / 3.393 GB, free: 55.71 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000798/8.339, allocations: 295.6 kB / 3.393 GB, free: 55.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/8.339, allocations: 15.95 kB / 3.393 GB, free: 55.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006287/8.34, allocations: 39.95 kB / 3.393 GB, free: 55.35 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002193/8.34, allocations: 55.91 kB / 3.393 GB, free: 55.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.733e-05/8.34, allocations: 12 kB / 3.393 GB, free: 55.28 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002066/8.342, allocations: 1.143 MB / 3.394 GB, free: 54.13 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.82e-07/8.342, allocations: 0 / 3.394 GB, free: 54.13 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001691/8.344, allocations: 287.5 kB / 3.395 GB, free: 53.85 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,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) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * 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.004499/8.348, allocations: 2.327 MB / 3.397 GB, free: 51.63 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00173/8.35, allocations: 0.5593 MB / 3.397 GB, free: 51.07 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/8.35, allocations: 0 / 3.397 GB, free: 51.07 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00111/8.351, allocations: 0.4956 MB / 3.398 GB, free: 50.55 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001669/8.353, allocations: 174.2 kB / 3.398 GB, free: 50.38 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006178/8.359, allocations: 2.222 MB / 3.4 GB, free: 48.11 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008732/8.36, allocations: 1.173 MB / 3.401 GB, free: 46.91 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006285/8.361, allocations: 135.3 kB / 3.401 GB, free: 46.78 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006841/8.361, allocations: 410.3 kB / 3.402 GB, free: 46.38 MB / 0.948 GB Notification: Performance of SimCode: time 1.383e-06/8.361, allocations: 0 / 3.402 GB, free: 46.38 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08805/8.45, allocations: 24.22 MB / 3.426 GB, free: 22.25 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002808/8.45, allocations: 181.7 kB / 3.426 GB, free: 22.06 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_0_0_Buildings_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 Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.o Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c In file included from Buildings_8_0_0_Buildings_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 Buildings_8_0_0_Buildings_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); ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:434: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_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:434:82: error: expected expression Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:435:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:837:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:851:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:867:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:877:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:888:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:913:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:939:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:951:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:964:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:973:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:980:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:990:1: error: expected '}' ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. : recipe for target 'Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.o' failed make: *** [Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.o] Error 1