Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.54/2.54, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001538/0.001538, allocations: 184.9 kB / 360.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.201/2.201, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.00109/0.001089, allocations: 90.86 kB / 0.7321 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.236e-05/2.213e-05, allocations: 4 kB / 0.8509 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8346/0.8347, allocations: 115.3 MB / 0.9634 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.215/8.05, allocations: 2.346 GB / 3.31 GB, free: 134.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/8.05, allocations: 94.31 kB / 3.31 GB, free: 134 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2138/8.264, allocations: 62.87 MB / 3.371 GB, free: 78.72 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.943e-06/8.264, allocations: 0 / 3.371 GB, free: 78.72 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000123/8.264, allocations: 24 kB / 3.371 GB, free: 78.7 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.00251/8.267, allocations: 1.183 MB / 3.372 GB, free: 77.47 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/8.267, allocations: 8.031 kB / 3.372 GB, free: 77.46 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003279/8.267, allocations: 138.3 kB / 3.373 GB, free: 77.32 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004855/8.272, allocations: 1.444 MB / 3.374 GB, free: 75.83 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001701/8.272, allocations: 65.25 kB / 3.374 GB, free: 75.76 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.583e-05/8.272, allocations: 24 kB / 3.374 GB, free: 75.73 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008716/8.273, allocations: 318.5 kB / 3.374 GB, free: 75.43 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009097/8.274, allocations: 413 kB / 3.375 GB, free: 75 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/8.274, allocations: 8 kB / 3.375 GB, free: 75 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.694e-05/8.274, allocations: 4 kB / 3.375 GB, free: 74.99 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/8.274, allocations: 8 kB / 3.375 GB, free: 74.98 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004543/8.279, allocations: 2.434 MB / 3.377 GB, free: 72.37 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/8.28, allocations: 404.9 kB / 3.378 GB, free: 71.96 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006918/8.281, allocations: 253.6 kB / 3.378 GB, free: 71.71 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/8.281, allocations: 8.797 kB / 3.378 GB, free: 71.71 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005183/8.281, allocations: 239.7 kB / 3.378 GB, free: 71.46 MB / 0.948 GB Notification: Performance of pre-optimization done (n=42): time 4.028e-06/8.281, allocations: 4 kB / 3.378 GB, free: 71.46 MB / 0.948 GB Notification: Performance of matching and sorting (n=42): time 0.001554/8.283, allocations: 0.5443 MB / 3.379 GB, free: 70.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/8.283, allocations: 67.19 kB / 3.379 GB, free: 70.82 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003294/8.286, allocations: 1.463 MB / 3.38 GB, free: 69.35 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001136/8.286, allocations: 25.7 kB / 3.38 GB, free: 69.32 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004998/8.287, allocations: 0.5175 MB / 3.381 GB, free: 68.79 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/8.287, allocations: 134 kB / 3.381 GB, free: 68.66 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/8.287, allocations: 0 / 3.381 GB, free: 68.66 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.308e-05/8.287, allocations: 330 kB / 3.381 GB, free: 68.33 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003378/8.288, allocations: 137.1 kB / 3.381 GB, free: 68.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003926/8.288, allocations: 259.6 kB / 3.381 GB, free: 67.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004102/8.288, allocations: 172.6 kB / 3.382 GB, free: 67.73 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/8.288, allocations: 9.578 kB / 3.382 GB, free: 67.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001602/8.29, allocations: 0.624 MB / 3.382 GB, free: 67.09 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/8.29, allocations: 8.438 kB / 3.382 GB, free: 67.09 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/8.29, allocations: 8 kB / 3.382 GB, free: 67.08 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005778/8.291, allocations: 129.9 kB / 3.382 GB, free: 66.95 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005883/8.291, allocations: 91.83 kB / 3.382 GB, free: 66.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003311/8.295, allocations: 2.255 MB / 3.385 GB, free: 64.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008687/8.295, allocations: 67.56 kB / 3.385 GB, free: 64.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.025e-05/8.296, allocations: 20 kB / 3.385 GB, free: 64.41 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 (51): * Single equations (assignments): 50 * 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.0001659/8.296, allocations: 124.6 kB / 3.385 GB, free: 64.29 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00136/8.297, allocations: 0.56 MB / 3.385 GB, free: 63.71 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000206/8.297, allocations: 118.5 kB / 3.386 GB, free: 63.59 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/8.299, allocations: 0.6038 MB / 3.386 GB, free: 62.97 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/8.299, allocations: 4 kB / 3.386 GB, free: 62.96 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/8.299, allocations: 4 kB / 3.386 GB, free: 62.96 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/8.299, allocations: 0 / 3.386 GB, free: 62.96 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003207/8.302, allocations: 1.448 MB / 3.388 GB, free: 61.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/8.302, allocations: 0 / 3.388 GB, free: 61.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004152/8.303, allocations: 57.59 kB / 3.388 GB, free: 61.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005946/8.303, allocations: 156.4 kB / 3.388 GB, free: 61.25 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.683e-05/8.303, allocations: 11.95 kB / 3.388 GB, free: 61.24 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003989/8.307, allocations: 3.515 MB / 3.391 GB, free: 57.49 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/8.307, allocations: 3.938 kB / 3.391 GB, free: 57.48 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/8.309, allocations: 0.8508 MB / 3.392 GB, free: 56.61 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007304/8.31, allocations: 303.5 kB / 3.392 GB, free: 56.29 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/8.31, allocations: 7.953 kB / 3.392 GB, free: 56.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006278/8.311, allocations: 39.97 kB / 3.392 GB, free: 56.25 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001888/8.311, allocations: 51.91 kB / 3.392 GB, free: 56.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.426e-05/8.311, allocations: 23.92 kB / 3.392 GB, free: 56.17 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001936/8.313, allocations: 1.143 MB / 3.394 GB, free: 55.02 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.41e-07/8.313, allocations: 0 / 3.394 GB, free: 55.02 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001475/8.315, allocations: 283.5 kB / 3.394 GB, free: 54.75 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,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,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * 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.003931/8.319, allocations: 2.298 MB / 3.396 GB, free: 52.56 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001496/8.32, allocations: 0.5438 MB / 3.397 GB, free: 52.01 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/8.32, allocations: 0 / 3.397 GB, free: 52.01 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009146/8.321, allocations: 470.5 kB / 3.397 GB, free: 51.54 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/8.323, allocations: 165.1 kB / 3.397 GB, free: 51.38 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00543/8.328, allocations: 2.218 MB / 3.399 GB, free: 49.11 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000847/8.329, allocations: 1.169 MB / 3.4 GB, free: 47.91 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006056/8.33, allocations: 149.9 kB / 3.401 GB, free: 47.77 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000653/8.33, allocations: 411.3 kB / 3.401 GB, free: 47.37 MB / 0.948 GB Notification: Performance of SimCode: time 1.473e-06/8.33, allocations: 0 / 3.401 GB, free: 47.37 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08185/8.412, allocations: 24.03 MB / 3.424 GB, free: 23.41 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002235/8.413, allocations: 185.8 kB / 3.425 GB, free: 23.22 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_0_0_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_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.o Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c In file included from Buildings_8_0_0_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_8_0_0_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_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:436: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_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:436:82: error: expected expression Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:437:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:841:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:855:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:871:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:881:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:892:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:917:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:943:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:955:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:968:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:977:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:984:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:994:1: error: expected '}' ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. : recipe for target 'Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.o' failed make: *** [Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.o] Error 1