Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.439/1.439, allocations: 249.5 MB / 257 MB, free: 6.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001347/0.001348, allocations: 179.3 kB / 316.3 MB, free: 3.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009442/0.0009437, allocations: 94.75 kB / 0.6714 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.114e-05/2.125e-05, allocations: 4 kB / 0.7815 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.211, allocations: 106.3 MB / 0.8854 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7106/0.9216, allocations: 144.2 MB / 1.026 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/0.9219, allocations: 121.2 kB / 1.026 GB, free: 9.094 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02333/0.9453, allocations: 8.301 MB / 1.034 GB, free: 1.973 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.402e-06/0.9453, allocations: 0 / 1.034 GB, free: 1.973 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.9453, allocations: 0 / 1.034 GB, free: 1.973 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007438/0.9461, allocations: 0.5575 MB / 1.035 GB, free: 1.383 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.9461, allocations: 8.031 kB / 1.035 GB, free: 1.375 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.9462, allocations: 23.66 kB / 1.035 GB, free: 1.352 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.9464, allocations: 233.6 kB / 1.035 GB, free: 1.09 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-06/0.9464, allocations: 0 / 1.035 GB, free: 1.09 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.9465, allocations: 4 kB / 1.035 GB, free: 1.086 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001017/0.9466, allocations: 79.02 kB / 1.035 GB, free: 1.023 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.9467, allocations: 105.4 kB / 1.035 GB, free: 0.9297 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.9467, allocations: 0 / 1.035 GB, free: 0.9297 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.9467, allocations: 3.938 kB / 1.035 GB, free: 0.9258 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.9467, allocations: 3.125 kB / 1.035 GB, free: 0.9258 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002775/0.947, allocations: 242.7 kB / 1.036 GB, free: 0.6797 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.9472, allocations: 117.7 kB / 1.036 GB, free: 0.5938 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.9473, allocations: 121.6 kB / 1.036 GB, free: 0.5117 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.9473, allocations: 0 / 1.036 GB, free: 0.5117 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.9474, allocations: 34.56 kB / 1.036 GB, free: 480 kB / 0.6511 GB Notification: Performance of pre-optimization done (n=32): time 9.32e-07/0.9474, allocations: 0 / 1.036 GB, free: 480 kB / 0.6511 GB Notification: Performance of matching and sorting (n=32): time 0.0003529/0.9477, allocations: 219.2 kB / 1.036 GB, free: 284 kB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.9478, allocations: 55.41 kB / 1.036 GB, free: 216 kB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.948, allocations: 220.5 kB / 1.036 GB, free: 12 kB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.948, allocations: 25.7 kB / 1.036 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 7.066e-05/0.9481, allocations: 134.4 kB / 1.037 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 9.519e-05/0.9482, allocations: 100.5 kB / 1.037 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.9482, allocations: 0 / 1.037 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.9484, allocations: 338.2 kB / 1.037 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.11e-05/0.9484, allocations: 78.95 kB / 1.037 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.866e-05/0.9485, allocations: 75.09 kB / 1.037 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.9486, allocations: 103 kB / 1.037 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.9486, allocations: 0 / 1.037 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00025/0.9489, allocations: 228.2 kB / 1.037 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.9489, allocations: 8.062 kB / 1.037 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.949, allocations: 4 kB / 1.037 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.949, allocations: 3.984 kB / 1.037 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.222e-06/0.949, allocations: 0 / 1.037 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.949, allocations: 0.625 kB / 1.037 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.034e-05/0.949, allocations: 19.72 kB / 1.037 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.288e-05/0.9491, allocations: 4 kB / 1.037 GB, free: 15.02 MB / 0.6667 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 7.337e-05/0.9492, allocations: 108.4 kB / 1.038 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002188/0.9494, allocations: 231.2 kB / 1.038 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.074e-05/0.9494, allocations: 23.75 kB / 1.038 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004689/0.9499, allocations: 0.5654 MB / 1.038 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-05/0.95, allocations: 184.2 kB / 1.039 GB, free: 13.9 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.289e-05/0.9501, allocations: 176.3 kB / 1.039 GB, free: 13.72 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.595e-05/0.9501, allocations: 180.3 kB / 1.039 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003907/0.9505, allocations: 0.526 MB / 1.039 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.175e-05/0.9506, allocations: 101.7 kB / 1.039 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.886e-05/0.9506, allocations: 105 kB / 1.04 GB, free: 12.77 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-05/0.9507, allocations: 183.1 kB / 1.04 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.649e-05/0.9508, allocations: 180.3 kB / 1.04 GB, free: 12.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.247e-05/0.9509, allocations: 180.3 kB / 1.04 GB, free: 12.22 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.59e-05/0.9509, allocations: 184.2 kB / 1.04 GB, free: 12.03 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.9511, allocations: 330.8 kB / 1.041 GB, free: 11.69 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003747/0.9515, allocations: 365.2 kB / 1.041 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/0.9517, allocations: 180.3 kB / 1.041 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.9518, allocations: 105 kB / 1.041 GB, free: 11.03 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/0.9519, allocations: 184.1 kB / 1.041 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.683e-05/0.9519, allocations: 101 kB / 1.041 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001101/0.9531, allocations: 1.116 MB / 1.043 GB, free: 10.03 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9531, allocations: 0 / 1.043 GB, free: 10.03 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009022/0.954, allocations: 302 kB / 1.043 GB, free: 9.746 MB / 0.6667 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.001099/0.9551, allocations: 1.106 MB / 1.044 GB, free: 8.629 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002038/0.9553, allocations: 179.6 kB / 1.044 GB, free: 8.488 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9553, allocations: 0 / 1.044 GB, free: 8.488 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 3.337e-06/0.9553, allocations: 3.938 kB / 1.044 GB, free: 8.484 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004548/0.9558, allocations: 0.5405 MB / 1.045 GB, free: 7.949 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007991/0.9566, allocations: 0.5171 MB / 1.045 GB, free: 7.402 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.9569, allocations: 0.7625 MB / 1.046 GB, free: 6.613 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 2.708e-05/0.9569, allocations: 11.92 kB / 1.046 GB, free: 6.602 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.731e-05/0.957, allocations: 61.28 kB / 1.046 GB, free: 6.582 MB / 0.6667 GB Notification: Performance of SimCode: time 3.61e-07/0.957, allocations: 0 / 1.046 GB, free: 6.582 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/0.9845, allocations: 7.003 MB / 1.053 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000269/0.9848, allocations: 248.6 kB / 1.053 GB, free: 15.35 MB / 0.6823 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_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube -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_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_FMU.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_FMU.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_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_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_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_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube -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_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.c:7: In file included from ./Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_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_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube -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_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_functions.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_functions.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_functions.c:1: In file included from ./Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_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_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_functions.c:310: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_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_functions.o] Error 1