Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",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.7523/0.7523, allocations: 127.4 MB / 134.9 MB, free: 3.715 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.001741/0.001741, allocations: 176.8 kB / 164.6 MB, free: 6.523 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.65/1.65, allocations: 205.2 MB / 399.5 MB, free: 5.938 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.001078/0.001078, allocations: 92.2 kB / 476.7 MB, free: 8.668 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.894e-05/1.895e-05, allocations: 4 kB / 0.5467 GB, free: 60.38 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1754, allocations: 76.75 MB / 0.6216 GB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.415/1.59, allocations: 412 MB / 1.024 GB, free: 105.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/1.59, allocations: 97.12 kB / 1.024 GB, free: 105.6 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.07404/1.664, allocations: 36.96 MB / 1.06 GB, free: 74.68 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.422e-06/1.664, allocations: 0 / 1.06 GB, free: 74.68 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.589e-05/1.665, allocations: 27.94 kB / 1.06 GB, free: 74.65 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001594/1.666, allocations: 1.168 MB / 1.061 GB, free: 73.44 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/1.666, allocations: 8.031 kB / 1.061 GB, free: 73.43 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/1.666, allocations: 134.4 kB / 1.061 GB, free: 73.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002664/1.669, allocations: 1.436 MB / 1.063 GB, free: 71.81 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/1.669, allocations: 59 kB / 1.063 GB, free: 71.75 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-05/1.669, allocations: 35.98 kB / 1.063 GB, free: 71.71 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005308/1.67, allocations: 306.5 kB / 1.063 GB, free: 71.41 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006326/1.67, allocations: 416.2 kB / 1.064 GB, free: 70.99 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/1.671, allocations: 4 kB / 1.064 GB, free: 70.99 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.811e-05/1.671, allocations: 0 / 1.064 GB, free: 70.99 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/1.671, allocations: 12 kB / 1.064 GB, free: 70.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00258/1.673, allocations: 2.38 MB / 1.066 GB, free: 68.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000739/1.674, allocations: 424.1 kB / 1.066 GB, free: 67.98 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003337/1.674, allocations: 237.9 kB / 1.067 GB, free: 67.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/1.674, allocations: 4 kB / 1.067 GB, free: 67.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003453/1.675, allocations: 239.2 kB / 1.067 GB, free: 67.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=43): time 1.904e-06/1.675, allocations: 0 / 1.067 GB, free: 67.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=43): time 0.001016/1.676, allocations: 0.5911 MB / 1.067 GB, free: 66.89 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/1.676, allocations: 55.41 kB / 1.068 GB, free: 66.83 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/1.678, allocations: 1.442 MB / 1.069 GB, free: 65.38 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/1.678, allocations: 33.7 kB / 1.069 GB, free: 65.34 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003394/1.678, allocations: 0.5019 MB / 1.069 GB, free: 64.83 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.907e-05/1.678, allocations: 130.1 kB / 1.07 GB, free: 64.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.048e-05/1.678, allocations: 0 / 1.07 GB, free: 64.7 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.275e-05/1.678, allocations: 330 kB / 1.07 GB, free: 64.37 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/1.678, allocations: 141 kB / 1.07 GB, free: 64.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/1.679, allocations: 243 kB / 1.07 GB, free: 63.96 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/1.679, allocations: 172.4 kB / 1.07 GB, free: 63.79 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/1.679, allocations: 7.953 kB / 1.07 GB, free: 63.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009311/1.68, allocations: 0.6394 MB / 1.071 GB, free: 63.14 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/1.68, allocations: 8 kB / 1.071 GB, free: 63.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/1.68, allocations: 4 kB / 1.071 GB, free: 63.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004535/1.68, allocations: 156.8 kB / 1.071 GB, free: 62.97 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/1.681, allocations: 83.83 kB / 1.071 GB, free: 62.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002486/1.683, allocations: 2.502 MB / 1.074 GB, free: 60.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003809/1.684, allocations: 63.62 kB / 1.074 GB, free: 60.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.592e-05/1.684, allocations: 16 kB / 1.074 GB, free: 60.2 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition5,$whenCondition4,$PRE.intGai.nextTimeEvent,$whenCondition3,$PRE.reference.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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001384/1.684, allocations: 126.6 kB / 1.074 GB, free: 60.07 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008665/1.685, allocations: 0.5876 MB / 1.074 GB, free: 59.46 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/1.685, allocations: 122.6 kB / 1.075 GB, free: 59.34 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009881/1.686, allocations: 0.6344 MB / 1.075 GB, free: 58.69 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/1.686, allocations: 4 kB / 1.075 GB, free: 58.68 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/1.686, allocations: 4 kB / 1.075 GB, free: 58.68 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/1.686, allocations: 3.984 kB / 1.075 GB, free: 58.68 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001842/1.688, allocations: 1.49 MB / 1.077 GB, free: 57.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/1.688, allocations: 4 kB / 1.077 GB, free: 57.13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/1.688, allocations: 51.91 kB / 1.077 GB, free: 57.08 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003687/1.688, allocations: 169.5 kB / 1.077 GB, free: 56.91 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.233e-05/1.688, allocations: 11.98 kB / 1.077 GB, free: 56.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002846/1.691, allocations: 3.791 MB / 1.081 GB, free: 52.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.691, allocations: 0 / 1.081 GB, free: 52.88 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/1.692, allocations: 0.9005 MB / 1.082 GB, free: 51.96 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002717/1.693, allocations: 259.6 kB / 1.082 GB, free: 51.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/1.693, allocations: 15.94 kB / 1.082 GB, free: 51.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003295/1.693, allocations: 35.97 kB / 1.082 GB, free: 51.63 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/1.693, allocations: 55.84 kB / 1.082 GB, free: 51.58 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/1.693, allocations: 23.98 kB / 1.082 GB, free: 51.55 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001175/1.694, allocations: 1.135 MB / 1.083 GB, free: 50.41 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2e-07/1.694, allocations: 0 / 1.083 GB, free: 50.41 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008892/1.695, allocations: 259.5 kB / 1.083 GB, free: 50.16 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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%) 13,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002377/1.698, allocations: 1.788 MB / 1.085 GB, free: 48.39 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009308/1.699, allocations: 0.555 MB / 1.086 GB, free: 47.83 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/1.699, allocations: 0 / 1.086 GB, free: 47.83 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006001/1.699, allocations: 500 kB / 1.086 GB, free: 47.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008552/1.7, allocations: 172.7 kB / 1.086 GB, free: 47.15 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003532/1.704, allocations: 2.246 MB / 1.088 GB, free: 44.86 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000615/1.704, allocations: 1.173 MB / 1.089 GB, free: 43.66 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003045/1.705, allocations: 140.5 kB / 1.09 GB, free: 43.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004319/1.705, allocations: 407.3 kB / 1.09 GB, free: 43.12 MB / 0.6355 GB Notification: Performance of SimCode: time 1.883e-06/1.705, allocations: 0 / 1.09 GB, free: 43.12 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04689/1.752, allocations: 19.93 MB / 1.109 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/1.752, allocations: 191.1 kB / 1.11 GB, free: 23.05 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_TestCase4 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.o BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c In file included from BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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_TestCase4_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_TestCase4_FMU.c:430: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_TestCase4_FMU.c:430:82: error: expected expression BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:431:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:829:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:843: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_TestCase4_FMU.c:859:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:869: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_TestCase4_FMU.c:880:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:903: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_TestCase4_FMU.c:927:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:939:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:952: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_TestCase4_FMU.c:961:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:968:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:978:1: error: expected '}' ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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_TestCase4_FMU.o] Error 1