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.InternalHEXTwoUTube.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.InternalHEXTwoUTube,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.026/4.026, allocations: 433.2 MB / 440.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.392e-05/3.405e-05, allocations: 8 kB / 0.5325 GB, free: 1.922 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7031/0.7032, allocations: 98.72 MB / 0.6289 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.294/1.997, allocations: 414.9 MB / 1.034 GB, free: 11.03 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004719/1.998, allocations: 119.4 kB / 1.034 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.617/7.614, allocations: 1.014 GB / 2.049 GB, free: 9.906 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.274e-06/7.614, allocations: 0 / 2.049 GB, free: 9.906 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0005391/7.615, allocations: 79.97 kB / 2.049 GB, free: 9.828 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: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.01152/7.626, allocations: 3.065 MB / 2.052 GB, free: 6.695 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/7.626, allocations: 12.03 kB / 2.052 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002259/7.629, allocations: 371.8 kB / 2.052 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01165/7.64, allocations: 2.913 MB / 2.055 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/7.641, allocations: 68 kB / 2.055 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008019/7.641, allocations: 127.9 kB / 2.055 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0059/7.647, allocations: 1.453 MB / 2.057 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006331/7.654, allocations: 1.776 MB / 2.058 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001146/7.654, allocations: 7.938 kB / 2.058 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003778/7.654, allocations: 3.953 kB / 2.058 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.161e-05/7.654, allocations: 56 kB / 2.058 GB, free: 15.73 MB / 0.8542 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.02232/7.677, allocations: 8.427 MB / 2.067 GB, free: 6.996 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002793/7.68, allocations: 1.088 MB / 2.068 GB, free: 5.898 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001694/7.681, allocations: 0.7485 MB / 2.068 GB, free: 5.148 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003761/7.685, allocations: 2.918 MB / 2.071 GB, free: 1.586 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.495e-05/7.685, allocations: 59.81 kB / 2.071 GB, free: 1.516 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=145): time 5.22e-06/7.685, allocations: 0 / 2.071 GB, free: 1.516 MB / 0.8542 GB Notification: Performance of matching and sorting (n=145): time 0.687/8.372, allocations: 1.611 MB / 2.073 GB, free: 91.23 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/8.372, allocations: 95.94 kB / 2.073 GB, free: 91.14 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006252/8.379, allocations: 1.695 MB / 2.075 GB, free: 90.94 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004473/8.379, allocations: 32.64 kB / 2.075 GB, free: 90.91 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001697/8.381, allocations: 1.229 MB / 2.076 GB, free: 90.76 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009458/8.382, allocations: 497 kB / 2.076 GB, free: 90.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/8.382, allocations: 0 / 2.076 GB, free: 90.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001907/8.382, allocations: 369.3 kB / 2.077 GB, free: 90.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00153/8.384, allocations: 496.8 kB / 2.077 GB, free: 90.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002133/8.386, allocations: 0.8342 MB / 2.078 GB, free: 89.85 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003909/8.39, allocations: 0.8032 MB / 2.079 GB, free: 89.83 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-05/8.39, allocations: 1.938 kB / 2.079 GB, free: 89.83 MB / 0.8542 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.008821/8.399, allocations: 1.973 MB / 2.081 GB, free: 89.58 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006205/8.399, allocations: 2.705 MB / 2.083 GB, free: 86.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-05/8.4, allocations: 9.75 kB / 2.083 GB, free: 86.72 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009394/8.4, allocations: 206.8 kB / 2.083 GB, free: 86.67 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002854/8.403, allocations: 344.9 kB / 2.084 GB, free: 86.67 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006036/8.409, allocations: 6.885 MB / 2.091 GB, free: 80.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003851/8.413, allocations: 220 kB / 2.091 GB, free: 80.51 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004609/8.414, allocations: 71.61 kB / 2.091 GB, free: 80.51 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/8.414, allocations: 4.391 kB / 2.091 GB, free: 80.51 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006638/8.421, allocations: 1.668 MB / 2.092 GB, free: 80.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.014e-05/8.421, allocations: 8.359 kB / 2.092 GB, free: 80.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007861/8.421, allocations: 204 kB / 2.093 GB, free: 80.36 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002664/8.424, allocations: 353.1 kB / 2.093 GB, free: 80.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00786/8.432, allocations: 8.651 MB / 2.101 GB, free: 72.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003769/8.436, allocations: 206.4 kB / 2.102 GB, free: 72.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005003/8.436, allocations: 73.31 kB / 2.102 GB, free: 72.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 184 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005833/8.437, allocations: 142.7 kB / 2.102 GB, free: 72.59 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005887/8.443, allocations: 1.586 MB / 2.103 GB, free: 72.36 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001099/8.444, allocations: 243.8 kB / 2.104 GB, free: 72.23 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007074/8.451, allocations: 1.987 MB / 2.106 GB, free: 72.05 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.524e-05/8.451, allocations: 18.03 kB / 2.106 GB, free: 72.05 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/8.451, allocations: 8.094 kB / 2.106 GB, free: 72.05 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005017/8.456, allocations: 1.67 MB / 2.107 GB, free: 71.71 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01269/8.469, allocations: 4.078 MB / 2.111 GB, free: 71.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/8.469, allocations: 3.953 kB / 2.111 GB, free: 71.27 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002186/8.471, allocations: 270.8 kB / 2.111 GB, free: 71.27 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006627/8.472, allocations: 185.4 kB / 2.112 GB, free: 71.22 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001503/8.472, allocations: 19.64 kB / 2.112 GB, free: 71.22 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005352/8.477, allocations: 6.843 MB / 2.118 GB, free: 65.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/8.478, allocations: 2.781 kB / 2.118 GB, free: 65.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007765/8.485, allocations: 2.613 MB / 2.121 GB, free: 64.68 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002038/8.487, allocations: 0.5455 MB / 2.121 GB, free: 64.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006085/8.488, allocations: 2.625 kB / 2.121 GB, free: 64.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002614/8.491, allocations: 133.6 kB / 2.122 GB, free: 64.46 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002614/8.491, allocations: 102.5 kB / 2.122 GB, free: 64.46 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001781/8.491, allocations: 52.55 kB / 2.122 GB, free: 64.46 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002844/8.494, allocations: 1.265 MB / 2.123 GB, free: 64.31 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.663e-06/8.494, allocations: 2.031 kB / 2.123 GB, free: 64.31 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01072/8.505, allocations: 1.968 MB / 2.125 GB, free: 64.21 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.vol3.dynBal.U,intHex.vol4.dynBal.U,intHex.intRes2UTub.capFil1.T,intHex.intRes2UTub.capFil2.T,intHex.intRes2UTub.capFil3.T,intHex.intRes2UTub.capFil4.T,senTem.T,senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01302/8.518, allocations: 4.861 MB / 2.13 GB, free: 63.04 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007376/8.525, allocations: 3.413 MB / 2.133 GB, free: 61.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/8.525, allocations: 6.094 kB / 2.133 GB, free: 61.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002273/8.528, allocations: 1.149 MB / 2.134 GB, free: 61.47 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01011/8.538, allocations: 1.135 MB / 2.135 GB, free: 61.46 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01496/8.553, allocations: 4.67 MB / 2.14 GB, free: 60.39 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002089/8.555, allocations: 1.793 MB / 2.141 GB, free: 59.66 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0057/8.561, allocations: 0.7193 MB / 2.142 GB, free: 59.62 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002366/8.563, allocations: 1.094 MB / 2.143 GB, free: 59.62 MB / 0.8542 GB Notification: Performance of SimCode: time 1.122e-06/8.563, allocations: 3.281 kB / 2.143 GB, free: 59.62 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2034/8.766, allocations: 80.52 MB / 2.222 GB, free: 55.53 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002882/8.767, allocations: 244.2 kB / 2.222 GB, free: 55.24 MB / 0.8542 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_InternalHEXTwoUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=14 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_FMU.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_FMU.c In file included from Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_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_InternalHEXTwoUTube_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_InternalHEXTwoUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=14 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.c In file included from Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.c:7: In file included from ./Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_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_InternalHEXTwoUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=14 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.c In file included from Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.c:1: In file included from ./Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_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_InternalHEXTwoUTube_functions.c:1098: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_InternalHEXTwoUTube_functions.o' failed make: *** [Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.o] Error 1