Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.198/2.198, allocations: 248.7 MB / 256.2 MB, free: 7.016 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001509/0.001508, allocations: 190.2 kB / 315.4 MB, free: 3.977 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.161/2.161, allocations: 205.3 MB / 0.5662 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001137/0.001136, allocations: 86.53 kB / 0.6704 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.204e-05/3.205e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2338, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.965/2.199, allocations: 406 MB / 1.281 GB, free: 259 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004906/2.2, allocations: 123.4 kB / 1.281 GB, free: 259 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.276/4.475, allocations: 472.1 MB / 1.742 GB, free: 172 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.314e-06/4.476, allocations: 0 / 1.742 GB, free: 172 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002099/4.476, allocations: 48.11 kB / 1.742 GB, free: 172 MB / 0.8698 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.005434/4.481, allocations: 1.935 MB / 1.744 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/4.481, allocations: 13.95 kB / 1.744 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008201/4.482, allocations: 204.3 kB / 1.744 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005065/4.487, allocations: 1.699 MB / 1.746 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.249e-05/4.487, allocations: 39.95 kB / 1.746 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002172/4.487, allocations: 68.91 kB / 1.746 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002072/4.49, allocations: 0.7161 MB / 1.746 GB, free: 169 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002226/4.492, allocations: 0.9093 MB / 1.747 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.501e-05/4.492, allocations: 0 / 1.747 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/4.492, allocations: 3.125 kB / 1.747 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.713e-05/4.492, allocations: 23.28 kB / 1.747 GB, free: 168.4 MB / 0.8698 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.01143/4.503, allocations: 6.244 MB / 1.753 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/4.505, allocations: 0.5096 MB / 1.754 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000671/4.505, allocations: 318 kB / 1.754 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001408/4.507, allocations: 1.271 MB / 1.755 GB, free: 161 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/4.507, allocations: 39.09 kB / 1.756 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=68): time 3.516e-06/4.507, allocations: 0 / 1.756 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=68): time 0.002949/4.51, allocations: 0.7549 MB / 1.756 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/4.51, allocations: 84.61 kB / 1.756 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002356/4.512, allocations: 1.121 MB / 1.757 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001211/4.512, allocations: 32.61 kB / 1.757 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006865/4.513, allocations: 0.716 MB / 1.758 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002636/4.513, allocations: 230.6 kB / 1.758 GB, free: 159 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.159e-05/4.514, allocations: 0 / 1.758 GB, free: 159 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001078/4.514, allocations: 345.2 kB / 1.759 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005883/4.514, allocations: 249.3 kB / 1.759 GB, free: 158.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007755/4.515, allocations: 473.2 kB / 1.759 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001747/4.517, allocations: 435.2 kB / 1.76 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/4.517, allocations: 3.844 kB / 1.76 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.003146/4.52, allocations: 0.9719 MB / 1.761 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003647/4.52, allocations: 1.327 MB / 1.762 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-05/4.52, allocations: 11.64 kB / 1.762 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003896/4.521, allocations: 72.22 kB / 1.762 GB, free: 156 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/4.522, allocations: 177.7 kB / 1.762 GB, free: 156 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002536/4.525, allocations: 2.884 MB / 1.765 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002022/4.527, allocations: 105.3 kB / 1.765 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/4.527, allocations: 38.89 kB / 1.765 GB, free: 153 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/4.527, allocations: 6.5 kB / 1.765 GB, free: 153 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002719/4.53, allocations: 0.799 MB / 1.766 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/4.53, allocations: 7.75 kB / 1.766 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002205/4.53, allocations: 63.94 kB / 1.766 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/4.531, allocations: 177.9 kB / 1.766 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/4.533, allocations: 2.877 MB / 1.769 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/4.535, allocations: 102.2 kB / 1.769 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/4.535, allocations: 38.3 kB / 1.769 GB, free: 149.7 MB / 0.8698 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.0003004/4.536, allocations: 115.4 kB / 1.769 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002485/4.538, allocations: 0.7474 MB / 1.77 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002875/4.538, allocations: 141.4 kB / 1.77 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003058/4.542, allocations: 0.9541 MB / 1.771 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.799e-05/4.542, allocations: 7.75 kB / 1.771 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/4.542, allocations: 3.594 kB / 1.771 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002076/4.544, allocations: 0.7846 MB / 1.772 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006379/4.55, allocations: 2.481 MB / 1.774 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.878e-06/4.55, allocations: 7.594 kB / 1.774 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/4.551, allocations: 134.1 kB / 1.774 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002849/4.551, allocations: 66.09 kB / 1.775 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.096e-05/4.552, allocations: 11.31 kB / 1.775 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002315/4.554, allocations: 2.882 MB / 1.777 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/4.554, allocations: 7.531 kB / 1.777 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00366/4.558, allocations: 1.523 MB / 1.779 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00091/4.558, allocations: 352.4 kB / 1.779 GB, free: 142 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000246/4.559, allocations: 11.8 kB / 1.779 GB, free: 142 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/4.56, allocations: 33.28 kB / 1.779 GB, free: 142 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/4.56, allocations: 67.22 kB / 1.779 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.418e-05/4.56, allocations: 27.98 kB / 1.779 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001701/4.562, allocations: 0.8478 MB / 1.78 GB, free: 141 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.41e-07/4.562, allocations: 0 / 1.78 GB, free: 141 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005047/4.567, allocations: 1.197 MB / 1.781 GB, free: 139.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.007269/4.574, allocations: 4.058 MB / 1.785 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003333/4.578, allocations: 1.594 MB / 1.787 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/4.578, allocations: 7.594 kB / 1.787 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009142/4.579, allocations: 0.5445 MB / 1.787 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00488/4.583, allocations: 0.6091 MB / 1.788 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00762/4.591, allocations: 2.706 MB / 1.791 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009761/4.592, allocations: 1.303 MB / 1.792 GB, free: 129.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002717/4.595, allocations: 453.1 kB / 1.792 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009962/4.596, allocations: 0.593 MB / 1.793 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.262e-06/4.596, allocations: 0 / 1.793 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1348/4.731, allocations: 47.64 MB / 1.839 GB, free: 81.39 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002523/4.731, allocations: 236.5 kB / 1.84 GB, free: 81.1 MB / 0.8698 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_7_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_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_FMU.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_FMU.c In file included from Buildings_7_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_7_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_7_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_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.c In file included from Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.c:7: In file included from ./Buildings_7_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_7_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_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.c In file included from Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.c:1: In file included from ./Buildings_7_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_7_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_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.o] Error 1