Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.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.TestCase8,fileNamePrefix="Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.627/1.627, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001046/0.001046, allocations: 176.9 kB / 361.4 MB, free: 6.801 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.799/1.799, allocations: 205.2 MB / 0.62 GB, free: 11.62 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.0009392/0.0009396, allocations: 92.2 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.042e-05/2.047e-05, allocations: 4 kB / 0.8518 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.845/0.845, allocations: 115.3 MB / 0.9645 GB, free: 78.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.818/7.663, allocations: 2.35 GB / 3.314 GB, free: 45.74 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004458/7.664, allocations: 96.3 kB / 3.314 GB, free: 45.69 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.9519/8.616, allocations: 79.29 MB / 3.392 GB, free: 296.9 MB / 0.9323 GB Notification: Performance of FrontEnd: time 6.292e-06/8.616, allocations: 1.406 kB / 3.392 GB, free: 296.9 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0008146/8.617, allocations: 45.97 kB / 3.392 GB, free: 296.9 MB / 0.9323 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.01278/8.63, allocations: 2.293 MB / 3.394 GB, free: 295.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 9.708e-05/8.63, allocations: 9.906 kB / 3.394 GB, free: 295.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003347/8.633, allocations: 314.7 kB / 3.394 GB, free: 295.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01272/8.646, allocations: 2.42 MB / 3.397 GB, free: 295 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003502/8.646, allocations: 83.42 kB / 3.397 GB, free: 294.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006729/8.647, allocations: 55.66 kB / 3.397 GB, free: 294.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003344/8.651, allocations: 0.6874 MB / 3.398 GB, free: 294.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003518/8.654, allocations: 0.7815 MB / 3.398 GB, free: 294.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.457e-05/8.654, allocations: 3.938 kB / 3.398 GB, free: 294.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001531/8.654, allocations: 3.891 kB / 3.398 GB, free: 294.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.312e-05/8.654, allocations: 18.47 kB / 3.398 GB, free: 294.8 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01512/8.669, allocations: 4.523 MB / 3.403 GB, free: 293.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002271/8.672, allocations: 0.8512 MB / 3.404 GB, free: 293.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/8.673, allocations: 469.1 kB / 3.404 GB, free: 293.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-05/8.673, allocations: 11.56 kB / 3.404 GB, free: 293.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001265/8.674, allocations: 0.4887 MB / 3.404 GB, free: 293.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=94): time 6.301e-06/8.674, allocations: 3.844 kB / 3.404 GB, free: 293.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=94): time 0.005172/8.68, allocations: 1.314 MB / 3.406 GB, free: 292.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/8.68, allocations: 66.39 kB / 3.406 GB, free: 292.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01928/8.699, allocations: 3.743 MB / 3.409 GB, free: 291.6 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0006172/8.7, allocations: 30.05 kB / 3.41 GB, free: 291.5 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.002554/8.702, allocations: 1.164 MB / 3.411 GB, free: 290.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001003/8.703, allocations: 288.5 kB / 3.411 GB, free: 290.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002225/8.704, allocations: 0 / 3.411 GB, free: 290.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002442/8.704, allocations: 344.2 kB / 3.411 GB, free: 290.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/8.705, allocations: 328.5 kB / 3.412 GB, free: 290 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/8.707, allocations: 489.7 kB / 3.412 GB, free: 289.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001372/8.708, allocations: 382.5 kB / 3.412 GB, free: 289.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-05/8.708, allocations: 1.094 kB / 3.412 GB, free: 289.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.006388/8.714, allocations: 1.4 MB / 3.414 GB, free: 289 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 5.32e-05/8.714, allocations: 5.5 kB / 3.414 GB, free: 289 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-05/8.715, allocations: 10.12 kB / 3.414 GB, free: 289 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0015/8.716, allocations: 330.5 kB / 3.414 GB, free: 288.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009233/8.717, allocations: 171 kB / 3.414 GB, free: 288.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007704/8.725, allocations: 4.803 MB / 3.419 GB, free: 285.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002917/8.728, allocations: 129.3 kB / 3.419 GB, free: 285.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003081/8.728, allocations: 36.8 kB / 3.419 GB, free: 285.2 MB / 0.9323 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.0005297/8.729, allocations: 139 kB / 3.419 GB, free: 285.1 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005374/8.734, allocations: 1.318 MB / 3.421 GB, free: 284.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00197/8.736, allocations: 284.1 kB / 3.421 GB, free: 284.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004195/8.74, allocations: 1.469 MB / 3.422 GB, free: 284 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/8.74, allocations: 13.66 kB / 3.422 GB, free: 283.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-05/8.74, allocations: 6.406 kB / 3.422 GB, free: 283.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/8.74, allocations: 7.281 kB / 3.422 GB, free: 283.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01164/8.752, allocations: 3.526 MB / 3.426 GB, free: 282.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/8.752, allocations: 3.969 kB / 3.426 GB, free: 282.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004988/8.752, allocations: 110 kB / 3.426 GB, free: 282.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008925/8.753, allocations: 323.6 kB / 3.426 GB, free: 282.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.214e-05/8.753, allocations: 12.31 kB / 3.426 GB, free: 282.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00577/8.759, allocations: 4.795 MB / 3.431 GB, free: 279 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.817e-06/8.759, allocations: 0 / 3.431 GB, free: 279 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005868/8.765, allocations: 2.003 MB / 3.433 GB, free: 278.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002449/8.768, allocations: 0.6242 MB / 3.433 GB, free: 277.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001314/8.769, allocations: 23.53 kB / 3.433 GB, free: 277.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001776/8.771, allocations: 67.97 kB / 3.433 GB, free: 277.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003591/8.771, allocations: 104.1 kB / 3.434 GB, free: 277.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/8.771, allocations: 29.16 kB / 3.434 GB, free: 277.7 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.007502/8.779, allocations: 2.952 MB / 3.436 GB, free: 276.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.312e-06/8.779, allocations: 0 / 3.436 GB, free: 276.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005097/8.784, allocations: 0.5377 MB / 3.437 GB, free: 276.6 MB / 0.9323 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.009779/8.794, allocations: 3.443 MB / 3.44 GB, free: 275 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003029/8.797, allocations: 1.183 MB / 3.442 GB, free: 274.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.816e-06/8.797, allocations: 0 / 3.442 GB, free: 274.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001579/8.799, allocations: 0.7944 MB / 3.442 GB, free: 274 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003836/8.802, allocations: 293.9 kB / 3.443 GB, free: 273.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01575/8.818, allocations: 5.304 MB / 3.448 GB, free: 272.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002654/8.821, allocations: 1.876 MB / 3.45 GB, free: 271.4 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001654/8.823, allocations: 351.8 kB / 3.45 GB, free: 271.4 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002168/8.825, allocations: 0.9959 MB / 3.451 GB, free: 270.6 MB / 0.9323 GB Notification: Performance of SimCode: time 2.054e-06/8.825, allocations: 0 / 3.451 GB, free: 270.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09598/8.921, allocations: 47.91 MB / 3.498 GB, free: 234.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/8.921, allocations: 193.6 kB / 3.498 GB, free: 234.4 MB / 0.9323 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_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_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.o Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c In file included from Buildings_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:976:82: error: expected expression Buildings_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:2117:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:2124:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:2134:1: error: expected '}' ^ Buildings_maint_8_0_x_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_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.o] Error 1