Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9,fileNamePrefix="Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9,fileNamePrefix="Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.621/1.621, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.001082/0.001083, allocations: 176.9 kB / 361.4 MB, free: 6.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.965/1.965, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008738/0.0008738, allocations: 93.22 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.92e-05/3.931e-05, allocations: 0 / 0.8518 GB, free: 2.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7748/0.7748, allocations: 115.3 MB / 0.9645 GB, free: 79.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.041/7.816, allocations: 2.35 GB / 3.314 GB, free: 176.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003222/7.816, allocations: 97.62 kB / 3.315 GB, free: 176.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1781/7.994, allocations: 82.34 MB / 3.395 GB, free: 93.64 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.497e-06/7.994, allocations: 0 / 3.395 GB, free: 93.64 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005478/7.995, allocations: 51.94 kB / 3.395 GB, free: 93.59 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.007008/8.002, allocations: 2.509 MB / 3.398 GB, free: 91.02 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/8.002, allocations: 12.03 kB / 3.398 GB, free: 91.01 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001484/8.003, allocations: 360 kB / 3.398 GB, free: 90.66 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007391/8.011, allocations: 2.562 MB / 3.4 GB, free: 88.04 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002094/8.011, allocations: 83.69 kB / 3.4 GB, free: 87.95 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004002/8.011, allocations: 63.92 kB / 3.401 GB, free: 87.89 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001956/8.013, allocations: 0.7185 MB / 3.401 GB, free: 87.17 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00194/8.015, allocations: 0.825 MB / 3.402 GB, free: 86.33 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.674e-05/8.015, allocations: 0 / 3.402 GB, free: 86.33 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.18e-05/8.016, allocations: 5.5 kB / 3.402 GB, free: 86.33 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/8.016, allocations: 20 kB / 3.402 GB, free: 86.31 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009611/8.025, allocations: 4.711 MB / 3.407 GB, free: 81.34 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/8.027, allocations: 0.8936 MB / 3.408 GB, free: 80.43 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007511/8.028, allocations: 0.4957 MB / 3.408 GB, free: 79.94 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.559e-05/8.028, allocations: 12.77 kB / 3.408 GB, free: 79.93 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008511/8.029, allocations: 0.5334 MB / 3.409 GB, free: 79.38 MB / 0.948 GB Notification: Performance of pre-optimization done (n=104): time 4.86e-06/8.029, allocations: 0 / 3.409 GB, free: 79.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=104): time 0.003112/8.032, allocations: 1.44 MB / 3.41 GB, free: 77.92 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/8.032, allocations: 68.72 kB / 3.41 GB, free: 77.84 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0103/8.042, allocations: 4.305 MB / 3.414 GB, free: 73.54 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003439/8.042, allocations: 37.69 kB / 3.414 GB, free: 73.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001687/8.044, allocations: 1.364 MB / 3.416 GB, free: 72.13 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006364/8.045, allocations: 323.4 kB / 3.416 GB, free: 71.81 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/8.045, allocations: 0 / 3.416 GB, free: 71.81 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001517/8.045, allocations: 345.9 kB / 3.416 GB, free: 71.46 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007227/8.046, allocations: 354.1 kB / 3.417 GB, free: 71.12 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007614/8.047, allocations: 0.5142 MB / 3.417 GB, free: 70.55 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007544/8.047, allocations: 416.3 kB / 3.417 GB, free: 70.15 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/8.047, allocations: 0 / 3.417 GB, free: 70.15 MB / 0.948 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003386/8.051, allocations: 1.504 MB / 3.419 GB, free: 68.63 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.369e-05/8.051, allocations: 8.781 kB / 3.419 GB, free: 68.62 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/8.051, allocations: 4 kB / 3.419 GB, free: 68.62 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009576/8.052, allocations: 330.2 kB / 3.419 GB, free: 68.29 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007634/8.053, allocations: 191.8 kB / 3.419 GB, free: 68.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005129/8.058, allocations: 4.794 MB / 3.424 GB, free: 63.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/8.06, allocations: 131.2 kB / 3.424 GB, free: 62.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/8.06, allocations: 43.92 kB / 3.424 GB, free: 62.91 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 41 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition9,$whenCondition8,$PRE.intGai.nextTimeEvent,$whenCondition7,$PRE.reference.nextTimeEvent,$whenCondition6,$PRE.outdoorTemp.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWall.nextTimeEvent,$whenCondition3,$PRE.HSky.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,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled,HSky.nextTimeEvent,$PRE.HSky.nextTimeEventScaled,HSky.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 102 * 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 {(1,100.0%) 3,(2,100.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003524/8.06, allocations: 138 kB / 3.424 GB, free: 62.77 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003428/8.064, allocations: 1.451 MB / 3.426 GB, free: 61.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001049/8.065, allocations: 320.1 kB / 3.426 GB, free: 60.99 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003358/8.068, allocations: 1.601 MB / 3.428 GB, free: 59.38 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/8.068, allocations: 12 kB / 3.428 GB, free: 59.36 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/8.068, allocations: 4 kB / 3.428 GB, free: 59.36 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/8.068, allocations: 3.984 kB / 3.428 GB, free: 59.36 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008403/8.077, allocations: 3.881 MB / 3.431 GB, free: 55.42 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/8.077, allocations: 0 / 3.431 GB, free: 55.42 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005352/8.077, allocations: 119.8 kB / 3.432 GB, free: 55.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008315/8.078, allocations: 325.9 kB / 3.432 GB, free: 54.98 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.387e-05/8.078, allocations: 15.98 kB / 3.432 GB, free: 54.96 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004882/8.083, allocations: 4.786 MB / 3.437 GB, free: 49.95 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/8.083, allocations: 0 / 3.437 GB, free: 49.95 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004258/8.087, allocations: 2.159 MB / 3.439 GB, free: 47.76 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001827/8.089, allocations: 0.7231 MB / 3.439 GB, free: 47.02 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008328/8.09, allocations: 20 kB / 3.439 GB, free: 47 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/8.091, allocations: 67.94 kB / 3.44 GB, free: 46.93 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002993/8.092, allocations: 105.1 kB / 3.44 GB, free: 46.83 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.21e-05/8.092, allocations: 35.98 kB / 3.44 GB, free: 46.79 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006265/8.098, allocations: 3.397 MB / 3.443 GB, free: 43.41 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.32e-07/8.098, allocations: 0 / 3.443 GB, free: 43.41 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002914/8.101, allocations: 0.5929 MB / 3.444 GB, free: 42.82 MB / 0.948 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: 26 ($whenCondition9,$whenCondition8,$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,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,HSky.nextTimeEvent,HSky.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 15 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,tableSolRadWall.nextTimeEvent,HSky.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,HSky.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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%) 25,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006413/8.107, allocations: 3.621 MB / 3.447 GB, free: 39.25 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002444/8.11, allocations: 1.246 MB / 3.448 GB, free: 37.98 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/8.11, allocations: 12 kB / 3.448 GB, free: 37.97 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00127/8.111, allocations: 0.8239 MB / 3.449 GB, free: 37.12 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002962/8.114, allocations: 325.9 kB / 3.449 GB, free: 36.81 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01339/8.128, allocations: 5.951 MB / 3.455 GB, free: 30.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002661/8.13, allocations: 2.023 MB / 3.457 GB, free: 28.75 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001472/8.132, allocations: 387.9 kB / 3.458 GB, free: 28.37 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002108/8.134, allocations: 1.159 MB / 3.459 GB, free: 27.21 MB / 0.948 GB Notification: Performance of SimCode: time 1.643e-06/8.134, allocations: 0 / 3.459 GB, free: 27.21 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8385/8.972, allocations: 52.82 MB / 3.51 GB, free: 279.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/8.973, allocations: 190.8 kB / 3.51 GB, free: 279.4 MB / 0.948 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_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9 -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_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.o Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c In file included from Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_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_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_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_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:1102:82: warning: missing terminating '"' character [-Winvalid-pp-token] comp->fmuData->modelData->stringParameterData[2].attribute.start = mmc_mk_scon("Inputs differ by more than threShold. ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:1102:82: error: expected expression Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:1103:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2187:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2201:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2217:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2227:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2238:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2284:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2331:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2351:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2372:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2381:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2388:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2398:1: error: expected '}' ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. make: *** [: Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.o] Error 1