Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.123/4.123, allocations: 433.2 MB / 440.7 MB, free: 10.58 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.482e-05/2.49e-05, allocations: 4 kB / 0.5325 GB, free: 1.918 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6386/0.6387, allocations: 98.72 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.213/1.851, allocations: 397.9 MB / 1.018 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004722/1.852, allocations: 123.1 kB / 1.018 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.735/4.587, allocations: 472.1 MB / 1.479 GB, free: 156.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.305e-06/4.587, allocations: 0 / 1.479 GB, free: 156.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001988/4.588, allocations: 48.55 kB / 1.479 GB, free: 156.4 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.005354/4.593, allocations: 1.933 MB / 1.481 GB, free: 155.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/4.593, allocations: 11.62 kB / 1.481 GB, free: 155.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008852/4.594, allocations: 205.3 kB / 1.481 GB, free: 155.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004924/4.599, allocations: 1.703 MB / 1.482 GB, free: 155.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.1e-05/4.599, allocations: 41.58 kB / 1.483 GB, free: 155.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002056/4.599, allocations: 70.78 kB / 1.483 GB, free: 155.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001962/4.601, allocations: 0.7109 MB / 1.483 GB, free: 155.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002125/4.603, allocations: 0.9052 MB / 1.484 GB, free: 155 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.841e-05/4.603, allocations: 0 / 1.484 GB, free: 155 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/4.604, allocations: 0 / 1.484 GB, free: 155 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/4.604, allocations: 25.69 kB / 1.484 GB, free: 155 MB / 0.823 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01056/4.614, allocations: 6.226 MB / 1.49 GB, free: 151.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009436/4.615, allocations: 493.3 kB / 1.491 GB, free: 151.4 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005858/4.616, allocations: 301.5 kB / 1.491 GB, free: 151.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00122/4.617, allocations: 1.266 MB / 1.492 GB, free: 150 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/4.617, allocations: 43.59 kB / 1.492 GB, free: 150 MB / 0.823 GB Notification: Performance of pre-optimization done (n=65): time 3.256e-06/4.617, allocations: 0 / 1.492 GB, free: 150 MB / 0.823 GB Notification: Performance of matching and sorting (n=65): time 0.002605/4.62, allocations: 0.728 MB / 1.493 GB, free: 149.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/4.62, allocations: 85.89 kB / 1.493 GB, free: 149.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/4.622, allocations: 1.136 MB / 1.494 GB, free: 149.6 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001156/4.622, allocations: 32.59 kB / 1.494 GB, free: 149.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006554/4.623, allocations: 0.7352 MB / 1.495 GB, free: 149.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002419/4.623, allocations: 217.4 kB / 1.495 GB, free: 149.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.134e-05/4.623, allocations: 0 / 1.495 GB, free: 149.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.926e-05/4.623, allocations: 339.5 kB / 1.495 GB, free: 148.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005934/4.624, allocations: 247.3 kB / 1.496 GB, free: 148.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007351/4.624, allocations: 475.8 kB / 1.496 GB, free: 148.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/4.626, allocations: 416.4 kB / 1.497 GB, free: 148.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/4.626, allocations: 0 / 1.497 GB, free: 148.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00302/4.629, allocations: 0.9711 MB / 1.498 GB, free: 148.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003166/4.63, allocations: 1.342 MB / 1.499 GB, free: 147.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.894e-05/4.63, allocations: 7 kB / 1.499 GB, free: 147.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003807/4.63, allocations: 75.7 kB / 1.499 GB, free: 147.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/4.631, allocations: 178.4 kB / 1.499 GB, free: 147.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002403/4.634, allocations: 2.875 MB / 1.502 GB, free: 144.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/4.636, allocations: 106.5 kB / 1.502 GB, free: 144.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/4.636, allocations: 41.92 kB / 1.502 GB, free: 144.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/4.636, allocations: 7.766 kB / 1.502 GB, free: 144.5 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002641/4.638, allocations: 0.7868 MB / 1.503 GB, free: 144.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-05/4.638, allocations: 6.656 kB / 1.503 GB, free: 144.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002182/4.639, allocations: 69.36 kB / 1.503 GB, free: 144.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/4.64, allocations: 173.3 kB / 1.503 GB, free: 144.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/4.642, allocations: 2.878 MB / 1.506 GB, free: 141.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/4.644, allocations: 92.44 kB / 1.506 GB, free: 141.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/4.644, allocations: 42.88 kB / 1.506 GB, free: 141.8 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 96 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002877/4.644, allocations: 120.5 kB / 1.506 GB, free: 141.7 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002318/4.647, allocations: 0.7278 MB / 1.507 GB, free: 141.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002374/4.647, allocations: 144 kB / 1.507 GB, free: 141.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002825/4.65, allocations: 0.9554 MB / 1.508 GB, free: 141.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/4.65, allocations: 10.83 kB / 1.508 GB, free: 141.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/4.65, allocations: 0 / 1.508 GB, free: 141.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001841/4.652, allocations: 0.724 MB / 1.509 GB, free: 141.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005808/4.657, allocations: 2.35 MB / 1.511 GB, free: 140.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/4.657, allocations: 3.188 kB / 1.511 GB, free: 140.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009758/4.658, allocations: 124.7 kB / 1.511 GB, free: 140.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000287/4.659, allocations: 72.56 kB / 1.511 GB, free: 140.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.646e-05/4.659, allocations: 14.62 kB / 1.511 GB, free: 140.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002275/4.661, allocations: 2.87 MB / 1.514 GB, free: 138 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/4.661, allocations: 7.703 kB / 1.514 GB, free: 138 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003192/4.664, allocations: 1.395 MB / 1.515 GB, free: 137.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008251/4.665, allocations: 349.8 kB / 1.516 GB, free: 137.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002686/4.665, allocations: 10.47 kB / 1.516 GB, free: 137.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/4.667, allocations: 32.41 kB / 1.516 GB, free: 137.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/4.667, allocations: 58.83 kB / 1.516 GB, free: 137.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.542e-05/4.667, allocations: 32.56 kB / 1.516 GB, free: 137.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001715/4.668, allocations: 0.8852 MB / 1.517 GB, free: 137.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.61e-07/4.669, allocations: 0 / 1.517 GB, free: 137.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00494/4.673, allocations: 1.207 MB / 1.518 GB, free: 136.9 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.intResUTub.capFil1.T,intHex.intResUTub.capFil2.T,senTem.T,senTem1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006664/4.68, allocations: 3.842 MB / 1.522 GB, free: 134.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00328/4.683, allocations: 1.551 MB / 1.523 GB, free: 134.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/4.684, allocations: 3 kB / 1.523 GB, free: 134.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008985/4.684, allocations: 0.5116 MB / 1.524 GB, free: 134.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005131/4.69, allocations: 0.6062 MB / 1.524 GB, free: 134.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007605/4.697, allocations: 2.671 MB / 1.527 GB, free: 133.3 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009331/4.698, allocations: 1.304 MB / 1.528 GB, free: 132.6 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002701/4.701, allocations: 442.6 kB / 1.528 GB, free: 132.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009392/4.702, allocations: 0.5901 MB / 1.529 GB, free: 132.6 MB / 0.823 GB Notification: Performance of SimCode: time 9.02e-07/4.702, allocations: 0 / 1.529 GB, free: 132.6 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1374/4.839, allocations: 47.58 MB / 1.575 GB, free: 130.4 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000298/4.84, allocations: 234.7 kB / 1.576 GB, free: 130.1 MB / 0.823 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_FMU.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_FMU.c In file included from Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_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_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_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 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.c In file included from Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.c:7: In file included from ./Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_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 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.c In file included from Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.c:1: In file included from ./Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_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_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.c:953: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. : recipe for target 'Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.o' failed make: *** [Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.o] Error 1