Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,fileNamePrefix="Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,fileNamePrefix="Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.44/1.44, allocations: 249.5 MB / 257 MB, free: 7.023 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.001043/0.001043, allocations: 171.6 kB / 316.3 MB, free: 3.316 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.733/1.733, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009661/0.0009661, allocations: 90.31 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.02e-05/2.022e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2601, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.552/7.812, allocations: 2.467 GB / 3.352 GB, free: 286.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/7.812, allocations: 97.11 kB / 3.352 GB, free: 286.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1283/7.94, allocations: 66.34 MB / 3.417 GB, free: 219.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.443e-06/7.941, allocations: 4 kB / 3.417 GB, free: 219.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000183/7.941, allocations: 27.94 kB / 3.417 GB, free: 219.7 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002829/7.944, allocations: 1.365 MB / 3.418 GB, free: 218.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/7.944, allocations: 12.03 kB / 3.418 GB, free: 218.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005661/7.944, allocations: 158 kB / 3.418 GB, free: 218.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003598/7.948, allocations: 1.548 MB / 3.42 GB, free: 216.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/7.948, allocations: 66.94 kB / 3.42 GB, free: 216.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/7.948, allocations: 36 kB / 3.42 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006601/7.949, allocations: 342.5 kB / 3.42 GB, free: 216.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007346/7.949, allocations: 461 kB / 3.421 GB, free: 215.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/7.95, allocations: 4 kB / 3.421 GB, free: 215.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.158e-05/7.95, allocations: 0 / 3.421 GB, free: 215.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/7.95, allocations: 12 kB / 3.421 GB, free: 215.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00402/7.954, allocations: 2.858 MB / 3.423 GB, free: 212.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006292/7.954, allocations: 400.3 kB / 3.424 GB, free: 212.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000371/7.955, allocations: 261.5 kB / 3.424 GB, free: 211.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.919e-05/7.955, allocations: 12.36 kB / 3.424 GB, free: 211.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004244/7.955, allocations: 272.3 kB / 3.424 GB, free: 211.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=52): time 2.745e-06/7.955, allocations: 0 / 3.424 GB, free: 211.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=52): time 0.001253/7.956, allocations: 0.6677 MB / 3.425 GB, free: 210.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/7.956, allocations: 67.8 kB / 3.425 GB, free: 210.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002876/7.959, allocations: 1.76 MB / 3.427 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.773e-05/7.959, allocations: 33.7 kB / 3.427 GB, free: 209 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004196/7.96, allocations: 0.593 MB / 3.427 GB, free: 208.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/7.96, allocations: 157.8 kB / 3.428 GB, free: 208.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/7.96, allocations: 4 kB / 3.428 GB, free: 208.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.917e-05/7.96, allocations: 330 kB / 3.428 GB, free: 208 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/7.96, allocations: 165.5 kB / 3.428 GB, free: 207.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002863/7.961, allocations: 269.7 kB / 3.428 GB, free: 207.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/7.961, allocations: 193.5 kB / 3.428 GB, free: 207.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/7.961, allocations: 0 / 3.428 GB, free: 207.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001157/7.962, allocations: 0.7347 MB / 3.429 GB, free: 206.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/7.962, allocations: 12.06 kB / 3.429 GB, free: 206.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/7.962, allocations: 4.547 kB / 3.429 GB, free: 206.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004462/7.963, allocations: 156.7 kB / 3.429 GB, free: 206.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004185/7.963, allocations: 115.8 kB / 3.429 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00267/7.966, allocations: 2.54 MB / 3.432 GB, free: 203.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006649/7.966, allocations: 95.38 kB / 3.432 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-05/7.966, allocations: 24 kB / 3.432 GB, free: 203.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition6,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$PRE.setTemp.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,setTemp.nextTimeEvent,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001625/7.967, allocations: 131 kB / 3.432 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001144/7.968, allocations: 0.6599 MB / 3.433 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002335/7.968, allocations: 142.3 kB / 3.433 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/7.969, allocations: 0.7328 MB / 3.434 GB, free: 201.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/7.969, allocations: 8 kB / 3.434 GB, free: 201.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/7.969, allocations: 4 kB / 3.434 GB, free: 201.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/7.969, allocations: 0 / 3.434 GB, free: 201.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002939/7.972, allocations: 1.828 MB / 3.435 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/7.972, allocations: 0 / 3.435 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/7.973, allocations: 63.91 kB / 3.436 GB, free: 199.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003925/7.973, allocations: 173.6 kB / 3.436 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/7.973, allocations: 11.98 kB / 3.436 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003027/7.976, allocations: 3.868 MB / 3.439 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/7.976, allocations: 0 / 3.439 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/7.978, allocations: 1.013 MB / 3.44 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005416/7.978, allocations: 343.3 kB / 3.441 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002008/7.978, allocations: 12 kB / 3.441 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004546/7.979, allocations: 47.84 kB / 3.441 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/7.979, allocations: 64.45 kB / 3.441 GB, free: 194 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-05/7.979, allocations: 19.98 kB / 3.441 GB, free: 194 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001804/7.981, allocations: 1.391 MB / 3.442 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.91e-07/7.981, allocations: 0 / 3.442 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001175/7.982, allocations: 319.5 kB / 3.443 GB, free: 192.3 MB / 0.8698 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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%) 14,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003086/7.985, allocations: 2.44 MB / 3.445 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001104/7.986, allocations: 0.6362 MB / 3.446 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/7.986, allocations: 0 / 3.446 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006431/7.987, allocations: 0.5051 MB / 3.446 GB, free: 188.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/7.988, allocations: 187.9 kB / 3.446 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004985/7.993, allocations: 2.681 MB / 3.449 GB, free: 185.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008455/7.994, allocations: 1.282 MB / 3.45 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004591/7.994, allocations: 164.9 kB / 3.45 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006027/7.995, allocations: 491.3 kB / 3.451 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.232e-06/7.995, allocations: 0 / 3.451 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05963/8.055, allocations: 27.67 MB / 3.478 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/8.055, allocations: 201.3 kB / 3.478 GB, free: 156.1 MB / 0.8698 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_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6 -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_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.o Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c In file included from Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_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_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_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_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:512: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_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:512:82: error: expected expression Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:513:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:997:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1011:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1027:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1037:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1048:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1077:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1107:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1121:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1136:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1145:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1152:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1162:1: error: expected '}' ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. make: *** [: Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.o] Error 1