Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",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.7996/0.7996, 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.001126/0.001126, allocations: 176.9 kB / 164.7 MB, free: 6.535 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.874/1.874, allocations: 205.2 MB / 399.5 MB, free: 5.934 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.001069/0.001069, allocations: 86.42 kB / 476.7 MB, free: 8.664 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.67e-05/1.633e-05, allocations: 0 / 0.5467 GB, free: 60.41 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1716, allocations: 76.76 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.325/1.496, allocations: 412.5 MB / 1.024 GB, free: 105.3 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/1.497, allocations: 93.69 kB / 1.025 GB, free: 105.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.08165/1.578, allocations: 40.04 MB / 1.064 GB, free: 71.27 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.634e-06/1.578, allocations: 3.938 kB / 1.064 GB, free: 71.27 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.466e-05/1.579, allocations: 28 kB / 1.064 GB, free: 71.24 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001965/1.581, allocations: 1.315 MB / 1.065 GB, free: 69.88 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/1.581, allocations: 8.031 kB / 1.065 GB, free: 69.87 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002746/1.581, allocations: 162.4 kB / 1.065 GB, free: 69.71 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002949/1.584, allocations: 1.548 MB / 1.067 GB, free: 68.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/1.584, allocations: 63 kB / 1.067 GB, free: 68.04 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.542e-05/1.584, allocations: 28 kB / 1.067 GB, free: 68.02 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005815/1.585, allocations: 338.5 kB / 1.067 GB, free: 67.68 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006857/1.585, allocations: 460.1 kB / 1.067 GB, free: 67.22 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/1.585, allocations: 4 kB / 1.067 GB, free: 67.22 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.936e-05/1.585, allocations: 0 / 1.067 GB, free: 67.22 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/1.585, allocations: 12 kB / 1.067 GB, free: 67.21 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002909/1.588, allocations: 2.607 MB / 1.07 GB, free: 64.39 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000745/1.589, allocations: 464.1 kB / 1.07 GB, free: 63.93 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003716/1.59, allocations: 271.4 kB / 1.071 GB, free: 63.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/1.59, allocations: 7.984 kB / 1.071 GB, free: 63.65 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003792/1.59, allocations: 267.9 kB / 1.071 GB, free: 63.38 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=50): time 1.953e-06/1.59, allocations: 4 kB / 1.071 GB, free: 63.37 MB / 0.6355 GB Notification: Performance of matching and sorting (n=50): time 0.00114/1.591, allocations: 0.6521 MB / 1.072 GB, free: 62.71 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/1.591, allocations: 55.84 kB / 1.072 GB, free: 62.64 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002275/1.593, allocations: 1.759 MB / 1.073 GB, free: 60.87 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.945e-05/1.593, allocations: 29.7 kB / 1.073 GB, free: 60.83 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003692/1.594, allocations: 0.5968 MB / 1.074 GB, free: 60.23 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.798e-05/1.594, allocations: 149.8 kB / 1.074 GB, free: 60.08 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.167e-05/1.594, allocations: 0 / 1.074 GB, free: 60.08 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.919e-05/1.594, allocations: 334 kB / 1.074 GB, free: 59.75 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/1.594, allocations: 149.5 kB / 1.075 GB, free: 59.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002607/1.595, allocations: 254.3 kB / 1.075 GB, free: 59.31 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002621/1.595, allocations: 201.2 kB / 1.075 GB, free: 59.12 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.595, allocations: 0 / 1.075 GB, free: 59.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001036/1.596, allocations: 0.6975 MB / 1.076 GB, free: 58.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/1.596, allocations: 4 kB / 1.076 GB, free: 58.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/1.596, allocations: 4 kB / 1.076 GB, free: 58.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004478/1.596, allocations: 164.8 kB / 1.076 GB, free: 58.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003181/1.597, allocations: 91.81 kB / 1.076 GB, free: 58.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002574/1.599, allocations: 2.54 MB / 1.078 GB, free: 55.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004273/1.6, allocations: 63.62 kB / 1.079 GB, free: 55.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.674e-05/1.6, allocations: 23.98 kB / 1.079 GB, free: 55.41 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: 24 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition6,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$PRE.setTemp.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,setTemp.nextTimeEvent,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000133/1.6, allocations: 127 kB / 1.079 GB, free: 55.28 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009616/1.601, allocations: 0.656 MB / 1.079 GB, free: 54.61 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/1.601, allocations: 138.3 kB / 1.079 GB, free: 54.47 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/1.602, allocations: 0.7177 MB / 1.08 GB, free: 53.73 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/1.602, allocations: 11.98 kB / 1.08 GB, free: 53.72 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.602, allocations: 0 / 1.08 GB, free: 53.72 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/1.602, allocations: 4 kB / 1.08 GB, free: 53.72 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002073/1.604, allocations: 1.699 MB / 1.082 GB, free: 51.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/1.604, allocations: 0 / 1.082 GB, free: 51.97 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/1.605, allocations: 63.89 kB / 1.082 GB, free: 51.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000385/1.605, allocations: 173.6 kB / 1.082 GB, free: 51.73 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/1.605, allocations: 11.94 kB / 1.082 GB, free: 51.72 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003002/1.608, allocations: 3.842 MB / 1.086 GB, free: 47.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/1.608, allocations: 3.938 kB / 1.086 GB, free: 47.64 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/1.609, allocations: 1.001 MB / 1.087 GB, free: 46.61 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003462/1.61, allocations: 303.3 kB / 1.087 GB, free: 46.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/1.61, allocations: 7.984 kB / 1.087 GB, free: 46.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003808/1.61, allocations: 51.81 kB / 1.087 GB, free: 46.24 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/1.61, allocations: 64.33 kB / 1.087 GB, free: 46.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-05/1.61, allocations: 12 kB / 1.087 GB, free: 46.16 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001565/1.612, allocations: 1.383 MB / 1.089 GB, free: 44.78 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.01e-07/1.612, allocations: 0 / 1.089 GB, free: 44.78 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001002/1.613, allocations: 291.5 kB / 1.089 GB, free: 44.5 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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%) 14,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002511/1.616, allocations: 1.892 MB / 1.091 GB, free: 42.62 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001069/1.617, allocations: 0.6111 MB / 1.091 GB, free: 42 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.617, allocations: 3.938 kB / 1.091 GB, free: 42 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006538/1.617, allocations: 0.5129 MB / 1.092 GB, free: 41.46 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/1.618, allocations: 193.6 kB / 1.092 GB, free: 41.27 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003988/1.622, allocations: 2.612 MB / 1.095 GB, free: 38.62 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006849/1.623, allocations: 1.266 MB / 1.096 GB, free: 37.32 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003946/1.623, allocations: 160.8 kB / 1.096 GB, free: 37.17 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004913/1.624, allocations: 475.3 kB / 1.096 GB, free: 36.7 MB / 0.6355 GB Notification: Performance of SimCode: time 8.62e-07/1.624, allocations: 0 / 1.096 GB, free: 36.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04987/1.674, allocations: 22.98 MB / 1.119 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/1.674, allocations: 199.1 kB / 1.119 GB, free: 13.57 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_TestCase6 -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_TestCase6_FMU.o BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c In file included from BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_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_TestCase6_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_TestCase6_FMU.c:504: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_TestCase6_FMU.c:504:82: error: expected expression BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:505:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:981:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:995: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_TestCase6_FMU.c:1011:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1021: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_TestCase6_FMU.c:1032:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1059: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_TestCase6_FMU.c:1087:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1101:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1116: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_TestCase6_FMU.c:1125:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1132:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1142:1: error: expected '}' ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_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_TestCase6_FMU.o] Error 1