Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.386/2.386, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.001266/0.001266, allocations: 176.5 kB / 487.4 MB, free: 5.062 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.611/1.611, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 100.5 kB / 0.9219 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.573e-05/2.546e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3046, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.679/6.984, allocations: 2.192 GB / 3.398 GB, free: 131.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/6.984, allocations: 91.94 kB / 3.398 GB, free: 131.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1544/7.139, allocations: 70.91 MB / 3.467 GB, free: 60.05 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.934e-06/7.139, allocations: 0 / 3.467 GB, free: 60.05 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001468/7.139, allocations: 35.94 kB / 3.467 GB, free: 60.01 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.0025/7.142, allocations: 1.54 MB / 3.469 GB, free: 58.42 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/7.142, allocations: 12.03 kB / 3.469 GB, free: 58.41 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003522/7.142, allocations: 185.8 kB / 3.469 GB, free: 58.22 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003433/7.146, allocations: 1.683 MB / 3.471 GB, free: 56.49 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/7.146, allocations: 67 kB / 3.471 GB, free: 56.42 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-05/7.146, allocations: 43.91 kB / 3.471 GB, free: 56.38 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007507/7.147, allocations: 438.5 kB / 3.471 GB, free: 55.95 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009641/7.148, allocations: 0.5832 MB / 3.472 GB, free: 55.34 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/7.148, allocations: 4 kB / 3.472 GB, free: 55.33 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.473e-05/7.148, allocations: 7.984 kB / 3.472 GB, free: 55.32 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/7.148, allocations: 20 kB / 3.472 GB, free: 55.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004092/7.152, allocations: 3.474 MB / 3.475 GB, free: 51.61 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008125/7.153, allocations: 0.5092 MB / 3.476 GB, free: 51.08 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004277/7.153, allocations: 307 kB / 3.476 GB, free: 50.78 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 4.613e-05/7.153, allocations: 8.562 kB / 3.476 GB, free: 50.77 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004707/7.154, allocations: 333.7 kB / 3.476 GB, free: 50.43 MB / 1.151 GB Notification: Performance of pre-optimization done (n=65): time 3.948e-06/7.154, allocations: 0 / 3.476 GB, free: 50.43 MB / 1.151 GB Notification: Performance of matching and sorting (n=65): time 0.001541/7.155, allocations: 0.8421 MB / 3.477 GB, free: 49.58 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.054e-05/7.155, allocations: 111.4 kB / 3.477 GB, free: 49.44 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00251/7.158, allocations: 1.871 MB / 3.479 GB, free: 47.56 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.678e-05/7.158, allocations: 37.69 kB / 3.479 GB, free: 47.52 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004586/7.158, allocations: 0.6911 MB / 3.48 GB, free: 46.82 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/7.158, allocations: 209 kB / 3.48 GB, free: 46.62 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/7.158, allocations: 0 / 3.48 GB, free: 46.62 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.23e-05/7.159, allocations: 334 kB / 3.48 GB, free: 46.29 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002839/7.159, allocations: 201.5 kB / 3.48 GB, free: 46.09 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004256/7.159, allocations: 350 kB / 3.481 GB, free: 45.69 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000382/7.16, allocations: 238 kB / 3.481 GB, free: 45.46 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/7.16, allocations: 0 / 3.481 GB, free: 45.46 MB / 1.151 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001461/7.161, allocations: 0.9376 MB / 3.482 GB, free: 44.51 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/7.161, allocations: 8 kB / 3.482 GB, free: 44.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/7.161, allocations: 4.188 kB / 3.482 GB, free: 44.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006622/7.162, allocations: 239.3 kB / 3.482 GB, free: 44.26 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004405/7.162, allocations: 131.8 kB / 3.482 GB, free: 44.13 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003604/7.166, allocations: 3.158 MB / 3.485 GB, free: 40.86 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007265/7.167, allocations: 99.44 kB / 3.485 GB, free: 40.77 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.898e-05/7.167, allocations: 32 kB / 3.485 GB, free: 40.73 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.0001778/7.167, allocations: 135.2 kB / 3.486 GB, free: 40.6 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00139/7.168, allocations: 0.8537 MB / 3.486 GB, free: 39.73 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/7.169, allocations: 166 kB / 3.486 GB, free: 39.57 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00172/7.17, allocations: 0.9182 MB / 3.487 GB, free: 38.62 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/7.17, allocations: 7.953 kB / 3.487 GB, free: 38.62 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/7.17, allocations: 8 kB / 3.487 GB, free: 38.61 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/7.17, allocations: 0 / 3.487 GB, free: 38.61 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003295/7.174, allocations: 2.15 MB / 3.49 GB, free: 36.41 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/7.174, allocations: 0 / 3.49 GB, free: 36.41 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002847/7.174, allocations: 67.89 kB / 3.49 GB, free: 36.34 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006029/7.174, allocations: 258.9 kB / 3.49 GB, free: 36.08 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.048e-05/7.175, allocations: 7.984 kB / 3.49 GB, free: 36.07 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003815/7.178, allocations: 4.302 MB / 3.494 GB, free: 31.55 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/7.178, allocations: 0 / 3.494 GB, free: 31.55 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/7.18, allocations: 1.268 MB / 3.495 GB, free: 30.25 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005355/7.181, allocations: 378.9 kB / 3.496 GB, free: 29.86 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/7.181, allocations: 19.94 kB / 3.496 GB, free: 29.84 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004872/7.182, allocations: 51.91 kB / 3.496 GB, free: 29.79 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/7.182, allocations: 80.38 kB / 3.496 GB, free: 29.71 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/7.182, allocations: 19.98 kB / 3.496 GB, free: 29.69 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001714/7.184, allocations: 1.459 MB / 3.497 GB, free: 28.24 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.21e-07/7.184, allocations: 0 / 3.497 GB, free: 28.24 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00129/7.185, allocations: 379.9 kB / 3.498 GB, free: 27.87 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.003696/7.189, allocations: 2.693 MB / 3.5 GB, free: 25.25 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001435/7.19, allocations: 0.7523 MB / 3.501 GB, free: 24.48 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/7.19, allocations: 4 kB / 3.501 GB, free: 24.48 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008858/7.191, allocations: 0.6178 MB / 3.502 GB, free: 23.84 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/7.192, allocations: 238.1 kB / 3.502 GB, free: 23.61 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005289/7.198, allocations: 2.937 MB / 3.505 GB, free: 20.63 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008113/7.198, allocations: 1.353 MB / 3.506 GB, free: 19.24 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0005427/7.199, allocations: 178 kB / 3.506 GB, free: 19.07 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006147/7.2, allocations: 0.5657 MB / 3.507 GB, free: 18.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.142e-06/7.2, allocations: 0 / 3.507 GB, free: 18.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9845/8.184, allocations: 32.55 MB / 3.538 GB, free: 379.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002186/8.184, allocations: 182.7 kB / 3.539 GB, free: 379.4 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_9_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_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c In file included from Buildings_9_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_9_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_9_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_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:578:82: error: expected expression Buildings_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:1294:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:1301:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:1311:1: error: expected '}' ^ Buildings_9_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_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.o] Error 1