Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,fileNamePrefix="Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.237/2.237, allocations: 248.7 MB / 256.2 MB, free: 7.051 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001505/0.001504, allocations: 172.3 kB / 315.4 MB, free: 4.027 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.176/2.176, allocations: 205.3 MB / 0.5662 GB, free: 0.543 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 96.25 kB / 0.6704 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.857e-05/2.856e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.205, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.094/8.299, allocations: 2.466 GB / 3.35 GB, free: 213 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003333/8.299, allocations: 100.7 kB / 3.35 GB, free: 212.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2391/8.538, allocations: 70.97 MB / 3.42 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.703e-06/8.538, allocations: 0 / 3.42 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001968/8.538, allocations: 47.92 kB / 3.42 GB, free: 151.2 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.0036/8.542, allocations: 1.777 MB / 3.422 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/8.542, allocations: 8.031 kB / 3.422 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005245/8.543, allocations: 233.5 kB / 3.422 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006056/8.549, allocations: 1.839 MB / 3.424 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001776/8.549, allocations: 67 kB / 3.424 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/8.549, allocations: 47.92 kB / 3.424 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001272/8.55, allocations: 482.5 kB / 3.424 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/8.552, allocations: 0.5743 MB / 3.425 GB, free: 146 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.065e-05/8.552, allocations: 0 / 3.425 GB, free: 146 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.591e-05/8.552, allocations: 0 / 3.425 GB, free: 146 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/8.552, allocations: 23.98 kB / 3.425 GB, free: 146 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006368/8.558, allocations: 3.397 MB / 3.428 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/8.56, allocations: 0.6691 MB / 3.429 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007357/8.561, allocations: 341.3 kB / 3.429 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.961e-05/8.561, allocations: 4.562 kB / 3.429 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000752/8.562, allocations: 357.8 kB / 3.429 GB, free: 141 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=67): time 3.707e-06/8.562, allocations: 4 kB / 3.429 GB, free: 141 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67): time 0.002582/8.564, allocations: 0.9435 MB / 3.43 GB, free: 140 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/8.564, allocations: 59.95 kB / 3.43 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006106/8.57, allocations: 2.79 MB / 3.433 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001537/8.571, allocations: 33.7 kB / 3.433 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009039/8.572, allocations: 0.8895 MB / 3.434 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002249/8.572, allocations: 197.1 kB / 3.434 GB, free: 136 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/8.572, allocations: 3.938 kB / 3.434 GB, free: 136 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.646e-05/8.572, allocations: 341.9 kB / 3.435 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005215/8.573, allocations: 221.5 kB / 3.435 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005732/8.573, allocations: 339.5 kB / 3.435 GB, free: 135 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006118/8.574, allocations: 268.5 kB / 3.435 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/8.574, allocations: 4 kB / 3.435 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002629/8.576, allocations: 1.021 MB / 3.436 GB, free: 133.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/8.576, allocations: 4 kB / 3.436 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/8.576, allocations: 4 kB / 3.436 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/8.578, allocations: 271.7 kB / 3.437 GB, free: 133.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007358/8.578, allocations: 123.8 kB / 3.437 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006124/8.584, allocations: 4.471 MB / 3.441 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/8.586, allocations: 75.5 kB / 3.441 GB, free: 128.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.307e-05/8.586, allocations: 31.98 kB / 3.441 GB, free: 128.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition7,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$PRE.tableSolRadWindow.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,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 19,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000214/8.586, allocations: 132.1 kB / 3.441 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002355/8.588, allocations: 0.9431 MB / 3.442 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003804/8.589, allocations: 221.3 kB / 3.442 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002776/8.592, allocations: 1.046 MB / 3.443 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/8.592, allocations: 8 kB / 3.443 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/8.592, allocations: 4 kB / 3.443 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/8.592, allocations: 7.984 kB / 3.443 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005595/8.597, allocations: 2.461 MB / 3.446 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/8.597, allocations: 0 / 3.446 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005354/8.598, allocations: 71.91 kB / 3.446 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001044/8.599, allocations: 261.5 kB / 3.446 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.245e-05/8.599, allocations: 15.92 kB / 3.446 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00601/8.605, allocations: 4.461 MB / 3.451 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/8.605, allocations: 3.938 kB / 3.451 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00339/8.609, allocations: 1.414 MB / 3.452 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/8.61, allocations: 498.2 kB / 3.452 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002951/8.61, allocations: 12 kB / 3.452 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008908/8.611, allocations: 55.89 kB / 3.452 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002683/8.611, allocations: 72.66 kB / 3.453 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.89e-05/8.611, allocations: 27.94 kB / 3.453 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003768/8.615, allocations: 2.204 MB / 3.455 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.573e-06/8.615, allocations: 0 / 3.455 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002075/8.617, allocations: 419.4 kB / 3.455 GB, free: 113.9 MB / 0.8698 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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 {(3,100.0%) 19,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005325/8.623, allocations: 2.851 MB / 3.458 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002188/8.625, allocations: 0.9097 MB / 3.459 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/8.625, allocations: 3.938 kB / 3.459 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00131/8.626, allocations: 0.6341 MB / 3.459 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002248/8.629, allocations: 235.5 kB / 3.46 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00919/8.638, allocations: 3.924 MB / 3.463 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001478/8.639, allocations: 1.571 MB / 3.465 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0009916/8.64, allocations: 257.7 kB / 3.465 GB, free: 103.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001397/8.642, allocations: 0.7447 MB / 3.466 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.363e-06/8.642, allocations: 0 / 3.466 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1098/8.752, allocations: 37.23 MB / 3.502 GB, free: 65.53 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003115/8.752, allocations: 201 kB / 3.503 GB, free: 65.33 MB / 0.8698 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_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.o Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c In file included from Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_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_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_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_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:739: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_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:739:82: error: expected expression Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:740:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1456:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1470:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1486:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1496:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1507:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1542:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1578:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1594:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1611:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1620:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1627:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1637:1: error: expected '}' ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. : recipe for target 'Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.o' failed make: *** [Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.o] Error 1