Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7468/0.7468, allocations: 127.4 MB / 134.9 MB, free: 3.703 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 176.9 kB / 164.6 MB, free: 6.52 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.875/1.875, allocations: 205.2 MB / 399.5 MB, free: 5.922 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009344/0.0009343, allocations: 86.34 kB / 476.7 MB, free: 8.645 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.897e-05/1.9e-05, allocations: 0 / 0.5467 GB, free: 60.38 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.171, allocations: 76.75 MB / 0.6216 GB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.313/1.484, allocations: 412.9 MB / 1.025 GB, free: 104.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/1.484, allocations: 92.39 kB / 1.025 GB, free: 104.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.09231/1.577, allocations: 45.41 MB / 1.069 GB, free: 65.32 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.142e-06/1.577, allocations: 0 / 1.069 GB, free: 65.32 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001444/1.577, allocations: 36 kB / 1.069 GB, free: 65.29 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.002538/1.58, allocations: 1.746 MB / 1.071 GB, free: 63.49 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/1.58, allocations: 12.03 kB / 1.071 GB, free: 63.48 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003232/1.58, allocations: 233.5 kB / 1.071 GB, free: 63.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003579/1.584, allocations: 1.847 MB / 1.073 GB, free: 61.33 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/1.584, allocations: 67 kB / 1.073 GB, free: 61.26 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.241e-05/1.584, allocations: 40 kB / 1.073 GB, free: 61.22 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000789/1.585, allocations: 478.5 kB / 1.074 GB, free: 60.75 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008189/1.585, allocations: 0.5076 MB / 1.074 GB, free: 60.24 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/1.585, allocations: 4 kB / 1.074 GB, free: 60.23 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.088e-05/1.585, allocations: 4 kB / 1.074 GB, free: 60.23 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/1.586, allocations: 12 kB / 1.074 GB, free: 60.22 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004079/1.59, allocations: 3.303 MB / 1.077 GB, free: 56.67 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/1.591, allocations: 0.676 MB / 1.078 GB, free: 55.98 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004483/1.591, allocations: 338.4 kB / 1.078 GB, free: 55.65 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.922e-05/1.591, allocations: 4.562 kB / 1.078 GB, free: 55.64 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005203/1.592, allocations: 357.8 kB / 1.079 GB, free: 55.29 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=67): time 3.828e-06/1.592, allocations: 0 / 1.079 GB, free: 55.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=67): time 0.001704/1.593, allocations: 0.9397 MB / 1.08 GB, free: 54.32 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/1.594, allocations: 63.97 kB / 1.08 GB, free: 54.25 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003801/1.597, allocations: 2.782 MB / 1.082 GB, free: 51.44 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.198e-05/1.597, allocations: 29.7 kB / 1.082 GB, free: 51.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006081/1.598, allocations: 0.8855 MB / 1.083 GB, free: 50.51 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/1.598, allocations: 205 kB / 1.083 GB, free: 50.31 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/1.598, allocations: 0 / 1.083 GB, free: 50.31 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.173e-05/1.598, allocations: 338 kB / 1.084 GB, free: 49.97 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002976/1.599, allocations: 221.5 kB / 1.084 GB, free: 49.76 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003369/1.599, allocations: 334.7 kB / 1.084 GB, free: 49.39 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003638/1.599, allocations: 265.9 kB / 1.085 GB, free: 49.12 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/1.599, allocations: 11.95 kB / 1.085 GB, free: 49.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001506/1.601, allocations: 0.9983 MB / 1.086 GB, free: 48.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/1.601, allocations: 11.95 kB / 1.086 GB, free: 48.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/1.601, allocations: 4 kB / 1.086 GB, free: 48.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006874/1.602, allocations: 269 kB / 1.086 GB, free: 47.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/1.602, allocations: 119.8 kB / 1.086 GB, free: 47.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003824/1.606, allocations: 4.464 MB / 1.09 GB, free: 43.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006213/1.606, allocations: 91.3 kB / 1.09 GB, free: 42.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.64e-05/1.607, allocations: 31.98 kB / 1.09 GB, free: 42.89 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition7,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$PRE.tableSolRadWindow.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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * 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 {(3,100.0%) 19,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001532/1.607, allocations: 125 kB / 1.091 GB, free: 42.77 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001385/1.608, allocations: 0.9391 MB / 1.091 GB, free: 41.81 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002297/1.608, allocations: 209.5 kB / 1.092 GB, free: 41.61 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/1.61, allocations: 1.049 MB / 1.093 GB, free: 40.54 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/1.61, allocations: 11.94 kB / 1.093 GB, free: 40.52 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/1.61, allocations: 4 kB / 1.093 GB, free: 40.52 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/1.61, allocations: 7.984 kB / 1.093 GB, free: 40.51 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003043/1.613, allocations: 2.454 MB / 1.095 GB, free: 38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/1.613, allocations: 0 / 1.095 GB, free: 38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002724/1.613, allocations: 79.89 kB / 1.095 GB, free: 37.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005623/1.614, allocations: 264.7 kB / 1.095 GB, free: 37.66 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-05/1.614, allocations: 11.98 kB / 1.095 GB, free: 37.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003593/1.618, allocations: 4.449 MB / 1.1 GB, free: 32.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/1.618, allocations: 0 / 1.1 GB, free: 32.98 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001896/1.62, allocations: 1.418 MB / 1.101 GB, free: 31.53 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005354/1.62, allocations: 438.3 kB / 1.102 GB, free: 31.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/1.62, allocations: 8 kB / 1.102 GB, free: 31.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004755/1.621, allocations: 59.86 kB / 1.102 GB, free: 31.02 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/1.621, allocations: 72.66 kB / 1.102 GB, free: 30.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.728e-05/1.621, allocations: 23.98 kB / 1.102 GB, free: 30.92 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002316/1.623, allocations: 2.199 MB / 1.104 GB, free: 28.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/1.623, allocations: 0 / 1.104 GB, free: 28.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001197/1.625, allocations: 389.4 kB / 1.104 GB, free: 28.32 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,mean.x) * Number of discrete variables: 19 ($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,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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 {(3,100.0%) 19,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002929/1.627, allocations: 2.337 MB / 1.107 GB, free: 26.02 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001339/1.629, allocations: 0.9009 MB / 1.107 GB, free: 25.09 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/1.629, allocations: 4 kB / 1.107 GB, free: 25.08 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007569/1.63, allocations: 0.6302 MB / 1.108 GB, free: 24.43 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/1.631, allocations: 235.3 kB / 1.108 GB, free: 24.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00547/1.636, allocations: 3.928 MB / 1.112 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009529/1.637, allocations: 1.571 MB / 1.114 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004997/1.638, allocations: 245.6 kB / 1.114 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007284/1.639, allocations: 0.7452 MB / 1.115 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of SimCode: time 7.52e-07/1.639, allocations: 0 / 1.115 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06692/1.706, allocations: 32.94 MB / 1.147 GB, free: 0.6914 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002874/1.706, allocations: 199 kB / 1.147 GB, free: 0.4922 MB / 0.6511 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=BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5 -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 BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.o BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c In file included from BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_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 BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_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); ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:735:82: warning: missing terminating '"' character [-Winvalid-pp-token] comp->fmuData->modelData->stringParameterData[0].attribute.start = mmc_mk_scon("Inputs differ by more than threShold. ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:735:82: error: expected expression BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:736:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1448:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1462:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1478:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1488:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1499:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1532:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1566:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1582:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1599:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1608:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1615:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1625:1: error: expected '}' ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. make: *** [: BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.o] Error 1