Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.465/1.465, allocations: 249.5 MB / 257 MB, free: 6.934 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001247/0.001247, allocations: 176.9 kB / 316.3 MB, free: 3.305 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.884/1.884, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 90.41 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.982e-05/1.971e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2343, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.758/7.993, allocations: 2.466 GB / 3.351 GB, free: 223.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/7.993, allocations: 91.31 kB / 3.352 GB, free: 223.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1241/8.117, allocations: 63.27 MB / 3.413 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.443e-06/8.117, allocations: 0 / 3.413 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.871e-05/8.117, allocations: 24 kB / 3.413 GB, free: 170.1 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001888/8.119, allocations: 1.226 MB / 3.415 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.813e-05/8.119, allocations: 8.031 kB / 3.415 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001905/8.119, allocations: 138.3 kB / 3.415 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002874/8.122, allocations: 1.448 MB / 3.416 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/8.122, allocations: 59 kB / 3.416 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.006e-05/8.122, allocations: 28 kB / 3.416 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000542/8.123, allocations: 310.5 kB / 3.417 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007058/8.124, allocations: 425 kB / 3.417 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/8.124, allocations: 0 / 3.417 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/8.124, allocations: 4 kB / 3.417 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/8.124, allocations: 8 kB / 3.417 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003307/8.127, allocations: 2.63 MB / 3.42 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006284/8.128, allocations: 365.1 kB / 3.42 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003386/8.128, allocations: 235.6 kB / 3.42 GB, free: 163 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.846e-05/8.128, allocations: 8.328 kB / 3.42 GB, free: 163 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003938/8.129, allocations: 243.6 kB / 3.42 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=45): time 2.856e-06/8.129, allocations: 0 / 3.42 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45): time 0.001175/8.13, allocations: 0.5916 MB / 3.421 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/8.13, allocations: 59.41 kB / 3.421 GB, free: 162 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002093/8.132, allocations: 1.458 MB / 3.422 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.753e-05/8.132, allocations: 29.7 kB / 3.422 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003889/8.132, allocations: 0.5058 MB / 3.423 GB, free: 160 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/8.132, allocations: 138.5 kB / 3.423 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.238e-05/8.133, allocations: 3.938 kB / 3.423 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001006/8.133, allocations: 330 kB / 3.423 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/8.133, allocations: 149 kB / 3.423 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002764/8.133, allocations: 259.9 kB / 3.424 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/8.133, allocations: 181.1 kB / 3.424 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/8.133, allocations: 0 / 3.424 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.000995/8.134, allocations: 0.6767 MB / 3.425 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/8.134, allocations: 4 kB / 3.425 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/8.135, allocations: 4 kB / 3.425 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005207/8.135, allocations: 154.3 kB / 3.425 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003806/8.135, allocations: 99.88 kB / 3.425 GB, free: 158 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003067/8.139, allocations: 2.507 MB / 3.427 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006696/8.139, allocations: 79.55 kB / 3.427 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.35e-05/8.139, allocations: 23.98 kB / 3.427 GB, free: 155.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (50): * Single equations (assignments): 49 * 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.0002086/8.139, allocations: 126.6 kB / 3.427 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001039/8.141, allocations: 0.5911 MB / 3.428 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/8.141, allocations: 118.6 kB / 3.428 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/8.142, allocations: 0.6456 MB / 3.429 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/8.142, allocations: 8 kB / 3.429 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/8.142, allocations: 0 / 3.429 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/8.142, allocations: 3.984 kB / 3.429 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002784/8.145, allocations: 1.607 MB / 3.43 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/8.145, allocations: 0 / 3.43 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002668/8.145, allocations: 55.91 kB / 3.43 GB, free: 152 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005018/8.146, allocations: 169.5 kB / 3.431 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-05/8.146, allocations: 8 kB / 3.431 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003605/8.149, allocations: 3.815 MB / 3.434 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/8.149, allocations: 3.938 kB / 3.434 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/8.151, allocations: 0.9026 MB / 3.435 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004267/8.151, allocations: 307.5 kB / 3.436 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/8.152, allocations: 7.938 kB / 3.436 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000355/8.152, allocations: 47.89 kB / 3.436 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/8.152, allocations: 52.34 kB / 3.436 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/8.152, allocations: 16 kB / 3.436 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001522/8.154, allocations: 1.147 MB / 3.437 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/8.154, allocations: 0 / 3.437 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001276/8.155, allocations: 295.5 kB / 3.437 GB, free: 145 MB / 0.8698 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: 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,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 22 * 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.002809/8.158, allocations: 2.316 MB / 3.439 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009385/8.159, allocations: 0.5764 MB / 3.44 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/8.159, allocations: 0 / 3.44 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005828/8.159, allocations: 0.4934 MB / 3.44 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009131/8.16, allocations: 177.4 kB / 3.441 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003302/8.164, allocations: 2.257 MB / 3.443 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005434/8.164, allocations: 1.177 MB / 3.444 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003106/8.164, allocations: 144.5 kB / 3.444 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003928/8.165, allocations: 399.3 kB / 3.444 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of SimCode: time 8.32e-07/8.165, allocations: 0 / 3.444 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04602/8.211, allocations: 24.55 MB / 3.468 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/8.211, allocations: 201.6 kB / 3.469 GB, free: 112.7 MB / 0.8698 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_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4 -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_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.o Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c In file included from Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:438: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_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:438:82: error: expected expression Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:439:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:845:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:859:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:875:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:885:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:896:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:921:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:947:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:959:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:972:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:981:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:988:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:998:1: error: expected '}' ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. make: *** [: Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.o] Error 1