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.MultipoleThermalResistances_TwoUTube.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.MultipoleThermalResistances_TwoUTube,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.672/1.672, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001824/0.001824, allocations: 180.9 kB / 361.4 MB, free: 6.824 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.773/1.773, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0008205/0.0008205, allocations: 94.23 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.957e-05/2.957e-05, allocations: 8 kB / 0.8519 GB, free: 2.59 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7141/0.7141, allocations: 115.3 MB / 0.9645 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.241/0.9552, allocations: 149.5 MB / 1.111 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/0.9556, allocations: 113.2 kB / 1.111 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02634/0.982, allocations: 8.31 MB / 1.119 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.154e-06/0.982, allocations: 0 / 1.119 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.016e-05/0.982, allocations: 8 kB / 1.119 GB, free: 13.82 MB / 0.7292 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.001085/0.9831, allocations: 0.5561 MB / 1.119 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 7.155e-05/0.9832, allocations: 12.03 kB / 1.119 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.9833, allocations: 24.66 kB / 1.119 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004041/0.9837, allocations: 217.6 kB / 1.12 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.9838, allocations: 1.406 kB / 1.12 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.9838, allocations: 4 kB / 1.12 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001835/0.984, allocations: 71.97 kB / 1.12 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.9842, allocations: 109.6 kB / 1.12 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.9842, allocations: 4 kB / 1.12 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.9842, allocations: 0 / 1.12 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.9842, allocations: 4 kB / 1.12 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003967/0.9847, allocations: 238.4 kB / 1.12 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.9848, allocations: 123.3 kB / 1.12 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.985, allocations: 108.9 kB / 1.12 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.614e-05/0.985, allocations: 4 kB / 1.12 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.9851, allocations: 34.56 kB / 1.12 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=32): time 1.723e-06/0.9851, allocations: 0 / 1.12 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32): time 0.000455/0.9855, allocations: 229.8 kB / 1.12 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.9856, allocations: 55.34 kB / 1.12 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002689/0.9858, allocations: 213.4 kB / 1.121 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.9859, allocations: 25.7 kB / 1.121 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.834e-05/0.986, allocations: 132.7 kB / 1.121 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.9861, allocations: 98.47 kB / 1.121 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-06/0.9861, allocations: 0 / 1.121 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.9863, allocations: 350.8 kB / 1.121 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.823e-05/0.9864, allocations: 67.97 kB / 1.121 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.8e-05/0.9865, allocations: 80.48 kB / 1.121 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.9867, allocations: 107.9 kB / 1.122 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.9867, allocations: 0 / 1.122 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003148/0.987, allocations: 228.3 kB / 1.122 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.987, allocations: 8 kB / 1.122 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/0.9871, allocations: 0 / 1.122 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.9871, allocations: 0 / 1.122 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.9871, allocations: 64 / 1.122 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.9871, allocations: 11.28 kB / 1.122 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.945e-05/0.9872, allocations: 11.78 kB / 1.122 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.9872, allocations: 4 kB / 1.122 GB, free: 10.55 MB / 0.7292 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.0001029/0.9873, allocations: 104.9 kB / 1.122 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002907/0.9876, allocations: 234.9 kB / 1.122 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.9876, allocations: 19.72 kB / 1.122 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005445/0.9882, allocations: 0.5741 MB / 1.123 GB, free: 9.504 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.586e-05/0.9883, allocations: 180.2 kB / 1.123 GB, free: 9.32 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.186e-05/0.9884, allocations: 176.3 kB / 1.123 GB, free: 9.141 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.741e-05/0.9885, allocations: 184.2 kB / 1.123 GB, free: 8.953 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004491/0.9889, allocations: 0.5207 MB / 1.124 GB, free: 8.387 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.407e-05/0.989, allocations: 113.7 kB / 1.124 GB, free: 8.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.016e-05/0.989, allocations: 101 kB / 1.124 GB, free: 8.164 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-05/0.9891, allocations: 184.2 kB / 1.124 GB, free: 7.977 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.928e-05/0.9892, allocations: 184.3 kB / 1.124 GB, free: 7.789 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.977e-05/0.9893, allocations: 179.9 kB / 1.124 GB, free: 7.609 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.229e-05/0.9894, allocations: 184.2 kB / 1.125 GB, free: 7.422 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.9896, allocations: 323.5 kB / 1.125 GB, free: 7.082 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004255/0.99, allocations: 369.4 kB / 1.125 GB, free: 6.695 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/0.9902, allocations: 184.2 kB / 1.125 GB, free: 6.508 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.9904, allocations: 101 kB / 1.126 GB, free: 6.402 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/0.9905, allocations: 184.2 kB / 1.126 GB, free: 6.215 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.521e-05/0.9905, allocations: 105 kB / 1.126 GB, free: 6.105 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001331/0.9919, allocations: 1.114 MB / 1.127 GB, free: 4.992 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.9e-07/0.9919, allocations: 0 / 1.127 GB, free: 4.992 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001064/0.993, allocations: 303.7 kB / 1.127 GB, free: 4.695 MB / 0.7292 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.001725/0.9947, allocations: 1.106 MB / 1.128 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002684/0.995, allocations: 177.6 kB / 1.128 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.995, allocations: 0 / 1.128 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.979e-06/0.995, allocations: 3.938 kB / 1.128 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005352/0.9955, allocations: 0.5428 MB / 1.129 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.9967, allocations: 0.5191 MB / 1.129 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.9971, allocations: 0.7592 MB / 1.13 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.008e-05/0.9971, allocations: 4 kB / 1.13 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.734e-05/0.9972, allocations: 55.42 kB / 1.13 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of SimCode: time 2.204e-06/0.9972, allocations: 4 kB / 1.13 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03282/1.03, allocations: 7.007 MB / 1.137 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003084/1.03, allocations: 256.7 kB / 1.137 GB, free: 10.23 MB / 0.7448 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_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_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_FMU.o Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_FMU.c In file included from Buildings_maint_8_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_8_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_8_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_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.o Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.c:7: In file included from ./Buildings_maint_8_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_8_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_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_functions.o Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_functions.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_functions.c:1: In file included from ./Buildings_maint_8_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_8_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_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_functions.o] Error 1