Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.665/1.665, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.001106/0.001106, allocations: 180.8 kB / 366.7 MB, free: 1.637 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.966/1.966, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.001069/0.00107, allocations: 95.7 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.866e-05/1.867e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7858/0.7858, allocations: 116.3 MB / 0.9733 GB, free: 75.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.102/7.888, allocations: 2.351 GB / 3.324 GB, free: 89.36 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003261/7.888, allocations: 90.12 kB / 3.324 GB, free: 89.31 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.162/8.05, allocations: 79.28 MB / 3.402 GB, free: 15.64 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.993e-06/8.05, allocations: 0 / 3.402 GB, free: 15.64 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001753/8.05, allocations: 48 kB / 3.402 GB, free: 15.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: 204 * Number of variables: 204 Notification: Performance of Generate backend data structure: time 0.003964/8.054, allocations: 2.298 MB / 3.404 GB, free: 13.23 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/8.055, allocations: 8.031 kB / 3.404 GB, free: 13.22 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005915/8.055, allocations: 316.5 kB / 3.404 GB, free: 12.91 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005043/8.06, allocations: 2.425 MB / 3.407 GB, free: 10.43 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/8.06, allocations: 75.69 kB / 3.407 GB, free: 10.35 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/8.06, allocations: 51.98 kB / 3.407 GB, free: 10.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001154/8.062, allocations: 0.6872 MB / 3.407 GB, free: 9.609 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/8.063, allocations: 0.7821 MB / 3.408 GB, free: 8.816 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/8.063, allocations: 11.92 kB / 3.408 GB, free: 8.805 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.518e-05/8.063, allocations: 0 / 3.408 GB, free: 8.805 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/8.063, allocations: 20 kB / 3.408 GB, free: 8.785 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006709/8.07, allocations: 4.512 MB / 3.413 GB, free: 4.004 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/8.071, allocations: 0.8587 MB / 3.413 GB, free: 3.137 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006228/8.072, allocations: 467 kB / 3.414 GB, free: 2.68 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.202e-05/8.072, allocations: 8.781 kB / 3.414 GB, free: 2.672 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007129/8.072, allocations: 0.4924 MB / 3.414 GB, free: 2.168 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 3.878e-06/8.072, allocations: 0 / 3.414 GB, free: 2.168 MB / 0.948 GB Notification: Performance of matching and sorting (n=94): time 0.002606/8.075, allocations: 1.311 MB / 3.416 GB, free: 0.8398 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/8.075, allocations: 68.19 kB / 3.416 GB, free: 0.7617 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8101/8.885, allocations: 3.742 MB / 3.419 GB, free: 288.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004158/8.886, allocations: 33.86 kB / 3.419 GB, free: 288.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002672/8.888, allocations: 1.158 MB / 3.42 GB, free: 288.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008642/8.889, allocations: 292.9 kB / 3.421 GB, free: 288.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/8.889, allocations: 0 / 3.421 GB, free: 288.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002357/8.89, allocations: 346.5 kB / 3.421 GB, free: 288.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/8.891, allocations: 324.4 kB / 3.421 GB, free: 288.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/8.892, allocations: 495.2 kB / 3.422 GB, free: 288 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/8.894, allocations: 387.7 kB / 3.422 GB, free: 288 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.747e-05/8.894, allocations: 1.469 kB / 3.422 GB, free: 288 MB / 0.948 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.006698/8.9, allocations: 1.39 MB / 3.424 GB, free: 287.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.535e-05/8.9, allocations: 8.75 kB / 3.424 GB, free: 287.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.797e-05/8.9, allocations: 3.719 kB / 3.424 GB, free: 287.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00165/8.902, allocations: 330.3 kB / 3.424 GB, free: 287.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/8.903, allocations: 173.4 kB / 3.424 GB, free: 287.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008558/8.912, allocations: 4.8 MB / 3.429 GB, free: 285.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002086/8.914, allocations: 120.8 kB / 3.429 GB, free: 285.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003057/8.914, allocations: 34.41 kB / 3.429 GB, free: 285.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp1.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.tableSolRadWall.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,outdoorTemp1.nextTimeEvent,$PRE.outdoorTemp1.nextTimeEventScaled,outdoorTemp1.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 90 * 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.0004578/8.915, allocations: 152.1 kB / 3.429 GB, free: 285 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003907/8.919, allocations: 1.312 MB / 3.43 GB, free: 284.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001204/8.92, allocations: 280.3 kB / 3.431 GB, free: 284.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004033/8.924, allocations: 1.478 MB / 3.432 GB, free: 284.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.278e-05/8.924, allocations: 11.62 kB / 3.432 GB, free: 284.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.297e-05/8.924, allocations: 4.562 kB / 3.432 GB, free: 284.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.728e-05/8.924, allocations: 6.469 kB / 3.432 GB, free: 284.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/8.935, allocations: 3.525 MB / 3.436 GB, free: 284.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.868e-06/8.935, allocations: 0 / 3.436 GB, free: 284.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006405/8.935, allocations: 106.5 kB / 3.436 GB, free: 284.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001105/8.937, allocations: 327.4 kB / 3.436 GB, free: 284.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/8.937, allocations: 19.31 kB / 3.436 GB, free: 284.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007584/8.944, allocations: 4.796 MB / 3.441 GB, free: 281.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.365e-05/8.944, allocations: 0 / 3.441 GB, free: 281.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006833/8.951, allocations: 2 MB / 3.443 GB, free: 281.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002347/8.954, allocations: 0.6355 MB / 3.443 GB, free: 281 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009632/8.955, allocations: 17.33 kB / 3.443 GB, free: 281 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/8.956, allocations: 66.33 kB / 3.443 GB, free: 281 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004136/8.957, allocations: 99.53 kB / 3.443 GB, free: 281 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/8.957, allocations: 31.83 kB / 3.443 GB, free: 281 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.007809/8.965, allocations: 2.951 MB / 3.446 GB, free: 280.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.82e-07/8.965, allocations: 1.406 kB / 3.446 GB, free: 280.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004257/8.969, allocations: 0.5364 MB / 3.447 GB, free: 280.8 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: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp1.nextTimeEvent,outdoorTemp1.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp1.nextTimeEvent,tableSolRadWindow.nextTimeEvent,tableSolRadWall.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp1.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.009302/8.978, allocations: 3.458 MB / 3.45 GB, free: 279.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002743/8.981, allocations: 1.187 MB / 3.451 GB, free: 279.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/8.981, allocations: 0 / 3.451 GB, free: 279.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001485/8.983, allocations: 0.7893 MB / 3.452 GB, free: 279.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002569/8.985, allocations: 290.7 kB / 3.452 GB, free: 279.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01307/8.998, allocations: 5.293 MB / 3.458 GB, free: 278.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002582/9.001, allocations: 1.886 MB / 3.459 GB, free: 277.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001603/9.003, allocations: 341 kB / 3.46 GB, free: 277.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001612/9.004, allocations: 0.9991 MB / 3.461 GB, free: 277 MB / 0.948 GB Notification: Performance of SimCode: time 1.163e-06/9.004, allocations: 2.953 kB / 3.461 GB, free: 277 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1266/9.131, allocations: 47.93 MB / 3.508 GB, free: 274 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003241/9.131, allocations: 181.5 kB / 3.508 GB, free: 273.8 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_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8 -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_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_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_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_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_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:976: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_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:976:82: error: expected expression Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:977:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:1935:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:1949:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:1965:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:1975:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:1986:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:2028:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:2071:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:2089:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:2108:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:2117:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:2124:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:2134:1: error: expected '}' ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. make: *** [: Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.o] Error 1