Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001385, allocations: 178.4 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7945/0.7945, allocations: 133.6 MB / 141.6 MB, free: 2.906 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.703/1.703, allocations: 221.5 MB / 395.5 MB, free: 10.82 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009797/0.0009797, allocations: 94.33 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.141e-05/3.179e-05, allocations: 0 / 0.5535 GB, free: 8.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6029/0.603, allocations: 82.31 MB / 0.6339 GB, free: 40.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.587/7.19, allocations: 2.154 GB / 2.788 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/7.19, allocations: 95.94 kB / 2.788 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.9887/8.179, allocations: 189.5 MB / 2.973 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.104e-06/8.179, allocations: 0 / 2.973 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004672/8.18, allocations: 60.38 kB / 2.973 GB, free: 178.5 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.007934/8.188, allocations: 2.306 MB / 2.976 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.563e-05/8.188, allocations: 9.344 kB / 2.976 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001841/8.19, allocations: 315.5 kB / 2.976 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008964/8.199, allocations: 2.447 MB / 2.978 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002921/8.199, allocations: 85.88 kB / 2.978 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000616/8.2, allocations: 71.55 kB / 2.978 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00267/8.202, allocations: 0.71 MB / 2.979 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002567/8.205, allocations: 0.8754 MB / 2.98 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.542e-05/8.205, allocations: 3.469 kB / 2.98 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/8.205, allocations: 7.719 kB / 2.98 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.839e-05/8.205, allocations: 23.56 kB / 2.98 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01027/8.215, allocations: 4.596 MB / 2.984 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/8.217, allocations: 0.8004 MB / 2.985 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007522/8.218, allocations: 446.5 kB / 2.986 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004933/8.218, allocations: 0.5071 MB / 2.986 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008804/8.219, allocations: 474.9 kB / 2.987 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=94): time 4.248e-06/8.219, allocations: 0 / 2.987 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=94): time 0.003161/8.222, allocations: 1.157 MB / 2.988 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/8.223, allocations: 64.03 kB / 2.988 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009406/8.232, allocations: 3.318 MB / 2.991 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003534/8.232, allocations: 35.66 kB / 2.991 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00177/8.234, allocations: 1.15 MB / 2.992 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000671/8.235, allocations: 297.3 kB / 2.992 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/8.235, allocations: 0 / 2.992 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002009/8.235, allocations: 342.7 kB / 2.993 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007065/8.236, allocations: 311.2 kB / 2.993 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007764/8.237, allocations: 495.1 kB / 2.994 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/8.238, allocations: 382.9 kB / 2.994 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-05/8.238, allocations: 0 / 2.994 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003528/8.241, allocations: 1.264 MB / 2.995 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.958e-05/8.241, allocations: 5.469 kB / 2.995 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/8.241, allocations: 7.219 kB / 2.995 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007201/8.242, allocations: 213.8 kB / 2.995 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008137/8.243, allocations: 210.4 kB / 2.996 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004499/8.247, allocations: 4.072 MB / 3 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/8.249, allocations: 136.6 kB / 3 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/8.249, allocations: 45.97 kB / 3 GB, free: 170.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.ventRate.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,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,$PRE.ventRate.nextTimeEventScaled,ventRate.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 15,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003004/8.25, allocations: 137.2 kB / 3 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003151/8.253, allocations: 1.17 MB / 3.001 GB, free: 169.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009103/8.254, allocations: 267.3 kB / 3.001 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003075/8.257, allocations: 1.354 MB / 3.003 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.865e-05/8.257, allocations: 12.03 kB / 3.003 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/8.257, allocations: 7.094 kB / 3.003 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001841/8.259, allocations: 1.214 MB / 3.004 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007856/8.267, allocations: 3.349 MB / 3.007 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/8.267, allocations: 3.047 kB / 3.007 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000547/8.267, allocations: 124.9 kB / 3.007 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006764/8.268, allocations: 250.5 kB / 3.007 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.721e-05/8.268, allocations: 11.45 kB / 3.007 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004146/8.272, allocations: 4.633 MB / 3.012 GB, free: 165 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.79e-06/8.272, allocations: 0 / 3.012 GB, free: 165 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003738/8.276, allocations: 1.89 MB / 3.014 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001684/8.278, allocations: 0.6004 MB / 3.014 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007798/8.278, allocations: 18.81 kB / 3.014 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/8.28, allocations: 70.77 kB / 3.014 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002678/8.28, allocations: 100 kB / 3.015 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.13e-05/8.28, allocations: 35.91 kB / 3.015 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.005436/8.286, allocations: 2.592 MB / 3.017 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/8.286, allocations: 3.875 kB / 3.017 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003225/8.289, allocations: 0.5949 MB / 3.018 GB, free: 162.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 22 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,ventRate.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,ventRate.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,ventRate.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 15,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.006667/8.296, allocations: 3.668 MB / 3.021 GB, free: 161 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002307/8.298, allocations: 1.113 MB / 3.022 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/8.298, allocations: 3.844 kB / 3.022 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001519/8.299, allocations: 0.7347 MB / 3.023 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004604/8.304, allocations: 455.8 kB / 3.024 GB, free: 160 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01691/8.321, allocations: 5.085 MB / 3.028 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002886/8.324, allocations: 1.817 MB / 3.03 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001744/8.326, allocations: 341.4 kB / 3.031 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001756/8.328, allocations: 1.009 MB / 3.032 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.252e-06/8.328, allocations: 0 / 3.032 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0962/8.424, allocations: 50.52 MB / 3.081 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/8.424, allocations: 181.1 kB / 3.081 GB, free: 123.9 MB / 0.6823 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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.o IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c In file included from IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_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 IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_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); ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:920:82: warning: missing terminating '"' character [-Winvalid-pp-token] comp->fmuData->modelData->stringParameterData[0].attribute.start = mmc_mk_scon("Inputs differ by more than threShold. ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:920:82: error: expected expression IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:921:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:1825:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:1839:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:1855:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:1865:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:1876:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:1940:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:2005:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:2023:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:2042:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:2051:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:2058:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:2068:1: error: expected '}' ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. make: *** [: IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.o] Error 1