Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.964/1.964, allocations: 285.6 MB / 293.1 MB, free: 10.19 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00123/0.00123, allocations: 180.9 kB / 361.4 MB, free: 6.824 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001221/0.001221, allocations: 101.3 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.214e-05/2.217e-05, allocations: 0 / 0.8518 GB, free: 2.664 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7713/0.7713, allocations: 115.3 MB / 0.9645 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.169/7.94, allocations: 2.347 GB / 3.311 GB, free: 128.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/7.941, allocations: 88.02 kB / 3.312 GB, free: 128.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1308/8.071, allocations: 63.57 MB / 3.374 GB, free: 72.75 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.665e-06/8.072, allocations: 0 / 3.374 GB, free: 72.75 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000229/8.072, allocations: 24 kB / 3.374 GB, free: 72.73 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.003099/8.075, allocations: 1.218 MB / 3.375 GB, free: 71.47 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/8.075, allocations: 12.02 kB / 3.375 GB, free: 71.46 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003765/8.075, allocations: 138.4 kB / 3.375 GB, free: 71.32 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00319/8.079, allocations: 1.446 MB / 3.376 GB, free: 69.82 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/8.079, allocations: 70.98 kB / 3.376 GB, free: 69.75 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.26e-05/8.079, allocations: 27.91 kB / 3.377 GB, free: 69.72 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005863/8.079, allocations: 315.8 kB / 3.377 GB, free: 69.41 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006463/8.08, allocations: 417.1 kB / 3.377 GB, free: 68.99 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/8.08, allocations: 3.938 kB / 3.377 GB, free: 68.98 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.93e-05/8.08, allocations: 4 kB / 3.377 GB, free: 68.98 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/8.08, allocations: 8 kB / 3.377 GB, free: 68.97 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003288/8.083, allocations: 2.62 MB / 3.38 GB, free: 66.15 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006238/8.084, allocations: 360.1 kB / 3.38 GB, free: 65.79 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003476/8.084, allocations: 229.9 kB / 3.38 GB, free: 65.57 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/8.084, allocations: 4.328 kB / 3.38 GB, free: 65.56 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003914/8.085, allocations: 255.2 kB / 3.381 GB, free: 65.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=45): time 3.216e-06/8.085, allocations: 3.938 kB / 3.381 GB, free: 65.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=45): time 0.001127/8.086, allocations: 0.592 MB / 3.381 GB, free: 64.69 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/8.086, allocations: 55.41 kB / 3.381 GB, free: 64.62 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002035/8.088, allocations: 1.46 MB / 3.383 GB, free: 63.16 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/8.088, allocations: 29.7 kB / 3.383 GB, free: 63.12 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003463/8.089, allocations: 0.502 MB / 3.383 GB, free: 62.61 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/8.089, allocations: 138 kB / 3.383 GB, free: 62.48 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/8.089, allocations: 0 / 3.383 GB, free: 62.48 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.478e-05/8.089, allocations: 334 kB / 3.384 GB, free: 62.14 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/8.089, allocations: 153 kB / 3.384 GB, free: 62 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/8.089, allocations: 251.9 kB / 3.384 GB, free: 61.71 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/8.09, allocations: 182.2 kB / 3.384 GB, free: 61.53 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/8.09, allocations: 0 / 3.384 GB, free: 61.53 MB / 0.948 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001022/8.091, allocations: 0.6719 MB / 3.385 GB, free: 60.85 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/8.091, allocations: 8.344 kB / 3.385 GB, free: 60.84 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/8.091, allocations: 8 kB / 3.385 GB, free: 60.84 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004508/8.091, allocations: 153.6 kB / 3.385 GB, free: 60.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003714/8.092, allocations: 103.8 kB / 3.385 GB, free: 60.58 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002622/8.094, allocations: 2.498 MB / 3.388 GB, free: 57.97 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005066/8.095, allocations: 75.48 kB / 3.388 GB, free: 57.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/8.095, allocations: 24.06 kB / 3.388 GB, free: 57.88 MB / 0.948 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,mean.y,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.0001476/8.095, allocations: 130.5 kB / 3.388 GB, free: 57.74 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001013/8.096, allocations: 0.5949 MB / 3.388 GB, free: 57.13 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/8.096, allocations: 114.6 kB / 3.388 GB, free: 57.02 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/8.097, allocations: 0.6474 MB / 3.389 GB, free: 56.36 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/8.097, allocations: 11.94 kB / 3.389 GB, free: 56.34 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/8.097, allocations: 4 kB / 3.389 GB, free: 56.34 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/8.097, allocations: 3.984 kB / 3.389 GB, free: 56.34 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/8.1, allocations: 1.607 MB / 3.391 GB, free: 54.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/8.1, allocations: 0 / 3.391 GB, free: 54.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002386/8.1, allocations: 55.91 kB / 3.391 GB, free: 54.63 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000416/8.1, allocations: 173.5 kB / 3.391 GB, free: 54.45 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.824e-05/8.101, allocations: 4 kB / 3.391 GB, free: 54.45 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003109/8.104, allocations: 3.816 MB / 3.395 GB, free: 50.41 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/8.104, allocations: 0 / 3.395 GB, free: 50.41 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/8.105, allocations: 0.9141 MB / 3.396 GB, free: 49.47 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004888/8.106, allocations: 299.6 kB / 3.396 GB, free: 49.16 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/8.106, allocations: 11.95 kB / 3.396 GB, free: 49.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004026/8.106, allocations: 43.89 kB / 3.396 GB, free: 49.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/8.106, allocations: 56.34 kB / 3.396 GB, free: 49.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/8.106, allocations: 16 kB / 3.396 GB, free: 49.03 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001591/8.108, allocations: 1.143 MB / 3.397 GB, free: 47.88 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.31e-07/8.108, allocations: 1.781 kB / 3.397 GB, free: 47.88 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001174/8.109, allocations: 291.5 kB / 3.397 GB, free: 47.6 MB / 0.948 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) * 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.003647/8.113, allocations: 2.342 MB / 3.4 GB, free: 45.32 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001171/8.114, allocations: 0.5793 MB / 3.4 GB, free: 44.73 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/8.114, allocations: 0 / 3.4 GB, free: 44.73 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007299/8.115, allocations: 0.4936 MB / 3.401 GB, free: 44.21 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/8.116, allocations: 166.8 kB / 3.401 GB, free: 44.05 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004508/8.121, allocations: 2.257 MB / 3.403 GB, free: 41.74 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007666/8.121, allocations: 1.185 MB / 3.404 GB, free: 40.53 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004211/8.122, allocations: 136.4 kB / 3.404 GB, free: 40.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005009/8.122, allocations: 395.3 kB / 3.405 GB, free: 40.01 MB / 0.948 GB Notification: Performance of SimCode: time 8.92e-07/8.122, allocations: 0 / 3.405 GB, free: 40.01 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05631/8.179, allocations: 24.55 MB / 3.429 GB, free: 15.55 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/8.179, allocations: 189.6 kB / 3.429 GB, free: 15.37 MB / 0.948 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_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4 -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_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.o Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c In file included from Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:438: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_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:438:82: error: expected expression Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:439:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:845:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:859:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:875:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:885:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:896:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:921:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:947:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:959:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:972:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:981:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:988:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:998:1: error: expected '}' ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. make: *** [: Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.o] Error 1