Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.761/1.761, allocations: 289.9 MB / 297.4 MB, free: 6.379 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.001511/0.001512, allocations: 172.9 kB / 366.7 MB, free: 1.648 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.866/1.866, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.001411/0.001412, allocations: 87.06 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.217e-05/2.22e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8131/0.8131, allocations: 116.3 MB / 0.9733 GB, free: 76.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.246/8.059, allocations: 2.348 GB / 3.321 GB, free: 92.32 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003074/8.06, allocations: 95.88 kB / 3.321 GB, free: 92.27 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.129/8.189, allocations: 63.58 MB / 3.383 GB, free: 34.48 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.202e-06/8.189, allocations: 0 / 3.383 GB, free: 34.48 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001093/8.189, allocations: 24 kB / 3.384 GB, free: 34.45 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.001989/8.191, allocations: 1.225 MB / 3.385 GB, free: 33.18 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/8.191, allocations: 12.03 kB / 3.385 GB, free: 33.17 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002106/8.191, allocations: 132.1 kB / 3.385 GB, free: 33.04 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003024/8.194, allocations: 1.444 MB / 3.386 GB, free: 31.55 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/8.194, allocations: 63 kB / 3.386 GB, free: 31.48 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.679e-05/8.195, allocations: 31.91 kB / 3.386 GB, free: 31.45 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005432/8.195, allocations: 314.5 kB / 3.387 GB, free: 31.14 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006258/8.196, allocations: 417.1 kB / 3.387 GB, free: 30.72 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/8.196, allocations: 3.938 kB / 3.387 GB, free: 30.71 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.704e-05/8.196, allocations: 4 kB / 3.387 GB, free: 30.71 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/8.196, allocations: 15.98 kB / 3.387 GB, free: 30.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003314/8.199, allocations: 2.614 MB / 3.39 GB, free: 27.89 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006104/8.2, allocations: 359.2 kB / 3.39 GB, free: 27.53 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003359/8.2, allocations: 235.8 kB / 3.39 GB, free: 27.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.28e-05/8.2, allocations: 4.328 kB / 3.39 GB, free: 27.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003735/8.201, allocations: 255.2 kB / 3.39 GB, free: 27.04 MB / 0.948 GB Notification: Performance of pre-optimization done (n=45): time 3.437e-06/8.201, allocations: 0 / 3.39 GB, free: 27.04 MB / 0.948 GB Notification: Performance of matching and sorting (n=45): time 0.001094/8.202, allocations: 0.5919 MB / 3.391 GB, free: 26.43 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/8.202, allocations: 55.41 kB / 3.391 GB, free: 26.36 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001951/8.204, allocations: 1.458 MB / 3.392 GB, free: 24.89 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/8.204, allocations: 31.2 kB / 3.393 GB, free: 24.86 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003366/8.204, allocations: 0.502 MB / 3.393 GB, free: 24.35 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/8.204, allocations: 145.9 kB / 3.393 GB, free: 24.21 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/8.204, allocations: 4 kB / 3.393 GB, free: 24.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.039e-05/8.204, allocations: 322 kB / 3.393 GB, free: 23.88 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/8.205, allocations: 153.1 kB / 3.394 GB, free: 23.73 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/8.205, allocations: 255.9 kB / 3.394 GB, free: 23.44 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/8.205, allocations: 179.3 kB / 3.394 GB, free: 23.27 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/8.205, allocations: 7.984 kB / 3.394 GB, free: 23.26 MB / 0.948 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009862/8.206, allocations: 0.6667 MB / 3.395 GB, free: 22.58 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/8.206, allocations: 8 kB / 3.395 GB, free: 22.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/8.206, allocations: 3.984 kB / 3.395 GB, free: 22.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005055/8.207, allocations: 152.7 kB / 3.395 GB, free: 22.42 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003873/8.207, allocations: 103.9 kB / 3.395 GB, free: 22.32 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002609/8.21, allocations: 2.504 MB / 3.397 GB, free: 19.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005266/8.21, allocations: 83.55 kB / 3.397 GB, free: 19.62 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.053e-05/8.21, allocations: 23.56 kB / 3.397 GB, free: 19.6 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.0001389/8.21, allocations: 125.1 kB / 3.398 GB, free: 19.48 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009222/8.211, allocations: 0.5988 MB / 3.398 GB, free: 18.86 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/8.211, allocations: 114.6 kB / 3.398 GB, free: 18.75 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/8.213, allocations: 0.6494 MB / 3.399 GB, free: 18.08 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/8.213, allocations: 4 kB / 3.399 GB, free: 18.08 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/8.213, allocations: 7.938 kB / 3.399 GB, free: 18.07 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/8.213, allocations: 3.984 kB / 3.399 GB, free: 18.07 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002174/8.215, allocations: 1.603 MB / 3.401 GB, free: 16.41 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/8.215, allocations: 0 / 3.401 GB, free: 16.41 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/8.215, allocations: 63.89 kB / 3.401 GB, free: 16.35 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003827/8.215, allocations: 165.6 kB / 3.401 GB, free: 16.18 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/8.216, allocations: 3.984 kB / 3.401 GB, free: 16.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002951/8.219, allocations: 3.812 MB / 3.404 GB, free: 12.14 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/8.219, allocations: 0 / 3.404 GB, free: 12.14 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/8.22, allocations: 0.9141 MB / 3.405 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003853/8.22, allocations: 303.6 kB / 3.406 GB, free: 10.89 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/8.22, allocations: 11.95 kB / 3.406 GB, free: 10.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003706/8.221, allocations: 39.91 kB / 3.406 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/8.221, allocations: 56.34 kB / 3.406 GB, free: 10.78 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/8.221, allocations: 15.98 kB / 3.406 GB, free: 10.76 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001273/8.222, allocations: 1.143 MB / 3.407 GB, free: 9.613 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.9e-07/8.222, allocations: 4 kB / 3.407 GB, free: 9.609 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00112/8.223, allocations: 291.5 kB / 3.407 GB, free: 9.324 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.002956/8.226, allocations: 2.331 MB / 3.409 GB, free: 7.051 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001015/8.227, allocations: 0.5759 MB / 3.41 GB, free: 6.469 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/8.227, allocations: 192 / 3.41 GB, free: 6.469 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006192/8.228, allocations: 0.493 MB / 3.41 GB, free: 5.953 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/8.229, allocations: 180 kB / 3.411 GB, free: 5.781 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003978/8.233, allocations: 2.257 MB / 3.413 GB, free: 3.477 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006739/8.234, allocations: 1.177 MB / 3.414 GB, free: 2.27 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003579/8.234, allocations: 141.2 kB / 3.414 GB, free: 2.137 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004699/8.235, allocations: 395.3 kB / 3.415 GB, free: 1.75 MB / 0.948 GB Notification: Performance of SimCode: time 1.162e-06/8.235, allocations: 0 / 3.415 GB, free: 1.75 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6696/8.904, allocations: 24.54 MB / 3.438 GB, free: 294.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002335/8.904, allocations: 189.3 kB / 3.439 GB, free: 294.7 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_8_Buildings_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 Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c In file included from Buildings_8_Buildings_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 Buildings_8_Buildings_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); ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_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_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:438:82: error: expected expression Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:439:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:845:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:859:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:875:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:885:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:896:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:921:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:947:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:959:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:972:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:981:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:988:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:998:1: error: expected '}' ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. make: *** [: Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.o] Error 1