Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.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.TestCase9,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9",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.7844/0.7844, allocations: 127.4 MB / 134.9 MB, free: 3.477 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.001115/0.001115, allocations: 175.2 kB / 164.6 MB, free: 11.61 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.92/1.92, allocations: 205.2 MB / 399.5 MB, free: 13.52 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.001021/0.001021, allocations: 94.41 kB / 476.7 MB, free: 1.449 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.545e-05/2.538e-05, allocations: 2.656 kB / 0.5467 GB, free: 95.58 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1846, allocations: 76.77 MB / 0.6216 GB, free: 42.97 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.353/1.538, allocations: 415 MB / 1.027 GB, free: 235.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/1.538, allocations: 96 kB / 1.027 GB, free: 235.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1266/1.665, allocations: 55.83 MB / 1.082 GB, free: 180 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.633e-06/1.665, allocations: 0 / 1.082 GB, free: 180 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002522/1.665, allocations: 51.94 kB / 1.082 GB, free: 180 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.005573/1.671, allocations: 2.459 MB / 1.084 GB, free: 177.4 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.321e-05/1.671, allocations: 12.03 kB / 1.084 GB, free: 177.4 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009361/1.672, allocations: 343.7 kB / 1.084 GB, free: 177.1 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007233/1.679, allocations: 2.573 MB / 1.087 GB, free: 174.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/1.679, allocations: 79.62 kB / 1.087 GB, free: 174.4 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/1.68, allocations: 63.97 kB / 1.087 GB, free: 174.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001754/1.681, allocations: 0.7185 MB / 1.088 GB, free: 173.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/1.683, allocations: 0.7219 MB / 1.088 GB, free: 172.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.589e-05/1.683, allocations: 4 kB / 1.088 GB, free: 172.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.624e-05/1.683, allocations: 7.984 kB / 1.088 GB, free: 172.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/1.683, allocations: 23.95 kB / 1.088 GB, free: 172.8 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008378/1.692, allocations: 4.412 MB / 1.093 GB, free: 168.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/1.693, allocations: 1.003 MB / 1.094 GB, free: 167.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006211/1.694, allocations: 0.4991 MB / 1.094 GB, free: 166.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.316e-05/1.694, allocations: 12.73 kB / 1.094 GB, free: 166.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007144/1.694, allocations: 0.5294 MB / 1.095 GB, free: 166.1 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=102): time 4.108e-06/1.694, allocations: 0 / 1.095 GB, free: 166.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=102): time 0.002625/1.697, allocations: 1.421 MB / 1.096 GB, free: 164.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/1.697, allocations: 68.72 kB / 1.096 GB, free: 164.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006101/1.703, allocations: 4.297 MB / 1.1 GB, free: 160.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001251/1.703, allocations: 37.69 kB / 1.1 GB, free: 160.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009067/1.704, allocations: 1.33 MB / 1.102 GB, free: 158.9 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002421/1.705, allocations: 311.6 kB / 1.102 GB, free: 158.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/1.705, allocations: 0 / 1.102 GB, free: 158.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.247e-05/1.705, allocations: 349.9 kB / 1.102 GB, free: 158.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004579/1.705, allocations: 350.5 kB / 1.103 GB, free: 157.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005057/1.706, allocations: 497.7 kB / 1.103 GB, free: 157.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005393/1.706, allocations: 421.1 kB / 1.104 GB, free: 157 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/1.706, allocations: 0 / 1.104 GB, free: 157 MB / 0.6511 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002393/1.709, allocations: 1.473 MB / 1.105 GB, free: 155.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/1.709, allocations: 8 kB / 1.105 GB, free: 155.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/1.709, allocations: 11.92 kB / 1.105 GB, free: 155.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008219/1.71, allocations: 336.1 kB / 1.105 GB, free: 155.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005993/1.71, allocations: 167.7 kB / 1.105 GB, free: 155 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004983/1.715, allocations: 4.808 MB / 1.11 GB, free: 149.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/1.717, allocations: 115.2 kB / 1.11 GB, free: 149.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-05/1.717, allocations: 35.98 kB / 1.11 GB, free: 149.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (100): * Single equations (assignments): 98 * 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.000279/1.718, allocations: 138.1 kB / 1.11 GB, free: 149.6 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002407/1.72, allocations: 1.439 MB / 1.112 GB, free: 148.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003412/1.72, allocations: 320.1 kB / 1.112 GB, free: 147.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002785/1.723, allocations: 1.592 MB / 1.114 GB, free: 146.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/1.723, allocations: 16 kB / 1.114 GB, free: 146.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.723, allocations: 4 kB / 1.114 GB, free: 146.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/1.723, allocations: 7.922 kB / 1.114 GB, free: 146.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005147/1.728, allocations: 3.661 MB / 1.117 GB, free: 142.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/1.728, allocations: 0 / 1.117 GB, free: 142.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004645/1.729, allocations: 119.9 kB / 1.117 GB, free: 142.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007416/1.73, allocations: 329.5 kB / 1.118 GB, free: 142.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.256e-05/1.73, allocations: 19.97 kB / 1.118 GB, free: 142.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004111/1.734, allocations: 4.794 MB / 1.122 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/1.734, allocations: 3.984 kB / 1.122 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00323/1.737, allocations: 2.151 MB / 1.125 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009103/1.738, allocations: 0.6102 MB / 1.125 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002815/1.738, allocations: 19.98 kB / 1.125 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007033/1.739, allocations: 71.78 kB / 1.125 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002134/1.739, allocations: 113.4 kB / 1.125 GB, free: 134 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.277e-05/1.739, allocations: 31.98 kB / 1.125 GB, free: 134 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.003826/1.743, allocations: 3.381 MB / 1.129 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/1.743, allocations: 0 / 1.129 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001554/1.745, allocations: 0.5462 MB / 1.129 GB, free: 130.1 MB / 0.6511 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: 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,HSky.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 67 * 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.003953/1.749, allocations: 3.091 MB / 1.132 GB, free: 127.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001887/1.751, allocations: 1.245 MB / 1.133 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.751, allocations: 0 / 1.133 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009601/1.752, allocations: 0.8402 MB / 1.134 GB, free: 124.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/1.753, allocations: 312 kB / 1.135 GB, free: 124.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008609/1.762, allocations: 5.909 MB / 1.14 GB, free: 118.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001308/1.763, allocations: 2.023 MB / 1.142 GB, free: 116.6 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0008514/1.764, allocations: 395.6 kB / 1.143 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001112/1.765, allocations: 1.136 MB / 1.144 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of SimCode: time 2.315e-06/1.765, allocations: 0 / 1.144 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08591/1.851, allocations: 48.21 MB / 1.191 GB, free: 66.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001848/1.852, allocations: 199.1 kB / 1.191 GB, free: 66.71 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_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 BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.o BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c In file included from BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro_IBPSA_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); ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:1094:82: warning: missing terminating '"' character [-Winvalid-pp-token] comp->fmuData->modelData->stringParameterData[2].attribute.start = mmc_mk_scon("Inputs differ by more than threShold. ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:1094:82: error: expected expression BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:1095:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2171:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2185: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_TestCase9_FMU.c:2201:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2211: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_TestCase9_FMU.c:2222:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2266: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_TestCase9_FMU.c:2311:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2331:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2352: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_TestCase9_FMU.c:2361:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2368:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2378:1: error: expected '}' ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_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_TestCase9_FMU.o] Error 1