Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.79/1.79, allocations: 289.9 MB / 297.4 MB, free: 6.395 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.002027/0.002028, allocations: 188.8 kB / 366.7 MB, free: 1.668 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.081/2.081, allocations: 205.2 MB / 0.626 GB, free: 7.18 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.0009194/0.0009194, allocations: 96.11 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.431e-05/3.427e-05, allocations: 8 kB / 0.8598 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7579/0.758, allocations: 116.3 MB / 0.9734 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2281/0.9862, allocations: 150.5 MB / 1.12 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003623/0.9866, allocations: 115.9 kB / 1.12 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02413/1.011, allocations: 8.304 MB / 1.129 GB, free: 7.184 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.236e-06/1.011, allocations: 4 kB / 1.129 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.03e-05/1.011, allocations: 0 / 1.129 GB, free: 7.18 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.0007253/1.012, allocations: 0.56 MB / 1.129 GB, free: 6.574 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/1.012, allocations: 8.031 kB / 1.129 GB, free: 6.566 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.591e-05/1.012, allocations: 27.62 kB / 1.129 GB, free: 6.539 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/1.012, allocations: 225.6 kB / 1.129 GB, free: 6.277 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/1.012, allocations: 0 / 1.129 GB, free: 6.277 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/1.012, allocations: 0 / 1.129 GB, free: 6.277 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001128/1.012, allocations: 75.97 kB / 1.129 GB, free: 6.203 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/1.012, allocations: 113.6 kB / 1.13 GB, free: 6.086 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/1.012, allocations: 0 / 1.13 GB, free: 6.086 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/1.012, allocations: 0 / 1.13 GB, free: 6.086 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/1.012, allocations: 0 / 1.13 GB, free: 6.086 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002723/1.013, allocations: 242.4 kB / 1.13 GB, free: 5.812 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/1.013, allocations: 127.3 kB / 1.13 GB, free: 5.68 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/1.013, allocations: 108.9 kB / 1.13 GB, free: 5.57 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/1.013, allocations: 1.031 kB / 1.13 GB, free: 5.57 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/1.013, allocations: 34.55 kB / 1.13 GB, free: 5.527 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=32): time 9.32e-07/1.013, allocations: 0 / 1.13 GB, free: 5.527 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32): time 0.000357/1.013, allocations: 226.3 kB / 1.13 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/1.013, allocations: 55.44 kB / 1.13 GB, free: 5.234 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/1.014, allocations: 220.5 kB / 1.131 GB, free: 5.008 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/1.014, allocations: 25.7 kB / 1.131 GB, free: 4.977 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.127e-05/1.014, allocations: 124.7 kB / 1.131 GB, free: 4.852 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/1.014, allocations: 106.5 kB / 1.131 GB, free: 4.746 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/1.014, allocations: 0 / 1.131 GB, free: 4.746 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001465/1.014, allocations: 338.8 kB / 1.131 GB, free: 4.406 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.905e-05/1.014, allocations: 74.97 kB / 1.131 GB, free: 4.336 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.556e-05/1.014, allocations: 87.81 kB / 1.131 GB, free: 4.25 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/1.014, allocations: 108 kB / 1.131 GB, free: 4.145 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/1.014, allocations: 0 / 1.131 GB, free: 4.145 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002567/1.015, allocations: 225.3 kB / 1.132 GB, free: 3.918 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/1.015, allocations: 4 kB / 1.132 GB, free: 3.914 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/1.015, allocations: 4 kB / 1.132 GB, free: 3.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/1.015, allocations: 0 / 1.132 GB, free: 3.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/1.015, allocations: 0 / 1.132 GB, free: 3.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/1.015, allocations: 0 / 1.132 GB, free: 3.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.399e-05/1.015, allocations: 15.78 kB / 1.132 GB, free: 3.895 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/1.015, allocations: 7.984 kB / 1.132 GB, free: 3.887 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.0001333/1.015, allocations: 105 kB / 1.132 GB, free: 3.777 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002607/1.015, allocations: 233.4 kB / 1.132 GB, free: 3.543 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/1.015, allocations: 19.72 kB / 1.132 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005274/1.016, allocations: 0.5655 MB / 1.133 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.47e-05/1.016, allocations: 180.2 kB / 1.133 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.534e-05/1.016, allocations: 190.5 kB / 1.133 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.751e-05/1.016, allocations: 180.3 kB / 1.133 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004129/1.016, allocations: 0.5207 MB / 1.134 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.236e-05/1.016, allocations: 109.6 kB / 1.134 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.236e-05/1.016, allocations: 101 kB / 1.134 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.105e-05/1.017, allocations: 184.3 kB / 1.134 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.921e-05/1.017, allocations: 184.2 kB / 1.134 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.157e-05/1.017, allocations: 180.3 kB / 1.134 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.179e-05/1.017, allocations: 176.3 kB / 1.134 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/1.017, allocations: 327.5 kB / 1.135 GB, free: 436 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004004/1.017, allocations: 365.4 kB / 1.135 GB, free: 44 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001755/1.018, allocations: 188.2 kB / 1.135 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/1.018, allocations: 101 kB / 1.135 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.652e-05/1.018, allocations: 180.2 kB / 1.136 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.724e-05/1.018, allocations: 104.9 kB / 1.136 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001224/1.019, allocations: 1.111 MB / 1.137 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.31e-07/1.019, allocations: 4 kB / 1.137 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0009929/1.02, allocations: 303.6 kB / 1.137 GB, free: 14.04 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.00119/1.021, allocations: 1.097 MB / 1.138 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000222/1.022, allocations: 173.6 kB / 1.138 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.022, allocations: 4.062 kB / 1.138 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.161e-06/1.022, allocations: 11.98 kB / 1.138 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004611/1.022, allocations: 0.533 MB / 1.139 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000858/1.023, allocations: 0.5223 MB / 1.139 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/1.023, allocations: 0.7626 MB / 1.14 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.781e-05/1.023, allocations: 7.984 kB / 1.14 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.503e-05/1.023, allocations: 59.41 kB / 1.14 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of SimCode: time 2.61e-07/1.023, allocations: 3.938 kB / 1.14 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03185/1.055, allocations: 7 MB / 1.147 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003176/1.056, allocations: 244.1 kB / 1.147 GB, free: 3.57 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_8_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_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_FMU.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_FMU.c In file included from Buildings_8_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_8_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_8_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_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.c In file included from Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.c:7: In file included from ./Buildings_8_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_8_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_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_functions.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_functions.c In file included from Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_functions.c:1: In file included from ./Buildings_8_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_8_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_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_functions.o] Error 1