Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,fileNamePrefix="Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.717/1.717, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001143/0.001144, allocations: 172.9 kB / 361.4 MB, free: 6.82 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.707/1.707, allocations: 205.2 MB / 0.62 GB, free: 11.68 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.0009222/0.000922, allocations: 90.23 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.208e-05/2.219e-05, allocations: 3.984 kB / 0.8518 GB, free: 2.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7708/0.7708, allocations: 115.3 MB / 0.9644 GB, free: 78.78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.033/7.804, allocations: 2.347 GB / 3.311 GB, free: 129.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/7.805, allocations: 93.75 kB / 3.312 GB, free: 129.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1391/7.944, allocations: 63.58 MB / 3.374 GB, free: 73.22 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.462e-06/7.944, allocations: 5.906 kB / 3.374 GB, free: 73.22 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000149/7.944, allocations: 24 kB / 3.374 GB, free: 73.2 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.002613/7.946, allocations: 1.222 MB / 3.375 GB, free: 71.93 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/7.947, allocations: 8.031 kB / 3.375 GB, free: 71.92 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004201/7.947, allocations: 134.4 kB / 3.375 GB, free: 71.79 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003318/7.95, allocations: 1.448 MB / 3.376 GB, free: 70.29 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/7.95, allocations: 66.98 kB / 3.376 GB, free: 70.21 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-05/7.951, allocations: 31.91 kB / 3.377 GB, free: 70.18 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006501/7.951, allocations: 310.5 kB / 3.377 GB, free: 69.88 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000681/7.952, allocations: 421.1 kB / 3.377 GB, free: 69.45 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/7.952, allocations: 0 / 3.377 GB, free: 69.45 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.948e-05/7.952, allocations: 4 kB / 3.377 GB, free: 69.45 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/7.952, allocations: 12 kB / 3.377 GB, free: 69.44 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003558/7.956, allocations: 2.55 MB / 3.38 GB, free: 66.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006531/7.956, allocations: 367.8 kB / 3.38 GB, free: 66.33 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004894/7.957, allocations: 265.4 kB / 3.38 GB, free: 66.07 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/7.957, allocations: 4.328 kB / 3.38 GB, free: 66.07 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003919/7.957, allocations: 241.1 kB / 3.381 GB, free: 65.82 MB / 0.948 GB Notification: Performance of pre-optimization done (n=44): time 2.836e-06/7.957, allocations: 0 / 3.381 GB, free: 65.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=44): time 0.001274/7.958, allocations: 0.5562 MB / 3.381 GB, free: 65.25 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/7.959, allocations: 61.83 kB / 3.381 GB, free: 65.18 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002702/7.961, allocations: 1.467 MB / 3.383 GB, free: 63.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.014e-05/7.961, allocations: 29.7 kB / 3.383 GB, free: 63.67 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004613/7.962, allocations: 0.5175 MB / 3.383 GB, free: 63.14 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/7.962, allocations: 138 kB / 3.383 GB, free: 63.01 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.428e-05/7.962, allocations: 0 / 3.383 GB, free: 63.01 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.615e-05/7.962, allocations: 326 kB / 3.384 GB, free: 62.68 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002547/7.962, allocations: 149.1 kB / 3.384 GB, free: 62.54 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003076/7.963, allocations: 274.1 kB / 3.384 GB, free: 62.22 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/7.963, allocations: 177.6 kB / 3.384 GB, free: 62.05 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/7.963, allocations: 0 / 3.384 GB, free: 62.05 MB / 0.948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001139/7.964, allocations: 0.6502 MB / 3.385 GB, free: 61.39 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/7.964, allocations: 4.781 kB / 3.385 GB, free: 61.39 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/7.964, allocations: 8.328 kB / 3.385 GB, free: 61.38 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004305/7.965, allocations: 137.3 kB / 3.385 GB, free: 61.24 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/7.965, allocations: 107.9 kB / 3.385 GB, free: 61.14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002497/7.968, allocations: 2.254 MB / 3.387 GB, free: 58.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000604/7.968, allocations: 79.61 kB / 3.387 GB, free: 58.69 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.524e-05/7.968, allocations: 20 kB / 3.387 GB, free: 58.67 MB / 0.948 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,mean.y,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.0001756/7.968, allocations: 130.5 kB / 3.387 GB, free: 58.54 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009694/7.969, allocations: 0.5642 MB / 3.388 GB, free: 57.96 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000229/7.97, allocations: 118.5 kB / 3.388 GB, free: 57.84 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/7.971, allocations: 0.6032 MB / 3.389 GB, free: 57.22 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/7.971, allocations: 11.95 kB / 3.389 GB, free: 57.21 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/7.971, allocations: 4 kB / 3.389 GB, free: 57.21 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/7.971, allocations: 3.984 kB / 3.389 GB, free: 57.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002189/7.973, allocations: 1.563 MB / 3.39 GB, free: 55.59 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/7.973, allocations: 0 / 3.39 GB, free: 55.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/7.973, allocations: 55.91 kB / 3.39 GB, free: 55.54 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00034/7.974, allocations: 157.6 kB / 3.39 GB, free: 55.38 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.642e-05/7.974, allocations: 4 kB / 3.39 GB, free: 55.38 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002616/7.976, allocations: 3.534 MB / 3.394 GB, free: 51.61 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/7.976, allocations: 0 / 3.394 GB, free: 51.61 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/7.977, allocations: 0.862 MB / 3.395 GB, free: 50.72 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004073/7.978, allocations: 295.7 kB / 3.395 GB, free: 50.41 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/7.978, allocations: 15.98 kB / 3.395 GB, free: 50.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003681/7.978, allocations: 39.91 kB / 3.395 GB, free: 50.36 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/7.978, allocations: 63.84 kB / 3.395 GB, free: 50.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/7.978, allocations: 11.98 kB / 3.395 GB, free: 50.28 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001367/7.98, allocations: 1.151 MB / 3.396 GB, free: 49.12 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.6e-07/7.98, allocations: 0 / 3.396 GB, free: 49.12 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001158/7.981, allocations: 287.6 kB / 3.397 GB, free: 48.84 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%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00306/7.984, allocations: 2.3 MB / 3.399 GB, free: 46.61 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001063/7.985, allocations: 0.5687 MB / 3.399 GB, free: 46.03 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/7.985, allocations: 0 / 3.399 GB, free: 46.03 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006058/7.986, allocations: 473.9 kB / 3.4 GB, free: 45.55 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009545/7.987, allocations: 174.3 kB / 3.4 GB, free: 45.39 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003996/7.991, allocations: 2.233 MB / 3.402 GB, free: 43.11 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00066/7.991, allocations: 1.169 MB / 3.403 GB, free: 41.91 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003816/7.992, allocations: 140.9 kB / 3.403 GB, free: 41.77 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004431/7.992, allocations: 403.3 kB / 3.404 GB, free: 41.38 MB / 0.948 GB Notification: Performance of SimCode: time 6.12e-07/7.992, allocations: 1.406 kB / 3.404 GB, free: 41.38 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05203/8.044, allocations: 24.36 MB / 3.428 GB, free: 17.11 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/8.045, allocations: 193.6 kB / 3.428 GB, free: 16.91 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_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_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.o Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c In file included from Buildings_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:440: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_TestCase3_FMU.c:440:82: error: expected expression Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:441: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_TestCase3_FMU.c:848: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_TestCase3_FMU.c:862: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_TestCase3_FMU.c:878: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_TestCase3_FMU.c:888: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_TestCase3_FMU.c:899: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_TestCase3_FMU.c:924: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_TestCase3_FMU.c:950: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_TestCase3_FMU.c:962: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_TestCase3_FMU.c:975: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_TestCase3_FMU.c:984:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:991:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:1001:1: error: expected '}' ^ Buildings_maint_8_0_x_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_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.o] Error 1