Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",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.7969/0.7969, allocations: 127.4 MB / 134.9 MB, free: 3.465 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.001436/0.001436, allocations: 175.5 kB / 164.6 MB, free: 11.62 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.823/1.823, 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.001009/0.001008, allocations: 99.59 kB / 476.7 MB, free: 1.516 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.855e-05/2.858e-05, allocations: 2.781 kB / 0.5467 GB, free: 95.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1938, allocations: 76.77 MB / 0.6216 GB, free: 43.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.434/1.628, allocations: 411.7 MB / 1.024 GB, free: 185.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003768/1.628, allocations: 94.89 kB / 1.024 GB, free: 185.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.08601/1.714, allocations: 36.96 MB / 1.06 GB, free: 176.8 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.723e-06/1.714, allocations: 0 / 1.06 GB, free: 176.8 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000208/1.714, allocations: 23.66 kB / 1.06 GB, free: 176.8 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.003029/1.718, allocations: 1.172 MB / 1.061 GB, free: 176 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/1.718, allocations: 11.78 kB / 1.061 GB, free: 176 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006087/1.718, allocations: 128.8 kB / 1.061 GB, free: 175.9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003973/1.722, allocations: 1.441 MB / 1.063 GB, free: 175.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/1.722, allocations: 57.75 kB / 1.063 GB, free: 175.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/1.723, allocations: 29.75 kB / 1.063 GB, free: 175.1 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007949/1.723, allocations: 313.5 kB / 1.063 GB, free: 175.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008148/1.724, allocations: 404.5 kB / 1.063 GB, free: 175 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/1.724, allocations: 0 / 1.063 GB, free: 175 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.28e-05/1.724, allocations: 11.92 kB / 1.063 GB, free: 175 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/1.724, allocations: 11.62 kB / 1.063 GB, free: 175 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003973/1.728, allocations: 2.385 MB / 1.066 GB, free: 173.4 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008865/1.729, allocations: 431 kB / 1.066 GB, free: 173.3 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003914/1.73, allocations: 226.4 kB / 1.066 GB, free: 173.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/1.73, allocations: 3.594 kB / 1.066 GB, free: 173.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000397/1.73, allocations: 240.3 kB / 1.067 GB, free: 173.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=43): time 3.347e-06/1.73, allocations: 0 / 1.067 GB, free: 173.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43): time 0.001332/1.731, allocations: 0.5903 MB / 1.067 GB, free: 173 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/1.731, allocations: 59.03 kB / 1.067 GB, free: 172.9 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002741/1.734, allocations: 1.446 MB / 1.069 GB, free: 172.6 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.494e-05/1.734, allocations: 25.7 kB / 1.069 GB, free: 172.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004372/1.735, allocations: 0.499 MB / 1.069 GB, free: 172.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/1.735, allocations: 137.6 kB / 1.069 GB, free: 172.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.322e-05/1.735, allocations: 0 / 1.069 GB, free: 172.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.128e-05/1.735, allocations: 321.2 kB / 1.07 GB, free: 172 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/1.735, allocations: 141.8 kB / 1.07 GB, free: 172 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/1.736, allocations: 240.1 kB / 1.07 GB, free: 171.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/1.736, allocations: 167.7 kB / 1.07 GB, free: 171.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/1.736, allocations: 3.953 kB / 1.07 GB, free: 171.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001308/1.737, allocations: 0.6516 MB / 1.071 GB, free: 171.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/1.737, allocations: 7.625 kB / 1.071 GB, free: 171.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/1.737, allocations: 3.938 kB / 1.071 GB, free: 171.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005005/1.738, allocations: 155.6 kB / 1.071 GB, free: 171.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003113/1.738, allocations: 84 kB / 1.071 GB, free: 171.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002898/1.741, allocations: 2.495 MB / 1.073 GB, free: 170.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005849/1.742, allocations: 63.91 kB / 1.073 GB, free: 170 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.462e-05/1.742, allocations: 17.66 kB / 1.073 GB, free: 170 MB / 0.6511 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.0001607/1.742, allocations: 131.5 kB / 1.074 GB, free: 169.9 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001139/1.743, allocations: 0.5835 MB / 1.074 GB, free: 169.6 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002552/1.743, allocations: 118.6 kB / 1.074 GB, free: 169.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/1.744, allocations: 0.6308 MB / 1.075 GB, free: 169 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/1.744, allocations: 7.938 kB / 1.075 GB, free: 169 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/1.744, allocations: 4 kB / 1.075 GB, free: 169 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/1.744, allocations: 0 / 1.075 GB, free: 169 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/1.747, allocations: 1.497 MB / 1.076 GB, free: 167.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/1.747, allocations: 0 / 1.076 GB, free: 167.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/1.747, allocations: 51.97 kB / 1.076 GB, free: 167.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004568/1.748, allocations: 177.1 kB / 1.077 GB, free: 167.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.835e-05/1.748, allocations: 15.73 kB / 1.077 GB, free: 167.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00323/1.751, allocations: 3.785 MB / 1.08 GB, free: 164.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/1.751, allocations: 4.031 kB / 1.08 GB, free: 164.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/1.752, allocations: 0.8962 MB / 1.081 GB, free: 163.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004282/1.753, allocations: 265.6 kB / 1.081 GB, free: 163.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001869/1.753, allocations: 11.52 kB / 1.081 GB, free: 163.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004119/1.753, allocations: 39.97 kB / 1.082 GB, free: 163.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/1.754, allocations: 50.89 kB / 1.082 GB, free: 163.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.591e-05/1.754, allocations: 19.3 kB / 1.082 GB, free: 163.1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001755/1.755, allocations: 1.139 MB / 1.083 GB, free: 162.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/1.755, allocations: 0 / 1.083 GB, free: 162.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001117/1.757, allocations: 259.1 kB / 1.083 GB, free: 162.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: 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.002506/1.759, allocations: 1.792 MB / 1.085 GB, free: 160.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001098/1.76, allocations: 0.5571 MB / 1.085 GB, free: 160.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.76, allocations: 3.938 kB / 1.085 GB, free: 160.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007195/1.761, allocations: 0.4908 MB / 1.086 GB, free: 159.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/1.762, allocations: 166.8 kB / 1.086 GB, free: 159.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004822/1.767, allocations: 2.253 MB / 1.088 GB, free: 157.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008691/1.768, allocations: 1.16 MB / 1.089 GB, free: 156.4 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004045/1.768, allocations: 146.4 kB / 1.089 GB, free: 156.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005099/1.769, allocations: 404.4 kB / 1.09 GB, free: 156.2 MB / 0.6511 GB Notification: Performance of SimCode: time 1.012e-06/1.769, allocations: 0 / 1.09 GB, free: 156.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05256/1.821, allocations: 19.92 MB / 1.109 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002892/1.822, allocations: 199.1 kB / 1.109 GB, free: 136.1 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_TestCase2 -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_TestCase2_FMU.o BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c In file included from BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_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_TestCase2_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_TestCase2_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_TestCase2_FMU.c:430:82: error: expected expression BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_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_TestCase2_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_TestCase2_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_TestCase2_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_TestCase2_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_TestCase2_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_TestCase2_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_TestCase2_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_TestCase2_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_TestCase2_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_TestCase2_FMU.c:961:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:968:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:978:1: error: expected '}' ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_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_TestCase2_FMU.o] Error 1