Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.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.TestCase8,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8",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.001335/0.001335, allocations: 172.5 kB / 7.647 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.808/0.808, allocations: 133.6 MB / 141.6 MB, free: 2.883 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.5/1.5, 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.0008842/0.0008842, allocations: 98.28 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.144e-05/2.145e-05, allocations: 0 / 0.5536 GB, free: 8.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4899/0.49, allocations: 82.31 MB / 0.6339 GB, free: 40.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.816/7.306, allocations: 2.153 GB / 2.787 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000405/7.306, allocations: 99.05 kB / 2.787 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1823/7.488, allocations: 80.12 MB / 2.865 GB, free: 30.31 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.034e-06/7.489, allocations: 0 / 2.865 GB, free: 30.31 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004756/7.489, allocations: 51.92 kB / 2.865 GB, free: 30.26 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: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.006597/7.496, allocations: 2.294 MB / 2.868 GB, free: 27.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.195e-05/7.496, allocations: 12.02 kB / 2.868 GB, free: 27.89 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001394/7.497, allocations: 320.5 kB / 2.868 GB, free: 27.57 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006726/7.504, allocations: 2.427 MB / 2.87 GB, free: 25.09 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001827/7.504, allocations: 87.67 kB / 2.87 GB, free: 25 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003481/7.504, allocations: 52 kB / 2.871 GB, free: 24.95 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001397/7.506, allocations: 0.6872 MB / 2.871 GB, free: 24.26 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/7.507, allocations: 0.7859 MB / 2.872 GB, free: 23.46 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/7.507, allocations: 0 / 2.872 GB, free: 23.46 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.841e-05/7.507, allocations: 8 kB / 2.872 GB, free: 23.45 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/7.507, allocations: 23.94 kB / 2.872 GB, free: 23.43 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007077/7.514, allocations: 4.52 MB / 2.876 GB, free: 18.63 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/7.516, allocations: 0.8503 MB / 2.877 GB, free: 17.77 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005954/7.516, allocations: 471 kB / 2.878 GB, free: 17.31 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.584e-05/7.516, allocations: 8.781 kB / 2.878 GB, free: 17.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006939/7.517, allocations: 0.4897 MB / 2.878 GB, free: 16.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=94): time 4.488e-06/7.517, allocations: 0 / 2.878 GB, free: 16.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=94): time 0.002434/7.519, allocations: 1.311 MB / 2.879 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/7.519, allocations: 64.19 kB / 2.879 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005755/7.525, allocations: 3.75 MB / 2.883 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000134/7.525, allocations: 33.7 kB / 2.883 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000869/7.526, allocations: 1.163 MB / 2.884 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002355/7.526, allocations: 295.9 kB / 2.885 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/7.527, allocations: 3.938 kB / 2.885 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.741e-05/7.527, allocations: 345.9 kB / 2.885 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004345/7.527, allocations: 331.2 kB / 2.885 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005165/7.528, allocations: 485.7 kB / 2.886 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005851/7.528, allocations: 386.2 kB / 2.886 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/7.528, allocations: 7.984 kB / 2.886 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002344/7.531, allocations: 1.397 MB / 2.887 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/7.531, allocations: 4 kB / 2.887 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/7.531, allocations: 4 kB / 2.887 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008079/7.531, allocations: 326.2 kB / 2.888 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005843/7.532, allocations: 167.8 kB / 2.888 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004379/7.536, allocations: 4.802 MB / 2.893 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/7.537, allocations: 127.2 kB / 2.893 GB, free: 1.484 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-05/7.538, allocations: 36 kB / 2.893 GB, free: 1.449 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp1.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.tableSolRadWall.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,outdoorTemp1.nextTimeEvent,$PRE.outdoorTemp1.nextTimeEventScaled,outdoorTemp1.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 90 * 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 {(1,100.0%) 3,(2,100.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002187/7.538, allocations: 142.2 kB / 2.893 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.6091/8.147, allocations: 1.31 MB / 2.894 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002006/8.149, allocations: 286.4 kB / 2.894 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00477/8.154, allocations: 1.477 MB / 2.896 GB, free: 206 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.53e-05/8.154, allocations: 10.7 kB / 2.896 GB, free: 206 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/8.154, allocations: 5.094 kB / 2.896 GB, free: 206 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.197e-05/8.154, allocations: 4.734 kB / 2.896 GB, free: 206 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008618/8.162, allocations: 3.528 MB / 2.899 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/8.162, allocations: 1.125 kB / 2.899 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005731/8.163, allocations: 110.7 kB / 2.899 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001079/8.164, allocations: 324 kB / 2.9 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.923e-05/8.164, allocations: 17.47 kB / 2.9 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00659/8.171, allocations: 4.793 MB / 2.904 GB, free: 203.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/8.171, allocations: 0.5 kB / 2.904 GB, free: 203.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004107/8.175, allocations: 1.996 MB / 2.906 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00133/8.176, allocations: 0.6328 MB / 2.907 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002831/8.177, allocations: 16.59 kB / 2.907 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006981/8.177, allocations: 65.84 kB / 2.907 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002647/8.178, allocations: 102.9 kB / 2.907 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.492e-05/8.178, allocations: 37.14 kB / 2.907 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.004445/8.182, allocations: 2.949 MB / 2.91 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.21e-07/8.182, allocations: 2.219 kB / 2.91 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001827/8.184, allocations: 0.5406 MB / 2.911 GB, free: 202.4 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: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp1.nextTimeEvent,outdoorTemp1.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp1.nextTimeEvent,tableSolRadWindow.nextTimeEvent,tableSolRadWall.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp1.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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%) 25,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004814/8.189, allocations: 3.447 MB / 2.914 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002156/8.191, allocations: 1.188 MB / 2.915 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/8.191, allocations: 3.125 kB / 2.915 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001122/8.192, allocations: 0.7846 MB / 2.916 GB, free: 201 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002166/8.194, allocations: 288 kB / 2.916 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009422/8.204, allocations: 5.308 MB / 2.921 GB, free: 200 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001414/8.205, allocations: 1.888 MB / 2.923 GB, free: 199.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008977/8.206, allocations: 341.2 kB / 2.924 GB, free: 199.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001178/8.207, allocations: 1.005 MB / 2.925 GB, free: 199.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.393e-06/8.207, allocations: 0 / 2.925 GB, free: 199.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09656/8.304, allocations: 47.97 MB / 2.971 GB, free: 187.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000203/8.304, allocations: 174 kB / 2.972 GB, free: 187.2 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_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.o IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c In file included from IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_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_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_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_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:977: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_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:977:82: error: expected expression IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:978:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:1937:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:1951:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:1967:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:1977:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:1988:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:2031:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:2075:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:2093:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:2112:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:2121:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:2128:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:2138:1: error: expected '}' ^ IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. make: *** [: IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.o] Error 1