Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.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.TestCase9,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9",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.000973/0.000973, allocations: 174.6 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.7742/0.7742, allocations: 133.6 MB / 141.6 MB, free: 2.891 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.58/1.58, 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.0009191/0.0009191, allocations: 102.4 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.371e-05/2.386e-05, allocations: 4 kB / 0.5536 GB, free: 8.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.485/0.485, allocations: 82.3 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.134/7.619, allocations: 2.153 GB / 2.787 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003944/7.62, allocations: 94.94 kB / 2.787 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1851/7.805, allocations: 83.24 MB / 2.869 GB, free: 74.39 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.174e-06/7.805, allocations: 0 / 2.869 GB, free: 74.39 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0005121/7.806, allocations: 55.94 kB / 2.869 GB, free: 74.34 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.007525/7.813, allocations: 2.513 MB / 2.871 GB, free: 71.76 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.687e-05/7.813, allocations: 8.031 kB / 2.871 GB, free: 71.75 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001629/7.815, allocations: 359.9 kB / 2.872 GB, free: 71.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007437/7.822, allocations: 2.589 MB / 2.874 GB, free: 68.75 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001763/7.822, allocations: 83.67 kB / 2.874 GB, free: 68.67 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003232/7.823, allocations: 52 kB / 2.874 GB, free: 68.62 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001712/7.824, allocations: 0.7263 MB / 2.875 GB, free: 67.89 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/7.826, allocations: 0.825 MB / 2.876 GB, free: 67.05 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.395e-05/7.826, allocations: 3.906 kB / 2.876 GB, free: 67.05 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.037e-05/7.826, allocations: 4 kB / 2.876 GB, free: 67.04 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/7.826, allocations: 20 kB / 2.876 GB, free: 67.02 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009609/7.836, allocations: 4.717 MB / 2.88 GB, free: 62.05 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/7.838, allocations: 0.8877 MB / 2.881 GB, free: 61.15 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000706/7.838, allocations: 0.4945 MB / 2.882 GB, free: 60.66 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.906e-05/7.838, allocations: 20.77 kB / 2.882 GB, free: 60.64 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008313/7.839, allocations: 0.5333 MB / 2.882 GB, free: 60.09 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=104): time 4.608e-06/7.839, allocations: 0 / 2.882 GB, free: 60.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=104): time 0.002898/7.842, allocations: 1.436 MB / 2.884 GB, free: 58.63 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/7.842, allocations: 64.72 kB / 2.884 GB, free: 58.55 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00914/7.851, allocations: 4.309 MB / 2.888 GB, free: 54.25 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002607/7.852, allocations: 33.7 kB / 2.888 GB, free: 54.21 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001358/7.853, allocations: 1.361 MB / 2.889 GB, free: 52.84 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005166/7.854, allocations: 327.3 kB / 2.89 GB, free: 52.52 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/7.854, allocations: 0 / 2.89 GB, free: 52.52 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001221/7.854, allocations: 349.9 kB / 2.89 GB, free: 52.17 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006187/7.854, allocations: 350.5 kB / 2.89 GB, free: 51.83 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006979/7.855, allocations: 0.5181 MB / 2.891 GB, free: 51.26 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007158/7.856, allocations: 418 kB / 2.891 GB, free: 50.85 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/7.856, allocations: 0 / 2.891 GB, free: 50.85 MB / 0.6823 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003117/7.859, allocations: 1.494 MB / 2.893 GB, free: 49.34 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/7.859, allocations: 12 kB / 2.893 GB, free: 49.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/7.859, allocations: 4 kB / 2.893 GB, free: 49.33 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000911/7.86, allocations: 330.2 kB / 2.893 GB, free: 49 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006869/7.861, allocations: 191.7 kB / 2.893 GB, free: 48.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005016/7.866, allocations: 4.802 MB / 2.898 GB, free: 43.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/7.867, allocations: 135.1 kB / 2.898 GB, free: 43.65 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/7.868, allocations: 43.98 kB / 2.898 GB, free: 43.61 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 41 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition9,$whenCondition8,$PRE.intGai.nextTimeEvent,$whenCondition7,$PRE.reference.nextTimeEvent,$whenCondition6,$PRE.outdoorTemp.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWall.nextTimeEvent,$whenCondition3,$PRE.HSky.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,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled,HSky.nextTimeEvent,$PRE.HSky.nextTimeEventScaled,HSky.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 102 * 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.0002932/7.868, allocations: 141.2 kB / 2.898 GB, free: 43.46 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003145/7.871, allocations: 1.443 MB / 2.9 GB, free: 42 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008599/7.872, allocations: 320.1 kB / 2.9 GB, free: 41.69 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003148/7.875, allocations: 1.596 MB / 2.901 GB, free: 40.08 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/7.875, allocations: 12.14 kB / 2.901 GB, free: 40.07 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/7.875, allocations: 7.984 kB / 2.901 GB, free: 40.06 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/7.875, allocations: 11.97 kB / 2.901 GB, free: 40.05 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008099/7.883, allocations: 3.881 MB / 2.905 GB, free: 36.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/7.883, allocations: 0 / 2.905 GB, free: 36.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005256/7.884, allocations: 115.9 kB / 2.905 GB, free: 36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008304/7.885, allocations: 333.4 kB / 2.906 GB, free: 35.67 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.264e-05/7.885, allocations: 7.984 kB / 2.906 GB, free: 35.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004692/7.89, allocations: 4.805 MB / 2.91 GB, free: 30.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/7.89, allocations: 3.953 kB / 2.91 GB, free: 30.62 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003946/7.894, allocations: 2.171 MB / 2.912 GB, free: 28.42 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001792/7.895, allocations: 0.7077 MB / 2.913 GB, free: 27.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008172/7.896, allocations: 16 kB / 2.913 GB, free: 27.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/7.897, allocations: 75.78 kB / 2.913 GB, free: 27.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002753/7.898, allocations: 105.1 kB / 2.913 GB, free: 27.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.551e-05/7.898, allocations: 35.98 kB / 2.913 GB, free: 27.46 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.005885/7.904, allocations: 3.389 MB / 2.917 GB, free: 24.09 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/7.904, allocations: 0 / 2.917 GB, free: 24.09 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002568/7.906, allocations: 0.593 MB / 2.917 GB, free: 23.5 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: 26 ($whenCondition9,$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,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,HSky.nextTimeEvent,HSky.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 15 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,tableSolRadWall.nextTimeEvent,HSky.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,HSky.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.005745/7.912, allocations: 3.614 MB / 2.921 GB, free: 19.95 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002173/7.914, allocations: 1.253 MB / 2.922 GB, free: 18.68 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/7.914, allocations: 0 / 2.922 GB, free: 18.68 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001201/7.916, allocations: 0.8363 MB / 2.923 GB, free: 17.82 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002478/7.918, allocations: 332.9 kB / 2.923 GB, free: 17.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/7.93, allocations: 5.951 MB / 2.929 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002416/7.932, allocations: 2.023 MB / 2.931 GB, free: 9.438 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001489/7.934, allocations: 395.8 kB / 2.931 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001944/7.936, allocations: 1.151 MB / 2.932 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of SimCode: time 2.735e-06/7.936, allocations: 0 / 2.932 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6368/8.573, allocations: 52.85 MB / 2.984 GB, free: 193.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/8.573, allocations: 180.8 kB / 2.984 GB, free: 193.7 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_TestCase9 -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_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.o IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c In file included from IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_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_TestCase9_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_TestCase9_FMU.c:1103:82: warning: missing terminating '"' character [-Winvalid-pp-token] comp->fmuData->modelData->stringParameterData[2].attribute.start = mmc_mk_scon("Inputs differ by more than threShold. ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:1103:82: error: expected expression IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:1104:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2189:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2203:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2219:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2229:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2240:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2287:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2335:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2355:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2376:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2385:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2392:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_FMU.c:2402:1: error: expected '}' ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9_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_TestCase9_FMU.o] Error 1