Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.662/1.662, 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.001087/0.001087, allocations: 176.9 kB / 361.4 MB, free: 6.816 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.642/1.642, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.0008084/0.0008084, allocations: 90.19 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.988e-05/2.981e-05, allocations: 4 kB / 0.8519 GB, free: 2.574 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7128/0.7128, allocations: 115.3 MB / 0.9645 GB, free: 78.94 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2191/0.932, allocations: 158.5 MB / 1.119 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003487/0.9324, allocations: 122.8 kB / 1.119 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04827/0.9807, allocations: 15.17 MB / 1.134 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9807, allocations: 0 / 1.134 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.9808, allocations: 4 kB / 1.134 GB, free: 13.96 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001209/0.982, allocations: 0.5488 MB / 1.135 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.982, allocations: 12.02 kB / 1.135 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.059e-05/0.9821, allocations: 84.31 kB / 1.135 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.9824, allocations: 250.2 kB / 1.135 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.91e-05/0.9824, allocations: 150.6 kB / 1.135 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.408e-05/0.9825, allocations: 150.6 kB / 1.135 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.146e-05/0.9826, allocations: 150.6 kB / 1.136 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.451e-05/0.9827, allocations: 108.9 kB / 1.136 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.312e-05/0.9827, allocations: 79.28 kB / 1.136 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.184e-05/0.9828, allocations: 154.6 kB / 1.136 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.089e-05/0.9829, allocations: 150.6 kB / 1.136 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.9832, allocations: 448.4 kB / 1.136 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.9833, allocations: 169.1 kB / 1.137 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.906e-05/0.9834, allocations: 80.14 kB / 1.137 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.491e-05/0.9834, allocations: 75.28 kB / 1.137 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.964e-05/0.9835, allocations: 117.7 kB / 1.137 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.373e-06/0.9835, allocations: 4 kB / 1.137 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 9.08e-05/0.9836, allocations: 29.61 kB / 1.137 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.9837, allocations: 55.41 kB / 1.137 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.9838, allocations: 124.2 kB / 1.137 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.9838, allocations: 25.7 kB / 1.137 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.627e-05/0.9839, allocations: 92.05 kB / 1.137 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/0.9839, allocations: 0 / 1.137 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-06/0.9839, allocations: 0 / 1.137 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.9841, allocations: 322.8 kB / 1.137 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.521e-05/0.9841, allocations: 4 kB / 1.137 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.356e-05/0.9841, allocations: 4 kB / 1.137 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.398e-05/0.9842, allocations: 12.03 kB / 1.138 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.9842, allocations: 0 / 1.138 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001632/0.9844, allocations: 57.58 kB / 1.138 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.9844, allocations: 4 kB / 1.138 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/0.9844, allocations: 4 kB / 1.138 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.9845, allocations: 1.594 kB / 1.138 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.272e-06/0.9845, allocations: 0 / 1.138 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.9845, allocations: 0 / 1.138 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.894e-05/0.9845, allocations: 7.906 kB / 1.138 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.9845, allocations: 2.125 kB / 1.138 GB, free: 10.34 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.9846, allocations: 180.3 kB / 1.138 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001015/0.9848, allocations: 142.6 kB / 1.138 GB, free: 10 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.125e-05/0.9848, allocations: 108.9 kB / 1.138 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.504e-05/0.9849, allocations: 112.9 kB / 1.138 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.011e-05/0.985, allocations: 188.2 kB / 1.138 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.983e-05/0.9851, allocations: 180.3 kB / 1.138 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.007e-05/0.9852, allocations: 176.3 kB / 1.139 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/0.9854, allocations: 397.7 kB / 1.139 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.711e-05/0.9854, allocations: 105.1 kB / 1.139 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.402e-05/0.9855, allocations: 105 kB / 1.139 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.54e-05/0.9856, allocations: 180.2 kB / 1.139 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.543e-05/0.9857, allocations: 188.3 kB / 1.14 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.987e-05/0.9857, allocations: 177.8 kB / 1.14 GB, free: 8 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.04e-05/0.9858, allocations: 180.2 kB / 1.14 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/0.986, allocations: 307.7 kB / 1.14 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.9861, allocations: 201.9 kB / 1.14 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.79e-05/0.9862, allocations: 178.2 kB / 1.141 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.33e-05/0.9863, allocations: 101 kB / 1.141 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.9864, allocations: 188.2 kB / 1.141 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.408e-05/0.9864, allocations: 101 kB / 1.141 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.571e-05/0.9865, allocations: 93 kB / 1.141 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9865, allocations: 0 / 1.141 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0012/0.9877, allocations: 335.4 kB / 1.141 GB, free: 6.27 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002153/0.9899, allocations: 1.218 MB / 1.143 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000119/0.99, allocations: 41.7 kB / 1.143 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.99, allocations: 0 / 1.143 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.117e-06/0.9901, allocations: 3.938 kB / 1.143 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.9905, allocations: 0.5296 MB / 1.143 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009159/0.9914, allocations: 332.5 kB / 1.143 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.9918, allocations: 0.6932 MB / 1.144 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.764e-05/0.9918, allocations: 0 / 1.144 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.386e-05/0.9918, allocations: 19.42 kB / 1.144 GB, free: 3.355 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.9918, allocations: 0 / 1.144 GB, free: 3.355 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03036/1.022, allocations: 6.261 MB / 1.15 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002662/1.023, allocations: 280.7 kB / 1.15 GB, free: 12.88 MB / 0.7605 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_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_FMU.o Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_FMU.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_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_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_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); ^ 4 warnings generated. 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_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.o Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.c:7: In file included from ./Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_model.h:5: 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); ^ 2 warnings generated. 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_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.o Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.c:1: In file included from ./Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.h:3: In file included from include/meta/meta_modelica.h:49: 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); ^ Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.c:817:59: error: cannot take the address of an rvalue of type 'real_array_t' (aka 'struct base_array_s') copy_real_array_data(add_alloc_scalar_real_array(_TBor, &mul_alloc_real_matrix_product_smart(_R0, _QPip_flow)), &_TFlu); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.o] Error 1