Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.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.TestCase7,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",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.075/2.075, allocations: 390.5 MB / 398 MB, free: 10.96 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.0009604/0.0009604, allocations: 180.4 kB / 491.2 MB, free: 1.586 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.316/1.316, allocations: 221.5 MB / 0.7868 GB, free: 13.24 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.0008927/0.0008927, allocations: 93.62 kB / 0.9269 GB, free: 13.74 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.527e-05/1.53e-05, allocations: 0 / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2368, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.117/5.354, allocations: 2.193 GB / 3.405 GB, free: 107.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/5.354, allocations: 100.7 kB / 3.405 GB, free: 107.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1424/5.496, allocations: 70.93 MB / 3.474 GB, free: 36 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.312e-06/5.497, allocations: 0 / 3.474 GB, free: 36 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001941/5.497, allocations: 35.94 kB / 3.474 GB, free: 35.97 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.00302/5.5, allocations: 1.529 MB / 3.476 GB, free: 34.39 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/5.5, allocations: 12.02 kB / 3.476 GB, free: 34.38 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005686/5.5, allocations: 193.6 kB / 3.476 GB, free: 34.18 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003573/5.504, allocations: 1.676 MB / 3.478 GB, free: 32.46 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/5.504, allocations: 70.94 kB / 3.478 GB, free: 32.38 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/5.504, allocations: 44 kB / 3.478 GB, free: 32.34 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008075/5.505, allocations: 434.5 kB / 3.478 GB, free: 31.92 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009203/5.506, allocations: 0.591 MB / 3.479 GB, free: 31.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/5.506, allocations: 7.906 kB / 3.479 GB, free: 31.29 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.623e-05/5.506, allocations: 4 kB / 3.479 GB, free: 31.29 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/5.506, allocations: 12 kB / 3.479 GB, free: 31.27 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004547/5.511, allocations: 3.481 MB / 3.482 GB, free: 27.57 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000762/5.511, allocations: 0.4976 MB / 3.483 GB, free: 27.06 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004257/5.512, allocations: 306.5 kB / 3.483 GB, free: 26.76 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 4.551e-05/5.512, allocations: 20.48 kB / 3.483 GB, free: 26.74 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004386/5.512, allocations: 314 kB / 3.483 GB, free: 26.42 MB / 1.151 GB Notification: Performance of pre-optimization done (n=65): time 3.386e-06/5.512, allocations: 0 / 3.483 GB, free: 26.42 MB / 1.151 GB Notification: Performance of matching and sorting (n=65): time 0.001571/5.514, allocations: 0.8537 MB / 3.484 GB, free: 25.55 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/5.514, allocations: 115.4 kB / 3.484 GB, free: 25.41 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002858/5.517, allocations: 1.871 MB / 3.486 GB, free: 23.54 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.94e-05/5.517, allocations: 29.7 kB / 3.486 GB, free: 23.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000455/5.517, allocations: 0.6989 MB / 3.487 GB, free: 22.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000137/5.518, allocations: 205 kB / 3.487 GB, free: 22.59 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/5.518, allocations: 0 / 3.487 GB, free: 22.59 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.466e-05/5.518, allocations: 334 kB / 3.487 GB, free: 22.26 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002781/5.518, allocations: 201.5 kB / 3.488 GB, free: 22.07 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003317/5.518, allocations: 346.1 kB / 3.488 GB, free: 21.67 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003317/5.519, allocations: 237.9 kB / 3.488 GB, free: 21.44 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/5.519, allocations: 0 / 3.488 GB, free: 21.44 MB / 1.151 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001518/5.52, allocations: 0.9449 MB / 3.489 GB, free: 20.48 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/5.52, allocations: 11.98 kB / 3.489 GB, free: 20.46 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/5.52, allocations: 0 / 3.489 GB, free: 20.46 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006403/5.521, allocations: 232.4 kB / 3.489 GB, free: 20.24 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004205/5.521, allocations: 131.8 kB / 3.489 GB, free: 20.11 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003446/5.525, allocations: 3.156 MB / 3.492 GB, free: 16.84 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006868/5.525, allocations: 103.4 kB / 3.493 GB, free: 16.74 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.231e-05/5.526, allocations: 27.98 kB / 3.493 GB, free: 16.71 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 25 ($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,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 65 * 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: 0 * Non-linear torn systems: 1 {2 25} Notification: Performance of prepare postOptimizeDAE: time 0.0001525/5.526, allocations: 127.3 kB / 3.493 GB, free: 16.58 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001354/5.527, allocations: 0.8654 MB / 3.494 GB, free: 15.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002221/5.527, allocations: 162 kB / 3.494 GB, free: 15.54 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001601/5.529, allocations: 0.9142 MB / 3.495 GB, free: 14.61 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/5.529, allocations: 8 kB / 3.495 GB, free: 14.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/5.529, allocations: 0 / 3.495 GB, free: 14.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/5.529, allocations: 7.984 kB / 3.495 GB, free: 14.59 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003177/5.532, allocations: 2.143 MB / 3.497 GB, free: 12.39 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/5.532, allocations: 11.94 kB / 3.497 GB, free: 12.38 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002793/5.532, allocations: 67.95 kB / 3.497 GB, free: 12.32 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005949/5.533, allocations: 259.4 kB / 3.497 GB, free: 12.06 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.615e-05/5.533, allocations: 11.98 kB / 3.497 GB, free: 12.05 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003614/5.537, allocations: 4.296 MB / 3.501 GB, free: 7.516 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/5.537, allocations: 0 / 3.501 GB, free: 7.516 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/5.539, allocations: 1.272 MB / 3.502 GB, free: 6.223 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005648/5.539, allocations: 374.9 kB / 3.503 GB, free: 5.836 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002329/5.539, allocations: 15.95 kB / 3.503 GB, free: 5.82 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005282/5.54, allocations: 52.06 kB / 3.503 GB, free: 5.77 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/5.54, allocations: 72.45 kB / 3.503 GB, free: 5.699 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.425e-05/5.54, allocations: 31.98 kB / 3.503 GB, free: 5.668 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001916/5.542, allocations: 1.463 MB / 3.504 GB, free: 4.211 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.3e-07/5.542, allocations: 0 / 3.504 GB, free: 4.211 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001226/5.543, allocations: 372 kB / 3.505 GB, free: 3.848 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,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 (42): * Single equations (assignments): 32 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {3 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.003393/5.547, allocations: 2.693 MB / 3.507 GB, free: 1.227 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00126/5.548, allocations: 0.7561 MB / 3.508 GB, free: 468 kB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/5.548, allocations: 0 / 3.508 GB, free: 468 kB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.639/6.187, allocations: 0.6146 MB / 3.509 GB, free: 375.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001812/6.189, allocations: 229.7 kB / 3.509 GB, free: 375.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00632/6.195, allocations: 2.918 MB / 3.512 GB, free: 374.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/6.197, allocations: 1.349 MB / 3.513 GB, free: 374.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0006962/6.197, allocations: 196.5 kB / 3.513 GB, free: 374.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006737/6.198, allocations: 0.57 MB / 3.514 GB, free: 374.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.382e-06/6.198, allocations: 0 / 3.514 GB, free: 374.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08306/6.281, allocations: 32.55 MB / 3.546 GB, free: 372.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/6.281, allocations: 193.3 kB / 3.546 GB, free: 372.5 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_TestCase7 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_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_TestCase7_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_TestCase7_FMU.c:578: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_TestCase7_FMU.c:578:82: error: expected expression Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:579:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:1130:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:1144: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_TestCase7_FMU.c:1160:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:1170: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_TestCase7_FMU.c:1181:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:1218: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_TestCase7_FMU.c:1256:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:1270:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:1285: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_TestCase7_FMU.c:1294:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:1301:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:1311:1: error: expected '}' ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_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_TestCase7_FMU.o] Error 1