Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.369/2.369, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001165/0.001165, allocations: 184.8 kB / 487.4 MB, free: 5.023 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.73/1.73, allocations: 221.5 MB / 0.7824 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009513/0.0009511, allocations: 95.84 kB / 0.9219 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.055e-05/2.057e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3395, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.034/7.374, allocations: 2.193 GB / 3.399 GB, free: 105.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/7.374, allocations: 98.86 kB / 3.399 GB, free: 105.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1476/7.522, allocations: 74.1 MB / 3.472 GB, free: 35.14 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.332e-06/7.522, allocations: 0 / 3.472 GB, free: 35.14 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001418/7.522, allocations: 43.98 kB / 3.472 GB, free: 35.1 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.003048/7.525, allocations: 1.879 MB / 3.474 GB, free: 33.16 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/7.525, allocations: 16.02 kB / 3.474 GB, free: 33.14 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004435/7.526, allocations: 245 kB / 3.474 GB, free: 32.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00399/7.53, allocations: 1.879 MB / 3.476 GB, free: 30.95 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/7.53, allocations: 83.69 kB / 3.476 GB, free: 30.87 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/7.53, allocations: 51.98 kB / 3.476 GB, free: 30.82 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009371/7.531, allocations: 0.5233 MB / 3.476 GB, free: 30.29 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/7.532, allocations: 0.7138 MB / 3.477 GB, free: 29.54 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/7.532, allocations: 0 / 3.477 GB, free: 29.54 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.11e-05/7.532, allocations: 8 kB / 3.477 GB, free: 29.54 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/7.532, allocations: 20 kB / 3.477 GB, free: 29.52 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005369/7.538, allocations: 4.068 MB / 3.481 GB, free: 25.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000896/7.539, allocations: 0.6081 MB / 3.482 GB, free: 24.57 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004749/7.539, allocations: 339.7 kB / 3.482 GB, free: 24.23 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 5.087e-05/7.539, allocations: 12.77 kB / 3.482 GB, free: 24.22 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005688/7.54, allocations: 380.4 kB / 3.482 GB, free: 23.84 MB / 1.151 GB Notification: Performance of pre-optimization done (n=79): time 4.087e-06/7.54, allocations: 0 / 3.482 GB, free: 23.84 MB / 1.151 GB Notification: Performance of matching and sorting (n=79): time 0.001946/7.542, allocations: 0.9954 MB / 3.483 GB, free: 22.83 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.976e-05/7.542, allocations: 149.2 kB / 3.483 GB, free: 22.65 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004872/7.547, allocations: 2.713 MB / 3.486 GB, free: 19.91 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001765/7.547, allocations: 29.7 kB / 3.486 GB, free: 19.88 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006648/7.547, allocations: 0.9596 MB / 3.487 GB, free: 18.91 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002326/7.548, allocations: 244.4 kB / 3.487 GB, free: 18.67 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/7.548, allocations: 0 / 3.487 GB, free: 18.67 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.645e-05/7.548, allocations: 341.9 kB / 3.488 GB, free: 18.33 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003626/7.548, allocations: 234.6 kB / 3.488 GB, free: 18.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003893/7.549, allocations: 399.2 kB / 3.488 GB, free: 17.66 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004093/7.549, allocations: 272.4 kB / 3.488 GB, free: 17.39 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/7.549, allocations: 8 kB / 3.488 GB, free: 17.38 MB / 1.151 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001906/7.551, allocations: 1.1 MB / 3.49 GB, free: 16.27 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/7.551, allocations: 11.94 kB / 3.49 GB, free: 16.26 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/7.551, allocations: 4 kB / 3.49 GB, free: 16.25 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008065/7.552, allocations: 303.2 kB / 3.49 GB, free: 15.96 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004615/7.552, allocations: 139.8 kB / 3.49 GB, free: 15.82 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004325/7.557, allocations: 3.557 MB / 3.493 GB, free: 12.14 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/7.558, allocations: 111.4 kB / 3.494 GB, free: 12.04 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.957e-05/7.558, allocations: 31.95 kB / 3.494 GB, free: 12 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.0002415/7.558, allocations: 135.9 kB / 3.494 GB, free: 11.87 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001715/7.56, allocations: 1.007 MB / 3.495 GB, free: 10.84 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002484/7.56, allocations: 217.4 kB / 3.495 GB, free: 10.62 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001734/7.562, allocations: 0.9998 MB / 3.496 GB, free: 9.609 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/7.562, allocations: 11.94 kB / 3.496 GB, free: 9.598 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/7.562, allocations: 0 / 3.496 GB, free: 9.598 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/7.562, allocations: 7.984 kB / 3.496 GB, free: 9.59 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004213/7.566, allocations: 2.71 MB / 3.499 GB, free: 6.828 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/7.566, allocations: 96 / 3.499 GB, free: 6.828 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003496/7.566, allocations: 79.89 kB / 3.499 GB, free: 6.75 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007527/7.567, allocations: 313.5 kB / 3.499 GB, free: 6.438 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.094e-05/7.567, allocations: 11.98 kB / 3.499 GB, free: 6.426 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004917/7.572, allocations: 4.814 MB / 3.504 GB, free: 1.367 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/7.572, allocations: 4.094 kB / 3.504 GB, free: 1.363 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7875/8.36, allocations: 1.49 MB / 3.505 GB, free: 376.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002051/8.362, allocations: 487 kB / 3.506 GB, free: 376.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004199/8.362, allocations: 12.86 kB / 3.506 GB, free: 376.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/8.363, allocations: 67.89 kB / 3.506 GB, free: 376.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005005/8.364, allocations: 109.4 kB / 3.506 GB, free: 376.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/8.364, allocations: 24.05 kB / 3.506 GB, free: 376.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.004593/8.369, allocations: 2.127 MB / 3.508 GB, free: 376.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 8.62e-07/8.369, allocations: 0 / 3.508 GB, free: 376.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002338/8.371, allocations: 450.9 kB / 3.508 GB, free: 376.6 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.007434/8.378, allocations: 2.925 MB / 3.511 GB, free: 375.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003275/8.382, allocations: 0.9286 MB / 3.512 GB, free: 375.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/8.382, allocations: 5.312 kB / 3.512 GB, free: 375.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001924/8.384, allocations: 0.726 MB / 3.513 GB, free: 375.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003083/8.387, allocations: 255.2 kB / 3.513 GB, free: 375.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01672/8.404, allocations: 3.959 MB / 3.517 GB, free: 374.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003393/8.407, allocations: 1.576 MB / 3.518 GB, free: 373.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001792/8.409, allocations: 227.9 kB / 3.519 GB, free: 373.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001703/8.411, allocations: 0.7768 MB / 3.519 GB, free: 373.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.673e-06/8.411, allocations: 0 / 3.519 GB, free: 373.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1145/8.525, allocations: 39.69 MB / 3.558 GB, free: 371.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/8.525, allocations: 186.2 kB / 3.558 GB, free: 371.4 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_9_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_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11_FMU.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11_FMU.c In file included from Buildings_9_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_9_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_9_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_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11_FMU.c:754:82: error: expected expression Buildings_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11_FMU.c:1673:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11_FMU.c:1680:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11_FMU.c:1690:1: error: expected '}' ^ Buildings_9_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_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11_FMU.o] Error 1