Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.063/2.063, allocations: 390.5 MB / 398 MB, free: 10.94 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 183.7 kB / 491.2 MB, free: 1.551 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 221.5 MB / 0.7868 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009983/0.0009985, allocations: 87.89 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.628e-05/1.631e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2344, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.252/5.486, allocations: 2.189 GB / 3.401 GB, free: 111.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/5.487, allocations: 92.64 kB / 3.401 GB, free: 111.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1271/5.614, allocations: 67.4 MB / 3.467 GB, free: 43.41 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.152e-06/5.614, allocations: 8 kB / 3.467 GB, free: 43.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001852/5.614, allocations: 31.88 kB / 3.467 GB, free: 43.37 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002762/5.617, allocations: 1.365 MB / 3.468 GB, free: 41.96 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/5.617, allocations: 12.03 kB / 3.468 GB, free: 41.95 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003965/5.617, allocations: 166 kB / 3.469 GB, free: 41.78 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002932/5.62, allocations: 1.552 MB / 3.47 GB, free: 40.18 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/5.62, allocations: 67 kB / 3.47 GB, free: 40.11 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.635e-05/5.62, allocations: 35.91 kB / 3.47 GB, free: 40.07 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000558/5.621, allocations: 338.5 kB / 3.471 GB, free: 39.74 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006556/5.622, allocations: 473 kB / 3.471 GB, free: 39.27 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/5.622, allocations: 4 kB / 3.471 GB, free: 39.26 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.939e-05/5.622, allocations: 4 kB / 3.471 GB, free: 39.26 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/5.622, allocations: 12 kB / 3.471 GB, free: 39.25 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003159/5.625, allocations: 2.862 MB / 3.474 GB, free: 36.17 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000576/5.625, allocations: 401.3 kB / 3.474 GB, free: 35.77 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003446/5.626, allocations: 253.5 kB / 3.474 GB, free: 35.52 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/5.626, allocations: 12.31 kB / 3.474 GB, free: 35.51 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003692/5.626, allocations: 268.4 kB / 3.475 GB, free: 35.23 MB / 1.151 GB Notification: Performance of pre-optimization done (n=52): time 2.695e-06/5.626, allocations: 0 / 3.475 GB, free: 35.23 MB / 1.151 GB Notification: Performance of matching and sorting (n=52): time 0.001054/5.627, allocations: 0.6637 MB / 3.475 GB, free: 34.55 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/5.627, allocations: 63.83 kB / 3.475 GB, free: 34.48 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002128/5.629, allocations: 1.772 MB / 3.477 GB, free: 32.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.698e-05/5.63, allocations: 33.7 kB / 3.477 GB, free: 32.66 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003449/5.63, allocations: 0.593 MB / 3.478 GB, free: 32.05 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.467e-05/5.63, allocations: 165.7 kB / 3.478 GB, free: 31.89 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/5.63, allocations: 0 / 3.478 GB, free: 31.89 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.279e-05/5.63, allocations: 326 kB / 3.478 GB, free: 31.57 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/5.63, allocations: 165.5 kB / 3.478 GB, free: 31.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/5.631, allocations: 273.7 kB / 3.479 GB, free: 31.09 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/5.631, allocations: 198.6 kB / 3.479 GB, free: 30.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/5.631, allocations: 0 / 3.479 GB, free: 30.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009965/5.632, allocations: 0.7295 MB / 3.48 GB, free: 30.16 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/5.632, allocations: 8 kB / 3.48 GB, free: 30.16 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/5.632, allocations: 4 kB / 3.48 GB, free: 30.15 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004056/5.632, allocations: 158.8 kB / 3.48 GB, free: 30 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003722/5.633, allocations: 111.9 kB / 3.48 GB, free: 29.89 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002383/5.635, allocations: 2.545 MB / 3.482 GB, free: 27.23 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004747/5.636, allocations: 95.47 kB / 3.482 GB, free: 27.14 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/5.636, allocations: 28 kB / 3.482 GB, free: 27.11 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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_last,mean.y_last,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 (57): * Single equations (assignments): 56 * 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.0001195/5.636, allocations: 119.1 kB / 3.483 GB, free: 26.98 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009349/5.637, allocations: 0.6676 MB / 3.483 GB, free: 26.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/5.637, allocations: 146.2 kB / 3.483 GB, free: 26.16 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/5.638, allocations: 0.7212 MB / 3.484 GB, free: 25.41 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/5.638, allocations: 8 kB / 3.484 GB, free: 25.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/5.638, allocations: 4 kB / 3.484 GB, free: 25.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/5.638, allocations: 0 / 3.484 GB, free: 25.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002275/5.64, allocations: 1.832 MB / 3.486 GB, free: 23.51 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/5.64, allocations: 4 kB / 3.486 GB, free: 23.51 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002442/5.641, allocations: 59.86 kB / 3.486 GB, free: 23.45 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003594/5.641, allocations: 177.5 kB / 3.486 GB, free: 23.27 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/5.641, allocations: 11.98 kB / 3.486 GB, free: 23.26 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002767/5.644, allocations: 3.875 MB / 3.49 GB, free: 19.16 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/5.644, allocations: 3.938 kB / 3.49 GB, free: 19.16 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/5.645, allocations: 1.013 MB / 3.491 GB, free: 18.12 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004082/5.645, allocations: 351.2 kB / 3.491 GB, free: 17.76 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/5.646, allocations: 8 kB / 3.491 GB, free: 17.75 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003652/5.646, allocations: 39.97 kB / 3.491 GB, free: 17.71 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/5.646, allocations: 64.45 kB / 3.491 GB, free: 17.65 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/5.646, allocations: 19.98 kB / 3.491 GB, free: 17.63 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001322/5.647, allocations: 1.388 MB / 3.493 GB, free: 16.24 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/5.647, allocations: 7.938 kB / 3.493 GB, free: 16.23 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001006/5.648, allocations: 327.3 kB / 3.493 GB, free: 15.91 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,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_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 27 * 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.002808/5.651, allocations: 2.431 MB / 3.495 GB, free: 13.56 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001023/5.652, allocations: 0.6278 MB / 3.496 GB, free: 12.92 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/5.652, allocations: 0.6875 kB / 3.496 GB, free: 12.92 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005512/5.653, allocations: 0.513 MB / 3.496 GB, free: 12.39 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000953/5.654, allocations: 202.2 kB / 3.497 GB, free: 12.19 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003685/5.658, allocations: 2.677 MB / 3.499 GB, free: 9.461 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006172/5.658, allocations: 1.27 MB / 3.501 GB, free: 8.16 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003365/5.659, allocations: 172.8 kB / 3.501 GB, free: 7.992 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004861/5.659, allocations: 499.3 kB / 3.501 GB, free: 7.504 MB / 1.151 GB Notification: Performance of SimCode: time 8.81e-07/5.659, allocations: 0 / 3.501 GB, free: 7.504 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7031/6.362, allocations: 27.7 MB / 3.528 GB, free: 376.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/6.362, allocations: 188.2 kB / 3.528 GB, free: 376.6 MB / 1.151 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=Buildings_latest_Buildings_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 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c In file included from Buildings_latest_Buildings_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 Buildings_latest_Buildings_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); ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:513:82: warning: missing terminating '"' character [-Winvalid-pp-token] comp->fmuData->modelData->stringParameterData[0].attribute.start = mmc_mk_scon("Inputs differ by more than threShold. ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:513:82: error: expected expression Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:514:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:999:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1013:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1029:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1039:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1050:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1080:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1111:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1125:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1140:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1149:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1156:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1166:1: error: expected '}' ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. make: *** [: Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.o] Error 1