Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.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.TestCase8,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8",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.8071/0.8071, allocations: 127.4 MB / 134.9 MB, free: 3.75 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.001253/0.001253, allocations: 176.9 kB / 164.6 MB, free: 6.539 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.798/1.798, allocations: 205.2 MB / 399.5 MB, free: 5.93 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.0009336/0.0009333, allocations: 90.08 kB / 476.7 MB, free: 8.66 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.084e-05/2.086e-05, allocations: 7.984 kB / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1884, allocations: 76.75 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.409/1.597, allocations: 415 MB / 1.027 GB, free: 106.6 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/1.598, allocations: 94.88 kB / 1.027 GB, free: 106.6 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1129/1.711, allocations: 52.77 MB / 1.078 GB, free: 60 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.653e-06/1.711, allocations: 0 / 1.078 GB, free: 60 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001693/1.711, allocations: 51.88 kB / 1.079 GB, free: 59.95 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.003635/1.715, allocations: 2.239 MB / 1.081 GB, free: 57.65 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/1.715, allocations: 8.031 kB / 1.081 GB, free: 57.64 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000603/1.715, allocations: 316.1 kB / 1.081 GB, free: 57.33 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004922/1.72, allocations: 2.411 MB / 1.083 GB, free: 54.86 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/1.72, allocations: 79.69 kB / 1.083 GB, free: 54.78 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/1.72, allocations: 55.89 kB / 1.084 GB, free: 54.72 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001129/1.722, allocations: 0.6833 MB / 1.084 GB, free: 54.04 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/1.723, allocations: 0.6906 MB / 1.085 GB, free: 53.34 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/1.723, allocations: 0 / 1.085 GB, free: 53.34 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.606e-05/1.723, allocations: 7.984 kB / 1.085 GB, free: 53.33 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/1.723, allocations: 23.95 kB / 1.085 GB, free: 53.31 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005872/1.729, allocations: 4.231 MB / 1.089 GB, free: 48.81 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/1.73, allocations: 0.9595 MB / 1.09 GB, free: 47.84 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005806/1.731, allocations: 459.7 kB / 1.09 GB, free: 47.39 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.644e-05/1.731, allocations: 12.78 kB / 1.09 GB, free: 47.38 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000742/1.732, allocations: 497.1 kB / 1.091 GB, free: 46.88 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=92): time 3.527e-06/1.732, allocations: 0 / 1.091 GB, free: 46.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=92): time 0.002473/1.734, allocations: 1.303 MB / 1.092 GB, free: 45.55 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/1.734, allocations: 64.19 kB / 1.092 GB, free: 45.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005868/1.74, allocations: 3.737 MB / 1.096 GB, free: 41.73 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002275/1.74, allocations: 33.7 kB / 1.096 GB, free: 41.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007859/1.741, allocations: 1.155 MB / 1.097 GB, free: 40.53 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/1.741, allocations: 287.9 kB / 1.097 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.135e-05/1.741, allocations: 0 / 1.097 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.66e-05/1.741, allocations: 349.9 kB / 1.098 GB, free: 39.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004273/1.742, allocations: 310.5 kB / 1.098 GB, free: 39.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004902/1.742, allocations: 468.8 kB / 1.098 GB, free: 39.09 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000509/1.743, allocations: 388.8 kB / 1.099 GB, free: 38.71 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/1.743, allocations: 0 / 1.099 GB, free: 38.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002307/1.745, allocations: 1.37 MB / 1.1 GB, free: 37.33 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/1.745, allocations: 4 kB / 1.1 GB, free: 37.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/1.745, allocations: 4 kB / 1.1 GB, free: 37.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008133/1.746, allocations: 328.1 kB / 1.1 GB, free: 37 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005306/1.747, allocations: 159.7 kB / 1.101 GB, free: 36.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004273/1.751, allocations: 4.81 MB / 1.105 GB, free: 31.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/1.752, allocations: 103.4 kB / 1.105 GB, free: 31.69 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.506e-05/1.752, allocations: 35.98 kB / 1.105 GB, free: 31.65 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: 36 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp1.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.tableSolRadWall.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,outdoorTemp1.nextTimeEvent,$PRE.outdoorTemp1.nextTimeEventScaled,outdoorTemp1.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 86 * 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.0002349/1.753, allocations: 130.1 kB / 1.106 GB, free: 31.52 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002339/1.755, allocations: 1.314 MB / 1.107 GB, free: 30.19 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004104/1.755, allocations: 276.5 kB / 1.107 GB, free: 29.92 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002536/1.758, allocations: 1.479 MB / 1.109 GB, free: 28.42 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/1.758, allocations: 8.141 kB / 1.109 GB, free: 28.41 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/1.758, allocations: 11.98 kB / 1.109 GB, free: 28.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/1.758, allocations: 3.984 kB / 1.109 GB, free: 28.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004515/1.762, allocations: 3.325 MB / 1.112 GB, free: 25.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.762, allocations: 0 / 1.112 GB, free: 25.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004198/1.763, allocations: 103.9 kB / 1.112 GB, free: 24.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008046/1.764, allocations: 329.4 kB / 1.112 GB, free: 24.58 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.954e-05/1.764, allocations: 15.98 kB / 1.112 GB, free: 24.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004161/1.768, allocations: 4.79 MB / 1.117 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.768, allocations: 0 / 1.117 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00314/1.771, allocations: 1.99 MB / 1.119 GB, free: 17.53 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001125/1.772, allocations: 0.552 MB / 1.119 GB, free: 16.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005513/1.773, allocations: 16 kB / 1.119 GB, free: 16.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009617/1.774, allocations: 67.84 kB / 1.119 GB, free: 16.87 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002134/1.774, allocations: 97.16 kB / 1.12 GB, free: 16.78 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.135e-05/1.774, allocations: 31.98 kB / 1.12 GB, free: 16.75 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.004335/1.778, allocations: 2.941 MB / 1.122 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.5e-07/1.778, allocations: 0 / 1.122 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002098/1.781, allocations: 0.5071 MB / 1.123 GB, free: 13.3 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: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp1.nextTimeEvent,outdoorTemp1.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp1.nextTimeEvent,tableSolRadWindow.nextTimeEvent,tableSolRadWall.nextTimeEvent,mean.x,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp1.nextTimeEventScaled,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.004589/1.785, allocations: 2.909 MB / 1.126 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001883/1.787, allocations: 1.175 MB / 1.127 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/1.787, allocations: 0 / 1.127 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001152/1.788, allocations: 0.7932 MB / 1.128 GB, free: 8.406 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00249/1.791, allocations: 287.1 kB / 1.128 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/1.802, allocations: 5.273 MB / 1.133 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002168/1.804, allocations: 1.876 MB / 1.135 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001122/1.805, allocations: 347 kB / 1.135 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3752/2.181, allocations: 1.001 MB / 1.136 GB, free: 189.1 MB / 0.6355 GB Notification: Performance of SimCode: time 1.463e-06/2.181, allocations: 0.9375 kB / 1.136 GB, free: 189.1 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1068/2.287, allocations: 43.29 MB / 1.179 GB, free: 186.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001905/2.288, allocations: 191.1 kB / 1.179 GB, free: 186.7 MB / 0.6355 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_TestCase8 -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_TestCase8_FMU.o BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c In file included from BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_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_TestCase8_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_TestCase8_FMU.c:968: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_TestCase8_FMU.c:968:82: error: expected expression BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:969:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:1919:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:1933: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_TestCase8_FMU.c:1949:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:1959: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_TestCase8_FMU.c:1970:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:2010: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_TestCase8_FMU.c:2051:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:2069:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:2088: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_TestCase8_FMU.c:2097:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:2104:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:2114:1: error: expected '}' ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_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_TestCase8_FMU.o] Error 1