Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.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.TestCase11,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11",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.118/2.118, allocations: 390.5 MB / 398 MB, free: 10.93 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.001309/0.001309, allocations: 183.9 kB / 491.2 MB, free: 1.551 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.567/1.567, allocations: 221.5 MB / 0.7868 GB, free: 13.24 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.0009472/0.0009473, allocations: 94.14 kB / 0.9269 GB, free: 13.74 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.016e-05/2.01e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2787, allocations: 143 MB / 1.212 GB, free: 39.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.31/5.589, allocations: 2.194 GB / 3.406 GB, free: 117.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000356/5.59, allocations: 91.94 kB / 3.407 GB, free: 117.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1693/5.759, allocations: 74.1 MB / 3.479 GB, free: 42.41 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.884e-06/5.759, allocations: 0 / 3.479 GB, free: 42.41 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003988/5.759, allocations: 47.94 kB / 3.479 GB, free: 42.36 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.005389/5.765, allocations: 1.887 MB / 3.481 GB, free: 40.42 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.456e-05/5.765, allocations: 12.03 kB / 3.481 GB, free: 40.41 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/5.766, allocations: 249 kB / 3.481 GB, free: 40.16 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005514/5.771, allocations: 1.879 MB / 3.483 GB, free: 38.21 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001978/5.772, allocations: 75.69 kB / 3.483 GB, free: 38.13 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003112/5.772, allocations: 48 kB / 3.483 GB, free: 38.09 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001387/5.773, allocations: 0.5272 MB / 3.483 GB, free: 37.56 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/5.775, allocations: 0.7138 MB / 3.484 GB, free: 36.81 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.497e-05/5.775, allocations: 4 kB / 3.484 GB, free: 36.81 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-05/5.775, allocations: 3.984 kB / 3.484 GB, free: 36.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/5.775, allocations: 20 kB / 3.484 GB, free: 36.79 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007593/5.783, allocations: 4.071 MB / 3.488 GB, free: 32.46 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/5.784, allocations: 0.6136 MB / 3.489 GB, free: 31.84 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005312/5.784, allocations: 343.6 kB / 3.489 GB, free: 31.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 6.45e-05/5.784, allocations: 12.78 kB / 3.489 GB, free: 31.49 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000592/5.785, allocations: 364.5 kB / 3.489 GB, free: 31.12 MB / 1.151 GB Notification: Performance of pre-optimization done (n=79): time 5.03e-06/5.785, allocations: 0 / 3.489 GB, free: 31.12 MB / 1.151 GB Notification: Performance of matching and sorting (n=79): time 0.002333/5.787, allocations: 1.014 MB / 3.49 GB, free: 30.09 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.176e-05/5.788, allocations: 137.3 kB / 3.491 GB, free: 29.93 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007011/5.795, allocations: 2.705 MB / 3.493 GB, free: 27.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002871/5.795, allocations: 29.7 kB / 3.493 GB, free: 27.16 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001086/5.796, allocations: 0.9596 MB / 3.494 GB, free: 26.19 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004581/5.796, allocations: 244.4 kB / 3.494 GB, free: 25.95 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.414e-05/5.797, allocations: 0 / 3.494 GB, free: 25.95 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001226/5.797, allocations: 341.9 kB / 3.495 GB, free: 25.61 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004916/5.797, allocations: 238.6 kB / 3.495 GB, free: 25.38 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005368/5.798, allocations: 399.1 kB / 3.495 GB, free: 24.93 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005196/5.798, allocations: 280.4 kB / 3.496 GB, free: 24.66 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/5.798, allocations: 0 / 3.496 GB, free: 24.66 MB / 1.151 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002549/5.801, allocations: 1.096 MB / 3.497 GB, free: 23.55 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/5.801, allocations: 11.98 kB / 3.497 GB, free: 23.54 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/5.801, allocations: 4 kB / 3.497 GB, free: 23.54 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009212/5.802, allocations: 299.3 kB / 3.497 GB, free: 23.24 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005235/5.802, allocations: 139.8 kB / 3.497 GB, free: 23.11 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004903/5.807, allocations: 3.546 MB / 3.501 GB, free: 19.44 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/5.809, allocations: 115.4 kB / 3.501 GB, free: 19.33 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/5.809, allocations: 35.98 kB / 3.501 GB, free: 19.29 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: conHeaCoo.y:VARIABLE() "Connector of actuator output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition7,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition2,$whenCondition3,$whenCondition1,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,setTemp.nextTimeEvent,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEventScaled,$PRE.hysteresis.y,hysteresis.y,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y_last,mean.y_last,switchMea.u2,not1.y,$PRE.timer.entryTime,timer.entryTime,$PRE.cha.u,cha.u,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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: 0 * Non-linear torn systems: 1 {3 30} Notification: Performance of prepare postOptimizeDAE: time 0.00034/5.809, allocations: 140 kB / 3.501 GB, free: 19.15 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002313/5.811, allocations: 1.007 MB / 3.502 GB, free: 18.13 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006715/5.812, allocations: 221.3 kB / 3.502 GB, free: 17.91 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002089/5.814, allocations: 0.9998 MB / 3.503 GB, free: 16.89 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/5.814, allocations: 8 kB / 3.503 GB, free: 16.89 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/5.814, allocations: 4 kB / 3.503 GB, free: 16.88 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/5.814, allocations: 3.984 kB / 3.503 GB, free: 16.88 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005711/5.82, allocations: 2.71 MB / 3.506 GB, free: 14.11 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/5.82, allocations: 0 / 3.506 GB, free: 14.11 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003618/5.82, allocations: 83.89 kB / 3.506 GB, free: 14.03 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008126/5.821, allocations: 311 kB / 3.506 GB, free: 13.72 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-05/5.821, allocations: 11.98 kB / 3.506 GB, free: 13.71 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005393/5.827, allocations: 4.818 MB / 3.511 GB, free: 8.652 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/5.827, allocations: 3.984 kB / 3.511 GB, free: 8.648 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003015/5.83, allocations: 1.5 MB / 3.512 GB, free: 7.125 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/5.831, allocations: 486.2 kB / 3.513 GB, free: 6.629 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005278/5.832, allocations: 8 kB / 3.513 GB, free: 6.621 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008955/5.833, allocations: 67.94 kB / 3.513 GB, free: 6.555 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003132/5.833, allocations: 100.6 kB / 3.513 GB, free: 6.453 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.669e-05/5.833, allocations: 27.98 kB / 3.513 GB, free: 6.426 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003763/5.837, allocations: 2.126 MB / 3.515 GB, free: 4.285 MB / 1.151 GB Notification: Performance of sort global known variables: time 9.42e-07/5.837, allocations: 0 / 3.515 GB, free: 4.285 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002253/5.839, allocations: 451.2 kB / 3.515 GB, free: 3.844 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,assEqu.diff,mean.x) * Number of discrete variables: 21 (not1.y,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,hysteresis.y,assEqu.satisfied,assEqu.nFai,mean.y_last,switchMea.u2,timer.entryTime,cha.u) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled,hysteresis.y,cha.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {3 27} Notification: Performance of Backend phase and start with SimCode phase: time 0.004988/5.844, allocations: 2.933 MB / 3.518 GB, free: 0.9727 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001961/5.846, allocations: 0.9247 MB / 3.519 GB, free: 36 kB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/5.846, allocations: 0 / 3.519 GB, free: 36 kB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.7102/6.556, allocations: 0.7264 MB / 3.52 GB, free: 371.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002135/6.558, allocations: 246.3 kB / 3.52 GB, free: 371.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/6.57, allocations: 3.953 MB / 3.524 GB, free: 371 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002041/6.572, allocations: 1.575 MB / 3.526 GB, free: 370.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001231/6.573, allocations: 238.8 kB / 3.526 GB, free: 370.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001333/6.574, allocations: 0.7745 MB / 3.527 GB, free: 370.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.383e-06/6.575, allocations: 0 / 3.527 GB, free: 370.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.109/6.683, allocations: 39.7 MB / 3.565 GB, free: 368.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001883/6.684, allocations: 188.6 kB / 3.565 GB, free: 368.1 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_TestCase11 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11_FMU.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11_FMU.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11_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_TestCase11_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_TestCase11_FMU.c:754: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_TestCase11_FMU.c:754:82: error: expected expression Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11_FMU.c:755:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11_FMU.c:1483:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11_FMU.c:1497: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_TestCase11_FMU.c:1513:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11_FMU.c:1523: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_TestCase11_FMU.c:1534:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11_FMU.c:1584: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_TestCase11_FMU.c:1635:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11_FMU.c:1649:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11_FMU.c:1664: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_TestCase11_FMU.c:1673:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11_FMU.c:1680:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11_FMU.c:1690:1: error: expected '}' ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11_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_TestCase11_FMU.o] Error 1