Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.355/2.355, allocations: 387.4 MB / 394.9 MB, free: 13.24 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 188.5 kB / 487.4 MB, free: 4.938 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 221.5 MB / 0.7824 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009506/0.0009508, allocations: 99.83 kB / 0.9219 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.569e-05/2.578e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2944, allocations: 142.4 MB / 1.206 GB, free: 43.92 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.721/6.015, allocations: 2.191 GB / 3.397 GB, free: 107.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/6.016, allocations: 92.72 kB / 3.397 GB, free: 107.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1776/6.193, allocations: 83.26 MB / 3.478 GB, free: 28.51 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.575e-06/6.194, allocations: 4 kB / 3.478 GB, free: 28.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004472/6.194, allocations: 55.88 kB / 3.478 GB, free: 28.45 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.006103/6.2, allocations: 2.513 MB / 3.481 GB, free: 25.88 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/6.2, allocations: 8.031 kB / 3.481 GB, free: 25.87 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/6.201, allocations: 352 kB / 3.481 GB, free: 25.52 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006846/6.208, allocations: 2.585 MB / 3.483 GB, free: 22.88 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001701/6.208, allocations: 83.69 kB / 3.484 GB, free: 22.79 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000304/6.209, allocations: 59.98 kB / 3.484 GB, free: 22.73 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00161/6.21, allocations: 0.7224 MB / 3.484 GB, free: 22.01 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/6.212, allocations: 0.8211 MB / 3.485 GB, free: 21.18 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.494e-05/6.212, allocations: 3.938 kB / 3.485 GB, free: 21.17 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.989e-05/6.212, allocations: 8 kB / 3.485 GB, free: 21.16 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/6.212, allocations: 24 kB / 3.485 GB, free: 21.14 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008792/6.221, allocations: 4.713 MB / 3.49 GB, free: 16.17 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/6.222, allocations: 0.8917 MB / 3.491 GB, free: 15.27 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007067/6.223, allocations: 0.4918 MB / 3.491 GB, free: 14.77 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 6.343e-05/6.223, allocations: 16.77 kB / 3.491 GB, free: 14.76 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007807/6.224, allocations: 0.541 MB / 3.492 GB, free: 14.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=104): time 4.749e-06/6.224, allocations: 0 / 3.492 GB, free: 14.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=104): time 0.00285/6.227, allocations: 1.428 MB / 3.493 GB, free: 12.75 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/6.227, allocations: 68.7 kB / 3.493 GB, free: 12.67 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008283/6.235, allocations: 4.317 MB / 3.497 GB, free: 8.363 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002191/6.236, allocations: 33.7 kB / 3.497 GB, free: 8.324 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009761/6.237, allocations: 1.361 MB / 3.499 GB, free: 6.957 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003039/6.237, allocations: 315.4 kB / 3.499 GB, free: 6.645 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.436e-05/6.237, allocations: 3.938 kB / 3.499 GB, free: 6.641 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001009/6.237, allocations: 353.9 kB / 3.499 GB, free: 6.289 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004984/6.237, allocations: 350.5 kB / 3.5 GB, free: 5.945 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005578/6.238, allocations: 0.5103 MB / 3.5 GB, free: 5.383 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005649/6.239, allocations: 422.2 kB / 3.501 GB, free: 4.973 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/6.239, allocations: 4 kB / 3.501 GB, free: 4.969 MB / 1.151 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002571/6.241, allocations: 1.495 MB / 3.502 GB, free: 3.461 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/6.241, allocations: 8 kB / 3.502 GB, free: 3.453 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/6.241, allocations: 4 kB / 3.502 GB, free: 3.449 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008312/6.242, allocations: 332.1 kB / 3.502 GB, free: 3.121 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006738/6.243, allocations: 191.7 kB / 3.502 GB, free: 2.934 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8809/7.124, allocations: 4.79 MB / 3.507 GB, free: 373 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002294/7.126, allocations: 131.5 kB / 3.507 GB, free: 373 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002262/7.126, allocations: 35.94 kB / 3.507 GB, free: 373 MB / 1.151 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_last,mean.y_last,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.0003722/7.127, allocations: 152.2 kB / 3.507 GB, free: 372.9 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004268/7.131, allocations: 1.435 MB / 3.509 GB, free: 372.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00105/7.132, allocations: 325.5 kB / 3.509 GB, free: 372.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004414/7.136, allocations: 1.597 MB / 3.511 GB, free: 372.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/7.137, allocations: 12.22 kB / 3.511 GB, free: 372.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/7.137, allocations: 6.938 kB / 3.511 GB, free: 372.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-05/7.137, allocations: 7.875 kB / 3.511 GB, free: 372.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/7.147, allocations: 3.882 MB / 3.515 GB, free: 372.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/7.147, allocations: 3.406 kB / 3.515 GB, free: 372.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006187/7.147, allocations: 124.8 kB / 3.515 GB, free: 372.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009634/7.148, allocations: 319.6 kB / 3.515 GB, free: 372.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.512e-05/7.148, allocations: 15.48 kB / 3.515 GB, free: 372.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005901/7.154, allocations: 4.789 MB / 3.52 GB, free: 369.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/7.154, allocations: 0 / 3.52 GB, free: 369.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005459/7.16, allocations: 2.168 MB / 3.522 GB, free: 369.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001982/7.162, allocations: 0.7075 MB / 3.522 GB, free: 368.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003586/7.162, allocations: 22.08 kB / 3.523 GB, free: 368.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008265/7.163, allocations: 72.17 kB / 3.523 GB, free: 368.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004037/7.163, allocations: 111.9 kB / 3.523 GB, free: 368.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.046e-05/7.164, allocations: 37.42 kB / 3.523 GB, free: 368.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.007169/7.171, allocations: 3.392 MB / 3.526 GB, free: 368.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.21e-07/7.171, allocations: 0 / 3.526 GB, free: 368.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003743/7.174, allocations: 0.591 MB / 3.527 GB, free: 368.8 MB / 1.151 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_last) * 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.006995/7.182, allocations: 3.621 MB / 3.53 GB, free: 367.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002665/7.184, allocations: 1.252 MB / 3.531 GB, free: 367.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/7.184, allocations: 2.344 kB / 3.531 GB, free: 367.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00152/7.186, allocations: 0.8317 MB / 3.532 GB, free: 367.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003072/7.189, allocations: 325.4 kB / 3.532 GB, free: 367.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01531/7.204, allocations: 5.953 MB / 3.538 GB, free: 366.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002831/7.207, allocations: 2.024 MB / 3.54 GB, free: 365.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001931/7.209, allocations: 385.9 kB / 3.541 GB, free: 365.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00186/7.211, allocations: 1.156 MB / 3.542 GB, free: 365.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.012e-06/7.211, allocations: 0 / 3.542 GB, free: 365.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.118/7.329, allocations: 52.88 MB / 3.593 GB, free: 361.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002271/7.329, allocations: 188.5 kB / 3.594 GB, free: 361.3 MB / 1.151 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_9_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_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c In file included from Buildings_9_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_9_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_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:1103: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_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:1103:82: error: expected expression Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:1104:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2189:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2203:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2219:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2229:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2240:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2287:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2335:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2355:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2376:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2385:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2392:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2402:1: error: expected '}' ^ Buildings_9_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_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.o] Error 1