Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.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.TestCase9,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.393/1.393, allocations: 249.5 MB / 257 MB, free: 6.934 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.0009036/0.0009036, allocations: 176.9 kB / 316.3 MB, free: 3.227 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.552/1.552, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.000908/0.000908, allocations: 91.8 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.752e-05/2.753e-05, allocations: 7.984 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2879, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.846/8.134, allocations: 2.469 GB / 3.355 GB, free: 220.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003584/8.134, allocations: 90.52 kB / 3.355 GB, free: 220.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1733/8.307, allocations: 82.02 MB / 3.435 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.794e-06/8.307, allocations: 4 kB / 3.435 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0005118/8.308, allocations: 63.92 kB / 3.435 GB, free: 147.8 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.006818/8.315, allocations: 2.509 MB / 3.437 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.907e-05/8.315, allocations: 8.031 kB / 3.437 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/8.316, allocations: 352 kB / 3.438 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007116/8.324, allocations: 2.577 MB / 3.44 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001906/8.324, allocations: 79.69 kB / 3.44 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003815/8.324, allocations: 56 kB / 3.44 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001898/8.326, allocations: 0.7262 MB / 3.441 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/8.328, allocations: 0.825 MB / 3.442 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.898e-05/8.328, allocations: 0 / 3.442 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/8.328, allocations: 7.984 kB / 3.442 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/8.328, allocations: 27.95 kB / 3.442 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00963/8.338, allocations: 4.698 MB / 3.446 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/8.339, allocations: 0.884 MB / 3.447 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007398/8.34, allocations: 0.4996 MB / 3.448 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.7e-05/8.34, allocations: 8.781 kB / 3.448 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008299/8.341, allocations: 0.5372 MB / 3.448 GB, free: 133.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=104): time 5.34e-06/8.341, allocations: 7.875 kB / 3.448 GB, free: 133.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=104): time 0.003214/8.344, allocations: 1.44 MB / 3.45 GB, free: 132.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/8.345, allocations: 68.72 kB / 3.45 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01014/8.355, allocations: 4.305 MB / 3.454 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003558/8.355, allocations: 33.7 kB / 3.454 GB, free: 127.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001112/8.356, allocations: 1.36 MB / 3.455 GB, free: 126.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005279/8.357, allocations: 319.3 kB / 3.456 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.59e-05/8.357, allocations: 0 / 3.456 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001055/8.357, allocations: 353.9 kB / 3.456 GB, free: 125.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000528/8.357, allocations: 350.5 kB / 3.456 GB, free: 125.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005668/8.358, allocations: 0.5142 MB / 3.457 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006549/8.359, allocations: 418.9 kB / 3.457 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/8.359, allocations: 0 / 3.457 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003163/8.362, allocations: 1.494 MB / 3.459 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/8.362, allocations: 17.86 kB / 3.459 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/8.362, allocations: 4 kB / 3.459 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009865/8.363, allocations: 321.7 kB / 3.459 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007089/8.364, allocations: 191.7 kB / 3.459 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004999/8.369, allocations: 4.792 MB / 3.464 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/8.371, allocations: 139.2 kB / 3.464 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/8.371, allocations: 36.14 kB / 3.464 GB, free: 117.2 MB / 0.8698 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.0003283/8.371, allocations: 146 kB / 3.464 GB, free: 117 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00363/8.375, allocations: 1.451 MB / 3.466 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001355/8.376, allocations: 320.1 kB / 3.466 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003607/8.38, allocations: 1.604 MB / 3.467 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/8.38, allocations: 12 kB / 3.467 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.627e-05/8.38, allocations: 4 kB / 3.467 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.625e-05/8.38, allocations: 7.969 kB / 3.467 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009598/8.389, allocations: 3.881 MB / 3.471 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/8.389, allocations: 4 kB / 3.471 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005399/8.39, allocations: 119.8 kB / 3.471 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008734/8.391, allocations: 325.9 kB / 3.472 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.239e-05/8.391, allocations: 15.98 kB / 3.472 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005152/8.396, allocations: 4.783 MB / 3.476 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.443e-06/8.396, allocations: 3.953 kB / 3.476 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004189/8.4, allocations: 2.159 MB / 3.478 GB, free: 102 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001757/8.402, allocations: 0.7116 MB / 3.479 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008356/8.403, allocations: 23.98 kB / 3.479 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/8.404, allocations: 67.84 kB / 3.479 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002697/8.405, allocations: 109.1 kB / 3.479 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.142e-05/8.405, allocations: 35.98 kB / 3.479 GB, free: 101 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.005985/8.411, allocations: 3.389 MB / 3.483 GB, free: 97.65 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3e-07/8.411, allocations: 3.938 kB / 3.483 GB, free: 97.65 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002817/8.414, allocations: 0.5891 MB / 3.483 GB, free: 97.06 MB / 0.8698 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.006021/8.42, allocations: 3.615 MB / 3.487 GB, free: 93.48 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002175/8.422, allocations: 1.26 MB / 3.488 GB, free: 92.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/8.422, allocations: 4 kB / 3.488 GB, free: 92.19 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00121/8.423, allocations: 0.8286 MB / 3.489 GB, free: 91.34 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002788/8.426, allocations: 337.8 kB / 3.489 GB, free: 91.02 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01317/8.439, allocations: 5.947 MB / 3.495 GB, free: 85.02 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002626/8.442, allocations: 2.019 MB / 3.497 GB, free: 82.96 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001525/8.443, allocations: 395.9 kB / 3.497 GB, free: 82.57 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001991/8.445, allocations: 1.155 MB / 3.498 GB, free: 81.42 MB / 0.8698 GB Notification: Performance of SimCode: time 2.385e-06/8.445, allocations: 0 / 3.498 GB, free: 81.42 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09963/8.545, allocations: 52.83 MB / 3.55 GB, free: 28.63 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/8.545, allocations: 201.5 kB / 3.55 GB, free: 28.43 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_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_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.o Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c In file included from Buildings_maint_7_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_7_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_7_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_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:1102:82: error: expected expression Buildings_maint_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2398:1: error: expected '}' ^ Buildings_maint_7_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_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.o] Error 1