Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",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.00104/0.00104, allocations: 180.9 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.7572/0.7572, allocations: 133.6 MB / 141.6 MB, free: 2.902 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.439/1.439, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.0009533/0.0009536, allocations: 103.3 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.483e-05/2.52e-05, allocations: 4 kB / 0.5536 GB, free: 8.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5142/0.5142, allocations: 82.3 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.534/7.048, allocations: 2.151 GB / 2.785 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003435/7.049, allocations: 94.33 kB / 2.785 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1433/7.192, allocations: 67.38 MB / 2.851 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.004e-06/7.192, allocations: 0 / 2.851 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.117e-05/7.192, allocations: 24 kB / 2.851 GB, free: 106.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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.00203/7.194, allocations: 1.377 MB / 2.852 GB, free: 105 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/7.194, allocations: 8.031 kB / 2.852 GB, free: 105 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002576/7.195, allocations: 170 kB / 2.852 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003059/7.198, allocations: 1.56 MB / 2.854 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/7.198, allocations: 67 kB / 2.854 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.433e-05/7.198, allocations: 39.98 kB / 2.854 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005985/7.198, allocations: 338.5 kB / 2.854 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006805/7.199, allocations: 461.1 kB / 2.854 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/7.199, allocations: 3.984 kB / 2.854 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.175e-05/7.199, allocations: 7.922 kB / 2.854 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/7.199, allocations: 12 kB / 2.854 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003859/7.203, allocations: 2.85 MB / 2.857 GB, free: 99.24 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007324/7.204, allocations: 403.3 kB / 2.858 GB, free: 98.84 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004222/7.204, allocations: 267.2 kB / 2.858 GB, free: 98.57 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.552e-05/7.204, allocations: 4.375 kB / 2.858 GB, free: 98.57 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004672/7.205, allocations: 268.4 kB / 2.858 GB, free: 98.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=52): time 5.941e-06/7.205, allocations: 3.938 kB / 2.858 GB, free: 98.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=52): time 0.001428/7.206, allocations: 0.6637 MB / 2.859 GB, free: 97.61 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/7.206, allocations: 55.84 kB / 2.859 GB, free: 97.55 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002498/7.209, allocations: 1.768 MB / 2.861 GB, free: 95.77 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.63e-05/7.209, allocations: 33.69 kB / 2.861 GB, free: 95.73 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004509/7.209, allocations: 0.6008 MB / 2.861 GB, free: 95.12 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/7.21, allocations: 161.7 kB / 2.861 GB, free: 94.96 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.446e-05/7.21, allocations: 4 kB / 2.861 GB, free: 94.95 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.818e-05/7.21, allocations: 326 kB / 2.862 GB, free: 94.63 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000243/7.21, allocations: 169.5 kB / 2.862 GB, free: 94.46 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/7.21, allocations: 277.6 kB / 2.862 GB, free: 94.15 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/7.211, allocations: 189.5 kB / 2.862 GB, free: 93.96 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/7.211, allocations: 4 kB / 2.862 GB, free: 93.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001128/7.212, allocations: 0.7225 MB / 2.863 GB, free: 93.23 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/7.212, allocations: 8 kB / 2.863 GB, free: 93.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/7.212, allocations: 4 kB / 2.863 GB, free: 93.22 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004438/7.212, allocations: 152.7 kB / 2.863 GB, free: 93.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004173/7.213, allocations: 123.9 kB / 2.863 GB, free: 92.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002748/7.215, allocations: 2.543 MB / 2.866 GB, free: 90.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005392/7.216, allocations: 95.39 kB / 2.866 GB, free: 90.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.896e-05/7.216, allocations: 20 kB / 2.866 GB, free: 90.18 MB / 0.6823 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.0001539/7.216, allocations: 127.1 kB / 2.866 GB, free: 90.05 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009911/7.217, allocations: 0.6677 MB / 2.867 GB, free: 89.37 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/7.217, allocations: 138.3 kB / 2.867 GB, free: 89.23 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/7.219, allocations: 0.729 MB / 2.868 GB, free: 88.48 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/7.219, allocations: 11.89 kB / 2.868 GB, free: 88.47 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/7.219, allocations: 4 kB / 2.868 GB, free: 88.47 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/7.219, allocations: 3.984 kB / 2.868 GB, free: 88.46 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002439/7.221, allocations: 1.816 MB / 2.869 GB, free: 86.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/7.221, allocations: 0 / 2.869 GB, free: 86.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/7.221, allocations: 67.89 kB / 2.869 GB, free: 86.53 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004231/7.222, allocations: 174.5 kB / 2.87 GB, free: 86.36 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.696e-05/7.222, allocations: 15.94 kB / 2.87 GB, free: 86.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003001/7.225, allocations: 3.865 MB / 2.873 GB, free: 82.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/7.225, allocations: 0 / 2.873 GB, free: 82.24 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001469/7.226, allocations: 1.025 MB / 2.874 GB, free: 81.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004587/7.227, allocations: 347.2 kB / 2.875 GB, free: 80.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/7.227, allocations: 12 kB / 2.875 GB, free: 80.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003852/7.227, allocations: 47.86 kB / 2.875 GB, free: 80.78 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/7.227, allocations: 56.47 kB / 2.875 GB, free: 80.72 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.27e-05/7.227, allocations: 19.98 kB / 2.875 GB, free: 80.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001531/7.229, allocations: 1.392 MB / 2.876 GB, free: 79.31 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/7.229, allocations: 0 / 2.876 GB, free: 79.31 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001159/7.23, allocations: 319.5 kB / 2.876 GB, free: 79 MB / 0.6823 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.003143/7.233, allocations: 2.446 MB / 2.879 GB, free: 76.62 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001127/7.234, allocations: 0.6259 MB / 2.879 GB, free: 75.99 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/7.234, allocations: 0 / 2.879 GB, free: 75.99 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006102/7.235, allocations: 0.5129 MB / 2.88 GB, free: 75.46 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/7.236, allocations: 197.9 kB / 2.88 GB, free: 75.27 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004323/7.241, allocations: 2.671 MB / 2.883 GB, free: 72.54 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006436/7.241, allocations: 1.27 MB / 2.884 GB, free: 71.25 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004216/7.242, allocations: 160.9 kB / 2.884 GB, free: 71.09 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005308/7.242, allocations: 499.3 kB / 2.885 GB, free: 70.6 MB / 0.6823 GB Notification: Performance of SimCode: time 8.62e-07/7.242, allocations: 0 / 2.885 GB, free: 70.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05737/7.3, allocations: 27.7 MB / 2.912 GB, free: 43.02 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/7.3, allocations: 173.1 kB / 2.912 GB, free: 42.83 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. -DOMC_MODEL_PREFIX=IDEAS_IDEAS_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 IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.o IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c In file included from IDEAS_IDEAS_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 IDEAS_IDEAS_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); ^ IDEAS_IDEAS_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. ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:513:82: error: expected expression IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:514:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:999:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ IDEAS_IDEAS_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) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1029:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ IDEAS_IDEAS_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) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1050:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ IDEAS_IDEAS_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) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1111:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ IDEAS_IDEAS_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) { ^ IDEAS_IDEAS_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){ ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1149:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1156:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1166:1: error: expected '}' ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_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_TestCase6_FMU.o] Error 1