Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",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.001403/0.001403, 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.8071/0.8071, allocations: 133.6 MB / 141.6 MB, free: 2.918 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.469/1.469, 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.001077/0.001077, allocations: 96.88 kB / 478.2 MB, free: 1.289 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.339e-05/2.342e-05, allocations: 4 kB / 0.5536 GB, free: 8.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5353/0.5353, allocations: 82.29 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.95/7.485, allocations: 2.15 GB / 2.784 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003225/7.486, allocations: 95.55 kB / 2.784 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1262/7.612, allocations: 64.25 MB / 2.847 GB, free: 48.48 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.654e-06/7.612, allocations: 4 kB / 2.847 GB, free: 48.48 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.893e-05/7.612, allocations: 27.92 kB / 2.847 GB, free: 48.45 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001718/7.614, allocations: 1.233 MB / 2.848 GB, free: 47.17 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/7.614, allocations: 12.03 kB / 2.848 GB, free: 47.16 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/7.614, allocations: 134.4 kB / 2.848 GB, free: 47.02 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00269/7.617, allocations: 1.452 MB / 2.85 GB, free: 45.52 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/7.617, allocations: 67 kB / 2.85 GB, free: 45.45 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.506e-05/7.617, allocations: 28 kB / 2.85 GB, free: 45.42 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005207/7.617, allocations: 314.5 kB / 2.85 GB, free: 45.11 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006216/7.618, allocations: 421 kB / 2.851 GB, free: 44.68 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/7.618, allocations: 0 / 2.851 GB, free: 44.68 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.922e-05/7.618, allocations: 4 kB / 2.851 GB, free: 44.68 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/7.618, allocations: 15.98 kB / 2.851 GB, free: 44.66 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002995/7.621, allocations: 2.638 MB / 2.853 GB, free: 41.83 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006005/7.622, allocations: 364.5 kB / 2.854 GB, free: 41.46 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003578/7.622, allocations: 235.3 kB / 2.854 GB, free: 41.23 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/7.622, allocations: 8.328 kB / 2.854 GB, free: 41.23 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003364/7.622, allocations: 245.9 kB / 2.854 GB, free: 40.97 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=45): time 1.884e-06/7.622, allocations: 0 / 2.854 GB, free: 40.97 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45): time 0.001001/7.623, allocations: 0.5958 MB / 2.855 GB, free: 40.36 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/7.624, allocations: 55.41 kB / 2.855 GB, free: 40.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001887/7.625, allocations: 1.455 MB / 2.856 GB, free: 38.83 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/7.625, allocations: 29.7 kB / 2.856 GB, free: 38.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003194/7.626, allocations: 0.5058 MB / 2.857 GB, free: 38.29 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.515e-05/7.626, allocations: 138 kB / 2.857 GB, free: 38.15 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.159e-05/7.626, allocations: 4 kB / 2.857 GB, free: 38.14 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.687e-05/7.626, allocations: 330 kB / 2.857 GB, free: 37.82 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/7.626, allocations: 149.1 kB / 2.857 GB, free: 37.67 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/7.626, allocations: 259.8 kB / 2.858 GB, free: 37.38 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002503/7.627, allocations: 175 kB / 2.858 GB, free: 37.21 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/7.627, allocations: 4 kB / 2.858 GB, free: 37.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009272/7.628, allocations: 0.6762 MB / 2.858 GB, free: 36.52 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/7.628, allocations: 7.938 kB / 2.858 GB, free: 36.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/7.628, allocations: 4 kB / 2.858 GB, free: 36.51 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004029/7.628, allocations: 148.8 kB / 2.859 GB, free: 36.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/7.628, allocations: 104 kB / 2.859 GB, free: 36.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/7.631, allocations: 2.499 MB / 2.861 GB, free: 33.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004216/7.631, allocations: 75.61 kB / 2.861 GB, free: 33.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-05/7.631, allocations: 27.98 kB / 2.861 GB, free: 33.54 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: 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_last,mean.y_last,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.0001172/7.631, allocations: 126.5 kB / 2.861 GB, free: 33.41 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008861/7.632, allocations: 0.5987 MB / 2.862 GB, free: 32.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/7.632, allocations: 114.6 kB / 2.862 GB, free: 32.69 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009546/7.633, allocations: 0.6496 MB / 2.863 GB, free: 32.02 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/7.633, allocations: 8 kB / 2.863 GB, free: 32.01 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/7.633, allocations: 0 / 2.863 GB, free: 32.01 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/7.633, allocations: 3.984 kB / 2.863 GB, free: 32 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002002/7.635, allocations: 1.611 MB / 2.864 GB, free: 30.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/7.636, allocations: 4 kB / 2.864 GB, free: 30.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/7.636, allocations: 47.97 kB / 2.864 GB, free: 30.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003599/7.636, allocations: 166.9 kB / 2.864 GB, free: 30.13 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/7.636, allocations: 11.98 kB / 2.864 GB, free: 30.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002771/7.639, allocations: 3.816 MB / 2.868 GB, free: 26.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/7.639, allocations: 0 / 2.868 GB, free: 26.07 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/7.64, allocations: 0.9064 MB / 2.869 GB, free: 25.14 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003401/7.64, allocations: 303.4 kB / 2.869 GB, free: 24.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/7.641, allocations: 23.94 kB / 2.869 GB, free: 24.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003431/7.641, allocations: 35.97 kB / 2.869 GB, free: 24.77 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/7.641, allocations: 56.34 kB / 2.869 GB, free: 24.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/7.641, allocations: 12 kB / 2.869 GB, free: 24.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001105/7.642, allocations: 1.147 MB / 2.871 GB, free: 23.55 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.61e-07/7.642, allocations: 0 / 2.871 GB, free: 23.55 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001019/7.643, allocations: 287.5 kB / 2.871 GB, free: 23.27 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * 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.002841/7.646, allocations: 2.342 MB / 2.873 GB, free: 21 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009174/7.647, allocations: 0.5638 MB / 2.874 GB, free: 20.42 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/7.647, allocations: 0.6875 kB / 2.874 GB, free: 20.42 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006/7.648, allocations: 0.4929 MB / 2.874 GB, free: 19.91 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008743/7.649, allocations: 179.5 kB / 2.874 GB, free: 19.74 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003197/7.652, allocations: 2.261 MB / 2.877 GB, free: 17.43 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005539/7.652, allocations: 1.173 MB / 2.878 GB, free: 16.23 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002966/7.653, allocations: 132.6 kB / 2.878 GB, free: 16.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004293/7.653, allocations: 399.3 kB / 2.878 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of SimCode: time 4.11e-07/7.653, allocations: 0 / 2.878 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5586/8.212, allocations: 24.6 MB / 2.902 GB, free: 213.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/8.212, allocations: 172.6 kB / 2.902 GB, free: 213.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_TestCase2 -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_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.o IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c In file included from IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_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_TestCase2_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_TestCase2_FMU.c:439: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_TestCase2_FMU.c:439:82: error: expected expression IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:440:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:847:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:861: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_TestCase2_FMU.c:877:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:887: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_TestCase2_FMU.c:898:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:924: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_TestCase2_FMU.c:951:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:963:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:976: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_TestCase2_FMU.c:985:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:992:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:1002:1: error: expected '}' ^ IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_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_TestCase2_FMU.o] Error 1