Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",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.001408/0.001408, 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.7902/0.7902, allocations: 133.5 MB / 141.6 MB, free: 2.93 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.512/1.512, allocations: 221.5 MB / 395.4 MB, free: 10.83 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.0009921/0.0009921, allocations: 100.2 kB / 478.2 MB, free: 1.277 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.903e-05/1.926e-05, allocations: 0 / 0.5536 GB, free: 8.906 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5743/0.5744, allocations: 82.29 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.198/7.772, allocations: 2.15 GB / 2.784 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/7.772, allocations: 95.94 kB / 2.784 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1285/7.901, allocations: 64.26 MB / 2.847 GB, free: 96.81 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.074e-06/7.901, allocations: 0 / 2.847 GB, free: 96.81 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001736/7.901, allocations: 27.94 kB / 2.847 GB, free: 96.78 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.003072/7.904, allocations: 1.222 MB / 2.848 GB, free: 95.51 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.89e-05/7.904, allocations: 8.031 kB / 2.848 GB, free: 95.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005368/7.905, allocations: 134.4 kB / 2.848 GB, free: 95.37 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003734/7.909, allocations: 1.463 MB / 2.85 GB, free: 93.86 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001663/7.909, allocations: 62.98 kB / 2.85 GB, free: 93.79 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/7.909, allocations: 28 kB / 2.85 GB, free: 93.76 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007139/7.91, allocations: 314.5 kB / 2.85 GB, free: 93.45 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007376/7.91, allocations: 421.1 kB / 2.851 GB, free: 93.02 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/7.91, allocations: 7.938 kB / 2.851 GB, free: 93.02 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.033e-05/7.91, allocations: 0 / 2.851 GB, free: 93.02 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/7.91, allocations: 8 kB / 2.851 GB, free: 93.01 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004061/7.915, allocations: 2.57 MB / 2.853 GB, free: 90.25 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006451/7.915, allocations: 355.8 kB / 2.854 GB, free: 89.89 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004874/7.916, allocations: 264.2 kB / 2.854 GB, free: 89.64 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.76e-05/7.916, allocations: 8.328 kB / 2.854 GB, free: 89.63 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003793/7.916, allocations: 227.9 kB / 2.854 GB, free: 89.39 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=44): time 2.625e-06/7.916, allocations: 3.938 kB / 2.854 GB, free: 89.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44): time 0.001193/7.917, allocations: 0.5716 MB / 2.855 GB, free: 88.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/7.917, allocations: 59.41 kB / 2.855 GB, free: 88.73 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002462/7.92, allocations: 1.459 MB / 2.856 GB, free: 87.27 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.506e-05/7.92, allocations: 33.64 kB / 2.856 GB, free: 87.23 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000367/7.92, allocations: 0.5136 MB / 2.857 GB, free: 86.71 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/7.92, allocations: 141.9 kB / 2.857 GB, free: 86.57 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/7.921, allocations: 4 kB / 2.857 GB, free: 86.56 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.329e-05/7.921, allocations: 330 kB / 2.857 GB, free: 86.23 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/7.921, allocations: 149.1 kB / 2.857 GB, free: 86.09 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002921/7.921, allocations: 270.1 kB / 2.857 GB, free: 85.78 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/7.921, allocations: 193.6 kB / 2.858 GB, free: 85.59 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/7.921, allocations: 0 / 2.858 GB, free: 85.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001118/7.923, allocations: 0.6392 MB / 2.858 GB, free: 84.94 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/7.923, allocations: 8 kB / 2.858 GB, free: 84.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/7.923, allocations: 4 kB / 2.858 GB, free: 84.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004259/7.923, allocations: 130.5 kB / 2.858 GB, free: 84.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004157/7.924, allocations: 111.8 kB / 2.859 GB, free: 84.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/7.926, allocations: 2.252 MB / 2.861 GB, free: 82.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005757/7.926, allocations: 79.55 kB / 2.861 GB, free: 82.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.467e-05/7.927, allocations: 27.98 kB / 2.861 GB, free: 82.22 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: 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 (54): * Single equations (assignments): 53 * 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%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001476/7.927, allocations: 122.6 kB / 2.861 GB, free: 82.1 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009471/7.928, allocations: 0.5639 MB / 2.861 GB, free: 81.52 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/7.928, allocations: 126.5 kB / 2.862 GB, free: 81.39 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/7.929, allocations: 0.6109 MB / 2.862 GB, free: 80.76 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/7.929, allocations: 8 kB / 2.862 GB, free: 80.75 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/7.929, allocations: 0 / 2.862 GB, free: 80.75 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/7.929, allocations: 4 kB / 2.862 GB, free: 80.75 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002384/7.931, allocations: 1.557 MB / 2.864 GB, free: 79.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/7.931, allocations: 3.984 kB / 2.864 GB, free: 79.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002629/7.932, allocations: 55.84 kB / 2.864 GB, free: 79.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003592/7.932, allocations: 157.6 kB / 2.864 GB, free: 78.93 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.659e-05/7.932, allocations: 8 kB / 2.864 GB, free: 78.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002755/7.935, allocations: 3.531 MB / 2.867 GB, free: 75.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/7.935, allocations: 3.984 kB / 2.867 GB, free: 75.16 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/7.936, allocations: 0.8655 MB / 2.868 GB, free: 74.27 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004443/7.937, allocations: 291.6 kB / 2.869 GB, free: 73.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/7.937, allocations: 8 kB / 2.869 GB, free: 73.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003796/7.937, allocations: 47.81 kB / 2.869 GB, free: 73.91 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/7.937, allocations: 55.91 kB / 2.869 GB, free: 73.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-05/7.937, allocations: 12 kB / 2.869 GB, free: 73.84 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001447/7.939, allocations: 1.159 MB / 2.87 GB, free: 72.68 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.41e-07/7.939, allocations: 0 / 2.87 GB, free: 72.68 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001219/7.94, allocations: 283.7 kB / 2.87 GB, free: 72.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: 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%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003255/7.943, allocations: 2.281 MB / 2.872 GB, free: 70.19 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001128/7.944, allocations: 0.5602 MB / 2.873 GB, free: 69.62 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/7.944, allocations: 0 / 2.873 GB, free: 69.62 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006058/7.945, allocations: 482.8 kB / 2.873 GB, free: 69.12 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/7.946, allocations: 178.7 kB / 2.873 GB, free: 68.96 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004315/7.95, allocations: 2.24 MB / 2.876 GB, free: 66.67 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007422/7.951, allocations: 1.185 MB / 2.877 GB, free: 65.46 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004375/7.952, allocations: 140.6 kB / 2.877 GB, free: 65.32 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004825/7.952, allocations: 399.3 kB / 2.877 GB, free: 64.93 MB / 0.6823 GB Notification: Performance of SimCode: time 1.212e-06/7.952, allocations: 0 / 2.877 GB, free: 64.93 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.055/8.007, allocations: 24.4 MB / 2.901 GB, free: 40.65 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/8.007, allocations: 177.9 kB / 2.901 GB, free: 40.45 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_TestCase3 -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_TestCase3_FMU.o IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c In file included from IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_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_TestCase3_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_TestCase3_FMU.c:441: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_TestCase3_FMU.c:441:82: error: expected expression IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:442:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:851:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:865: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_TestCase3_FMU.c:881:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:891: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_TestCase3_FMU.c:902:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:928: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_TestCase3_FMU.c:955:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:967:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:980: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_TestCase3_FMU.c:989:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:996:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:1006:1: error: expected '}' ^ IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_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_TestCase3_FMU.o] Error 1