Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12,fileNamePrefix="Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12,fileNamePrefix="Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.491/1.491, allocations: 249.5 MB / 257 MB, free: 7.012 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 176.8 kB / 316.3 MB, free: 3.316 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.877/1.877, allocations: 205.3 MB / 0.5671 GB, free: 15.91 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008279/0.000828, allocations: 98.52 kB / 0.6714 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.033e-05/2.036e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2316, allocations: 106.3 MB / 0.8853 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.485/7.717, allocations: 2.47 GB / 3.355 GB, free: 265.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/7.717, allocations: 99.03 kB / 3.355 GB, free: 265 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3615/8.079, allocations: 187.8 MB / 3.539 GB, free: 75.41 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.623e-06/8.079, allocations: 0 / 3.539 GB, free: 75.41 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0004209/8.079, allocations: 59.92 kB / 3.539 GB, free: 75.35 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 236 * Number of variables: 236 Notification: Performance of Generate backend data structure: time 0.006066/8.085, allocations: 2.309 MB / 3.541 GB, free: 72.97 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/8.085, allocations: 8.031 kB / 3.541 GB, free: 72.96 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/8.087, allocations: 308.3 kB / 3.541 GB, free: 72.66 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006139/8.093, allocations: 2.42 MB / 3.544 GB, free: 70.18 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001613/8.093, allocations: 83.67 kB / 3.544 GB, free: 70.09 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003083/8.093, allocations: 67.91 kB / 3.544 GB, free: 70.02 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001571/8.095, allocations: 0.7068 MB / 3.545 GB, free: 69.32 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/8.097, allocations: 0.8775 MB / 3.545 GB, free: 68.42 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.36e-05/8.097, allocations: 7.984 kB / 3.545 GB, free: 68.41 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.76e-05/8.097, allocations: 4 kB / 3.545 GB, free: 68.41 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/8.097, allocations: 24 kB / 3.545 GB, free: 68.38 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007444/8.104, allocations: 4.592 MB / 3.55 GB, free: 63.58 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/8.106, allocations: 0.8133 MB / 3.551 GB, free: 62.75 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005846/8.106, allocations: 439.8 kB / 3.551 GB, free: 62.31 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003294/8.107, allocations: 0.5033 MB / 3.552 GB, free: 61.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006281/8.107, allocations: 476.4 kB / 3.552 GB, free: 61.22 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=94): time 3.056e-06/8.107, allocations: 3.938 kB / 3.552 GB, free: 61.21 MB / 0.8698 GB Notification: Performance of matching and sorting (n=94): time 0.002212/8.109, allocations: 1.163 MB / 3.553 GB, free: 60.03 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/8.11, allocations: 60.19 kB / 3.553 GB, free: 59.96 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004987/8.115, allocations: 3.305 MB / 3.556 GB, free: 56.64 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002677/8.115, allocations: 33.7 kB / 3.557 GB, free: 56.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008727/8.116, allocations: 1.15 MB / 3.558 GB, free: 55.44 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002889/8.116, allocations: 291.8 kB / 3.558 GB, free: 55.15 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/8.116, allocations: 4 kB / 3.558 GB, free: 55.14 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.72e-05/8.116, allocations: 349.9 kB / 3.558 GB, free: 54.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004364/8.117, allocations: 302.5 kB / 3.559 GB, free: 54.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004807/8.117, allocations: 498.5 kB / 3.559 GB, free: 53.95 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000658/8.118, allocations: 378.9 kB / 3.559 GB, free: 53.58 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/8.118, allocations: 4 kB / 3.559 GB, free: 53.57 MB / 0.8698 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002249/8.12, allocations: 1.268 MB / 3.561 GB, free: 52.29 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/8.12, allocations: 5.406 kB / 3.561 GB, free: 52.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/8.12, allocations: 11.98 kB / 3.561 GB, free: 52.28 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005169/8.121, allocations: 205.8 kB / 3.561 GB, free: 52.07 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006606/8.121, allocations: 199.7 kB / 3.561 GB, free: 51.88 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003186/8.124, allocations: 4.085 MB / 3.565 GB, free: 47.56 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/8.126, allocations: 139 kB / 3.565 GB, free: 47.43 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.696e-05/8.126, allocations: 47.98 kB / 3.565 GB, free: 47.38 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.ventRate.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,ventRate.nextTimeEvent,$PRE.ventRate.nextTimeEventScaled,ventRate.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * 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 {(2,100.0%) 15,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002124/8.126, allocations: 138 kB / 3.565 GB, free: 47.24 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001942/8.128, allocations: 1.175 MB / 3.566 GB, free: 46.05 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003313/8.128, allocations: 260.8 kB / 3.567 GB, free: 45.79 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/8.131, allocations: 1.338 MB / 3.568 GB, free: 44.43 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/8.131, allocations: 11.95 kB / 3.568 GB, free: 44.41 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/8.131, allocations: 4 kB / 3.568 GB, free: 44.41 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001459/8.132, allocations: 1.223 MB / 3.569 GB, free: 43.11 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005004/8.137, allocations: 3.339 MB / 3.572 GB, free: 39.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/8.137, allocations: 0 / 3.572 GB, free: 39.71 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000482/8.138, allocations: 119.9 kB / 3.573 GB, free: 39.59 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005752/8.138, allocations: 250.4 kB / 3.573 GB, free: 39.34 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.778e-05/8.138, allocations: 19.97 kB / 3.573 GB, free: 39.32 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003176/8.142, allocations: 4.636 MB / 3.577 GB, free: 34.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/8.142, allocations: 0 / 3.577 GB, free: 34.43 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002667/8.144, allocations: 1.899 MB / 3.579 GB, free: 32.48 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009696/8.145, allocations: 0.5951 MB / 3.58 GB, free: 31.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002514/8.146, allocations: 19.98 kB / 3.58 GB, free: 31.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006872/8.146, allocations: 75.88 kB / 3.58 GB, free: 31.77 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/8.146, allocations: 93.16 kB / 3.58 GB, free: 31.67 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.223e-05/8.147, allocations: 35.98 kB / 3.58 GB, free: 31.64 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002791/8.149, allocations: 2.584 MB / 3.583 GB, free: 29.05 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.01e-07/8.149, allocations: 4 kB / 3.583 GB, free: 29.05 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00191/8.151, allocations: 0.6044 MB / 3.583 GB, free: 28.44 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 22 ($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,ventRate.nextTimeEvent,ventRate.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,ventRate.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,ventRate.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 15,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004252/8.156, allocations: 3.664 MB / 3.587 GB, free: 24.79 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001607/8.157, allocations: 1.117 MB / 3.588 GB, free: 23.64 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/8.157, allocations: 0 / 3.588 GB, free: 23.64 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009003/8.158, allocations: 0.7392 MB / 3.589 GB, free: 22.89 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002585/8.161, allocations: 456.4 kB / 3.589 GB, free: 22.45 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008889/8.17, allocations: 5.071 MB / 3.594 GB, free: 17.31 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00157/8.171, allocations: 1.819 MB / 3.596 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001234/8.172, allocations: 344.8 kB / 3.596 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001206/8.174, allocations: 0.9991 MB / 3.597 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of SimCode: time 6.21e-07/8.174, allocations: 0 / 3.597 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5499/8.724, allocations: 50.42 MB / 3.646 GB, free: 206.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/8.724, allocations: 201.2 kB / 3.646 GB, free: 206 MB / 0.8698 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_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.o Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c In file included from Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_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_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_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_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:917: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_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:917:82: error: expected expression Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:918:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:1819:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:1833:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:1849:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:1859:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:1870:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:1931:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:1993:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:2011:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:2030:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:2039:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:2046:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:2056:1: error: expected '}' ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. make: *** [: Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.o] Error 1