Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.325/2.325, allocations: 387.4 MB / 394.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 176.9 kB / 487.4 MB, free: 5.055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 221.5 MB / 0.7824 GB, free: 0.9961 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009004/0.0009001, allocations: 103.8 kB / 0.9219 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.682e-05/2.684e-05, allocations: 8 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2732, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.025/1.299, allocations: 160.9 MB / 1.363 GB, free: 17.98 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/1.299, allocations: 118.8 kB / 1.363 GB, free: 17.98 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02247/1.321, allocations: 8.401 MB / 1.372 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.973e-06/1.321, allocations: 0 / 1.372 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.15e-05/1.321, allocations: 3.844 kB / 1.372 GB, free: 32.63 MB / 0.8386 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.001033/1.322, allocations: 0.5601 MB / 1.372 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.204e-05/1.323, allocations: 7.688 kB / 1.372 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.74e-05/1.323, allocations: 23.31 kB / 1.372 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/1.323, allocations: 219.9 kB / 1.372 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/1.323, allocations: 3.984 kB / 1.372 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/1.323, allocations: 4.625 kB / 1.372 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001242/1.323, allocations: 76.58 kB / 1.372 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/1.323, allocations: 110.3 kB / 1.373 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/1.323, allocations: 4 kB / 1.373 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/1.323, allocations: 0 / 1.373 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/1.323, allocations: 0 / 1.373 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002801/1.324, allocations: 247.9 kB / 1.373 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/1.324, allocations: 119.1 kB / 1.373 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/1.324, allocations: 118.6 kB / 1.373 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/1.324, allocations: 0 / 1.373 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/1.324, allocations: 35.19 kB / 1.373 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=32): time 9.42e-07/1.324, allocations: 0 / 1.373 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=32): time 0.0003929/1.324, allocations: 235 kB / 1.373 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/1.324, allocations: 51.41 kB / 1.373 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/1.325, allocations: 217.2 kB / 1.374 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/1.325, allocations: 25.7 kB / 1.374 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.516e-05/1.325, allocations: 127.4 kB / 1.374 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.494e-05/1.325, allocations: 105 kB / 1.374 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-06/1.325, allocations: 0 / 1.374 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001874/1.325, allocations: 340.9 kB / 1.374 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.744e-05/1.325, allocations: 79.42 kB / 1.374 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.62e-05/1.325, allocations: 73.78 kB / 1.374 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/1.325, allocations: 110.5 kB / 1.374 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.325, allocations: 0 / 1.374 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000229/1.326, allocations: 223.4 kB / 1.375 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/1.326, allocations: 3.906 kB / 1.375 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/1.326, allocations: 3.906 kB / 1.375 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/1.326, allocations: 0 / 1.375 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.593e-06/1.326, allocations: 0 / 1.375 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/1.326, allocations: 4.062 kB / 1.375 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.826e-05/1.326, allocations: 12.62 kB / 1.375 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/1.326, allocations: 7.719 kB / 1.375 GB, free: 30.61 MB / 0.8386 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 9.923e-05/1.326, allocations: 104.9 kB / 1.375 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002304/1.326, allocations: 228.1 kB / 1.375 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/1.326, allocations: 19.34 kB / 1.375 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005254/1.327, allocations: 0.5708 MB / 1.375 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.806e-05/1.327, allocations: 181 kB / 1.376 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.029e-05/1.327, allocations: 184.1 kB / 1.376 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.002e-05/1.327, allocations: 184.2 kB / 1.376 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000449/1.327, allocations: 0.5267 MB / 1.377 GB, free: 28.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.432e-05/1.327, allocations: 108.8 kB / 1.377 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.633e-05/1.328, allocations: 101 kB / 1.377 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.162e-05/1.328, allocations: 183.8 kB / 1.377 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.237e-05/1.328, allocations: 180.2 kB / 1.377 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.894e-05/1.328, allocations: 180.2 kB / 1.377 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.551e-05/1.328, allocations: 184.1 kB / 1.377 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/1.328, allocations: 326.1 kB / 1.378 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003969/1.329, allocations: 366 kB / 1.378 GB, free: 27.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/1.329, allocations: 180.2 kB / 1.378 GB, free: 27.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/1.329, allocations: 104.8 kB / 1.378 GB, free: 27.06 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/1.329, allocations: 188.1 kB / 1.379 GB, free: 26.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.809e-05/1.329, allocations: 101 kB / 1.379 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001049/1.33, allocations: 1.112 MB / 1.38 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.33, allocations: 0 / 1.38 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001266/1.331, allocations: 305.5 kB / 1.38 GB, free: 26.5 MB / 0.8386 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.001676/1.333, allocations: 1.094 MB / 1.381 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000273/1.333, allocations: 175.4 kB / 1.381 GB, free: 25.53 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/1.333, allocations: 0 / 1.381 GB, free: 25.53 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.657e-06/1.333, allocations: 7.844 kB / 1.381 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005729/1.334, allocations: 0.5443 MB / 1.382 GB, free: 24.99 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009692/1.335, allocations: 0.5291 MB / 1.382 GB, free: 24.63 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/1.335, allocations: 0.7589 MB / 1.383 GB, free: 23.9 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.849e-05/1.335, allocations: 7.969 kB / 1.383 GB, free: 23.89 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.819e-05/1.335, allocations: 56.89 kB / 1.383 GB, free: 23.88 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.335, allocations: 0 / 1.383 GB, free: 23.88 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/1.362, allocations: 7.01 MB / 1.39 GB, free: 20.49 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/1.362, allocations: 236.5 kB / 1.39 GB, free: 20.21 MB / 0.8386 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_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_FMU.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_FMU.c In file included from Buildings_9_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_9_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_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.c In file included from Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.c:7: In file included from ./Buildings_9_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_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_functions.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_functions.c In file included from Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_functions.c:1: In file included from ./Buildings_9_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_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_functions.o] Error 1