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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.234/2.234, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.00116/0.00116, allocations: 176.8 kB / 487.4 MB, free: 5.047 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.568/1.568, allocations: 221.5 MB / 0.7824 GB, free: 1.023 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.0008967/0.0008966, allocations: 99.84 kB / 0.9219 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.356e-05/2.36e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2735, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9737/1.247, allocations: 169.5 MB / 1.372 GB, free: 17.48 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003163/1.248, allocations: 120 kB / 1.372 GB, free: 17.45 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04213/1.29, allocations: 15.29 MB / 1.387 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.192e-06/1.29, allocations: 4 kB / 1.387 GB, free: 27.53 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.839e-06/1.29, allocations: 3.969 kB / 1.387 GB, free: 27.53 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001057/1.291, allocations: 0.5498 MB / 1.387 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/1.291, allocations: 15.67 kB / 1.387 GB, free: 27 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.941e-05/1.291, allocations: 86.92 kB / 1.387 GB, free: 26.92 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/1.291, allocations: 246 kB / 1.388 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.74e-05/1.291, allocations: 153.6 kB / 1.388 GB, free: 26.5 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.531e-05/1.291, allocations: 154.6 kB / 1.388 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.796e-05/1.291, allocations: 154.5 kB / 1.388 GB, free: 26.19 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.746e-05/1.292, allocations: 104.9 kB / 1.388 GB, free: 26.09 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.131e-05/1.292, allocations: 75.28 kB / 1.388 GB, free: 26.01 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.86e-05/1.292, allocations: 154.5 kB / 1.388 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.268e-05/1.292, allocations: 150.6 kB / 1.388 GB, free: 25.71 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002931/1.292, allocations: 451.7 kB / 1.389 GB, free: 25.25 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.986e-05/1.292, allocations: 169.1 kB / 1.389 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.363e-05/1.292, allocations: 80.14 kB / 1.389 GB, free: 24.99 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.148e-05/1.292, allocations: 75.28 kB / 1.389 GB, free: 24.92 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/1.292, allocations: 117.7 kB / 1.389 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.653e-06/1.292, allocations: 0 / 1.389 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.229e-05/1.292, allocations: 33.59 kB / 1.389 GB, free: 24.76 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/1.292, allocations: 55.25 kB / 1.389 GB, free: 24.7 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/1.292, allocations: 116.9 kB / 1.389 GB, free: 24.6 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/1.293, allocations: 25.7 kB / 1.39 GB, free: 24.57 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.756e-05/1.293, allocations: 90.98 kB / 1.39 GB, free: 24.48 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/1.293, allocations: 0 / 1.39 GB, free: 24.48 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/1.293, allocations: 4 kB / 1.39 GB, free: 24.48 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001391/1.293, allocations: 322.4 kB / 1.39 GB, free: 24.16 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.448e-05/1.293, allocations: 7.781 kB / 1.39 GB, free: 24.16 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.312e-05/1.293, allocations: 3.969 kB / 1.39 GB, free: 24.16 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.763e-05/1.293, allocations: 7.25 kB / 1.39 GB, free: 24.16 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.293, allocations: 0 / 1.39 GB, free: 24.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001394/1.293, allocations: 52.22 kB / 1.39 GB, free: 24.12 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/1.293, allocations: 7.5 kB / 1.39 GB, free: 24.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/1.293, allocations: 3.719 kB / 1.39 GB, free: 24.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/1.293, allocations: 4.125 kB / 1.39 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.725e-06/1.293, allocations: 4 kB / 1.39 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/1.293, allocations: 0 / 1.39 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.356e-05/1.293, allocations: 3.906 kB / 1.39 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/1.293, allocations: 3.688 kB / 1.39 GB, free: 24.11 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.969e-05/1.293, allocations: 180.2 kB / 1.39 GB, free: 23.92 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.864e-05/1.293, allocations: 142.4 kB / 1.39 GB, free: 23.77 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.436e-05/1.293, allocations: 108.8 kB / 1.39 GB, free: 23.66 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.924e-05/1.293, allocations: 116.3 kB / 1.391 GB, free: 23.55 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-05/1.294, allocations: 184.1 kB / 1.391 GB, free: 23.37 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.265e-05/1.294, allocations: 176.3 kB / 1.391 GB, free: 23.19 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.379e-05/1.294, allocations: 180.2 kB / 1.391 GB, free: 23 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/1.294, allocations: 400.2 kB / 1.391 GB, free: 22.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.573e-05/1.294, allocations: 109 kB / 1.392 GB, free: 22.47 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.142e-05/1.294, allocations: 104.9 kB / 1.392 GB, free: 22.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.165e-05/1.294, allocations: 180.2 kB / 1.392 GB, free: 22.18 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.866e-05/1.294, allocations: 180.1 kB / 1.392 GB, free: 22 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-05/1.294, allocations: 180.2 kB / 1.392 GB, free: 21.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.64e-05/1.294, allocations: 176.3 kB / 1.392 GB, free: 21.64 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/1.294, allocations: 323.2 kB / 1.393 GB, free: 21.3 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.756e-05/1.294, allocations: 181.9 kB / 1.393 GB, free: 21.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.799e-05/1.295, allocations: 177.2 kB / 1.393 GB, free: 20.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.467e-05/1.295, allocations: 108.8 kB / 1.393 GB, free: 20.82 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.634e-05/1.295, allocations: 187.4 kB / 1.393 GB, free: 20.63 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/1.295, allocations: 101 kB / 1.393 GB, free: 20.52 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.609e-05/1.295, allocations: 96.34 kB / 1.393 GB, free: 20.45 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.295, allocations: 0 / 1.393 GB, free: 20.45 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001081/1.296, allocations: 330.8 kB / 1.394 GB, free: 20.34 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.001915/1.298, allocations: 1.187 MB / 1.395 GB, free: 19.37 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.169e-05/1.298, allocations: 37.27 kB / 1.395 GB, free: 19.34 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.298, allocations: 0 / 1.395 GB, free: 19.34 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.166e-06/1.298, allocations: 7.844 kB / 1.395 GB, free: 19.33 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/1.298, allocations: 0.5295 MB / 1.395 GB, free: 18.8 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000781/1.299, allocations: 338.9 kB / 1.396 GB, free: 18.5 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/1.299, allocations: 0.6842 MB / 1.396 GB, free: 17.8 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.799e-05/1.299, allocations: 0 / 1.396 GB, free: 17.8 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.886e-05/1.3, allocations: 18.7 kB / 1.396 GB, free: 17.79 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.3, allocations: 0 / 1.396 GB, free: 17.79 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02977/1.329, allocations: 6.138 MB / 1.402 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002359/1.33, allocations: 222.6 kB / 1.403 GB, free: 14.44 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_InternalResistancesTwoUTube -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_InternalResistancesTwoUTube_FMU.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_FMU.c In file included from Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_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_InternalResistancesTwoUTube_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_InternalResistancesTwoUTube -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_InternalResistancesTwoUTube.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.c In file included from Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.c:7: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_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_InternalResistancesTwoUTube -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_InternalResistancesTwoUTube_functions.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_functions.c In file included from Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_functions.c:1: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_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_InternalResistancesTwoUTube_functions.c:779: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_InternalResistancesTwoUTube_functions.o] Error 1