Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.221/2.221, allocations: 387.4 MB / 394.9 MB, free: 13.37 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 188.3 kB / 487.4 MB, free: 5.043 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.576/1.576, allocations: 221.5 MB / 0.7824 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 106.6 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.389e-05/2.392e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2978, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.041/7.339, allocations: 2.188 GB / 3.394 GB, free: 112.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/7.339, allocations: 91.78 kB / 3.394 GB, free: 112.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1247/7.464, allocations: 64.29 MB / 3.457 GB, free: 52.19 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.283e-06/7.464, allocations: 3.938 kB / 3.457 GB, free: 52.19 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.917e-05/7.464, allocations: 24 kB / 3.457 GB, free: 52.16 MB / 1.151 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.00173/7.465, allocations: 1.227 MB / 3.458 GB, free: 50.89 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/7.465, allocations: 11.97 kB / 3.458 GB, free: 50.88 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/7.466, allocations: 142.3 kB / 3.458 GB, free: 50.74 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002767/7.468, allocations: 1.448 MB / 3.459 GB, free: 49.24 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/7.469, allocations: 63 kB / 3.459 GB, free: 49.17 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.5e-05/7.469, allocations: 35.91 kB / 3.459 GB, free: 49.14 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000517/7.469, allocations: 318.5 kB / 3.46 GB, free: 48.83 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006066/7.47, allocations: 421.1 kB / 3.46 GB, free: 48.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/7.47, allocations: 0 / 3.46 GB, free: 48.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.761e-05/7.47, allocations: 4 kB / 3.46 GB, free: 48.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/7.47, allocations: 15.94 kB / 3.46 GB, free: 48.38 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003212/7.473, allocations: 2.562 MB / 3.463 GB, free: 45.64 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006935/7.474, allocations: 360.8 kB / 3.463 GB, free: 45.27 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004803/7.474, allocations: 253.4 kB / 3.463 GB, free: 45.02 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 3.415e-05/7.474, allocations: 8.312 kB / 3.463 GB, free: 45.02 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004319/7.475, allocations: 231.6 kB / 3.463 GB, free: 44.78 MB / 1.151 GB Notification: Performance of pre-optimization done (n=44): time 3.577e-06/7.475, allocations: 4 kB / 3.463 GB, free: 44.77 MB / 1.151 GB Notification: Performance of matching and sorting (n=44): time 0.00108/7.476, allocations: 0.5599 MB / 3.464 GB, free: 44.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/7.476, allocations: 63.41 kB / 3.464 GB, free: 44.12 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002129/7.478, allocations: 1.463 MB / 3.465 GB, free: 42.65 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.524e-05/7.478, allocations: 29.7 kB / 3.465 GB, free: 42.62 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004217/7.479, allocations: 0.5175 MB / 3.466 GB, free: 42.09 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/7.479, allocations: 138 kB / 3.466 GB, free: 41.96 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/7.479, allocations: 0 / 3.466 GB, free: 41.96 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001127/7.479, allocations: 322 kB / 3.466 GB, free: 41.64 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/7.479, allocations: 153.1 kB / 3.467 GB, free: 41.49 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/7.479, allocations: 270.2 kB / 3.467 GB, free: 41.17 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/7.48, allocations: 181.5 kB / 3.467 GB, free: 41 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/7.48, allocations: 4 kB / 3.467 GB, free: 40.99 MB / 1.151 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.000961/7.481, allocations: 0.6462 MB / 3.468 GB, free: 40.34 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/7.481, allocations: 6.031 kB / 3.468 GB, free: 40.33 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/7.481, allocations: 4 kB / 3.468 GB, free: 40.33 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004055/7.481, allocations: 132.8 kB / 3.468 GB, free: 40.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/7.482, allocations: 115.9 kB / 3.468 GB, free: 40.08 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/7.484, allocations: 2.261 MB / 3.47 GB, free: 37.71 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004977/7.484, allocations: 87.55 kB / 3.47 GB, free: 37.63 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/7.484, allocations: 20 kB / 3.47 GB, free: 37.61 MB / 1.151 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.0001452/7.485, allocations: 122.6 kB / 3.47 GB, free: 37.48 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008101/7.485, allocations: 0.56 MB / 3.471 GB, free: 36.91 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/7.486, allocations: 126.5 kB / 3.471 GB, free: 36.79 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/7.487, allocations: 0.6188 MB / 3.472 GB, free: 36.14 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/7.487, allocations: 4 kB / 3.472 GB, free: 36.14 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/7.487, allocations: 7.938 kB / 3.472 GB, free: 36.13 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/7.487, allocations: 0 / 3.472 GB, free: 36.13 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001995/7.489, allocations: 1.556 MB / 3.473 GB, free: 34.52 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/7.489, allocations: 0 / 3.473 GB, free: 34.52 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/7.489, allocations: 55.91 kB / 3.473 GB, free: 34.47 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003237/7.489, allocations: 149.6 kB / 3.473 GB, free: 34.32 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.927e-05/7.489, allocations: 8 kB / 3.473 GB, free: 34.31 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002446/7.492, allocations: 3.53 MB / 3.477 GB, free: 30.55 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/7.492, allocations: 4.031 kB / 3.477 GB, free: 30.55 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/7.493, allocations: 0.8658 MB / 3.478 GB, free: 29.66 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003612/7.493, allocations: 295.6 kB / 3.478 GB, free: 29.35 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/7.493, allocations: 11.98 kB / 3.478 GB, free: 29.34 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003359/7.494, allocations: 39.92 kB / 3.478 GB, free: 29.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/7.494, allocations: 55.91 kB / 3.478 GB, free: 29.25 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/7.494, allocations: 16 kB / 3.478 GB, free: 29.23 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001291/7.495, allocations: 1.151 MB / 3.479 GB, free: 28.07 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.01e-07/7.495, allocations: 4 kB / 3.479 GB, free: 28.07 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001015/7.496, allocations: 283.5 kB / 3.479 GB, free: 27.79 MB / 1.151 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.002936/7.499, allocations: 2.291 MB / 3.482 GB, free: 25.57 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009691/7.5, allocations: 0.5487 MB / 3.482 GB, free: 25.02 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/7.5, allocations: 4 kB / 3.482 GB, free: 25.01 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005127/7.501, allocations: 483.2 kB / 3.483 GB, free: 24.52 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008873/7.501, allocations: 177.9 kB / 3.483 GB, free: 24.35 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00335/7.505, allocations: 2.232 MB / 3.485 GB, free: 22.07 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000577/7.505, allocations: 1.177 MB / 3.486 GB, free: 20.86 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003277/7.506, allocations: 148.6 kB / 3.486 GB, free: 20.71 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004205/7.506, allocations: 399.3 kB / 3.487 GB, free: 20.32 MB / 1.151 GB Notification: Performance of SimCode: time 1.232e-06/7.506, allocations: 3.938 kB / 3.487 GB, free: 20.32 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7783/8.284, allocations: 24.4 MB / 3.511 GB, free: 384.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002517/8.285, allocations: 186 kB / 3.511 GB, free: 384.7 MB / 1.151 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=Buildings_9_Buildings_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 Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c In file included from Buildings_9_Buildings_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 Buildings_9_Buildings_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); ^ Buildings_9_Buildings_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. ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:441:82: error: expected expression Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:442:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:851:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_9_Buildings_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) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:881:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_9_Buildings_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) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:902:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_9_Buildings_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) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:955:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_9_Buildings_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) { ^ Buildings_9_Buildings_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){ ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:989:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:996:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:1006:1: error: expected '}' ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. make: *** [: Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.o] Error 1