Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.415/1.415, allocations: 249.5 MB / 257 MB, free: 6.98 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.001473/0.001473, allocations: 179.4 kB / 316.3 MB, free: 3.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.3 MB / 0.5671 GB, free: 15.86 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009809/0.0009807, allocations: 90.34 kB / 0.6714 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.952e-05/1.956e-05, allocations: 4 kB / 0.7815 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2052, allocations: 106.3 MB / 0.8854 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7744/0.9797, allocations: 153.2 MB / 1.035 GB, free: 276 kB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/0.98, allocations: 115.3 kB / 1.035 GB, free: 200 kB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04692/1.027, allocations: 15.18 MB / 1.05 GB, free: 3.328 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.523e-06/1.027, allocations: 0 / 1.05 GB, free: 3.328 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.109e-05/1.027, allocations: 0 / 1.05 GB, free: 3.328 MB / 0.6667 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.001088/1.028, allocations: 0.5502 MB / 1.05 GB, free: 2.742 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/1.028, allocations: 12.03 kB / 1.05 GB, free: 2.73 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.858e-05/1.028, allocations: 83.45 kB / 1.051 GB, free: 2.648 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/1.028, allocations: 250.2 kB / 1.051 GB, free: 2.363 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.681e-05/1.029, allocations: 154.6 kB / 1.051 GB, free: 2.211 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.159e-05/1.029, allocations: 154.5 kB / 1.051 GB, free: 2.059 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.446e-05/1.029, allocations: 150.6 kB / 1.051 GB, free: 1.91 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.852e-05/1.029, allocations: 104.9 kB / 1.051 GB, free: 1.805 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.062e-05/1.029, allocations: 79.22 kB / 1.051 GB, free: 1.727 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.277e-05/1.029, allocations: 154.6 kB / 1.052 GB, free: 1.574 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.156e-05/1.029, allocations: 154.6 kB / 1.052 GB, free: 1.422 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003332/1.029, allocations: 441.1 kB / 1.052 GB, free: 0.9609 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 9.692e-05/1.029, allocations: 169.1 kB / 1.052 GB, free: 0.7852 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.803e-05/1.029, allocations: 84.14 kB / 1.052 GB, free: 0.6992 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.689e-05/1.029, allocations: 75.28 kB / 1.052 GB, free: 0.625 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.733e-05/1.03, allocations: 109.3 kB / 1.053 GB, free: 0.5117 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=0): time 2.575e-06/1.03, allocations: 0 / 1.053 GB, free: 0.5117 MB / 0.6667 GB Notification: Performance of matching and sorting (n=0): time 9.371e-05/1.03, allocations: 37.55 kB / 1.053 GB, free: 480 kB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/1.03, allocations: 51.41 kB / 1.053 GB, free: 416 kB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/1.03, allocations: 117.2 kB / 1.053 GB, free: 296 kB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/1.03, allocations: 29.7 kB / 1.053 GB, free: 260 kB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 6.359e-05/1.03, allocations: 95.06 kB / 1.053 GB, free: 168 kB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/1.03, allocations: 0 / 1.053 GB, free: 168 kB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-06/1.03, allocations: 0 / 1.053 GB, free: 168 kB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.03, allocations: 317.8 kB / 1.053 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.649e-05/1.03, allocations: 6.984 kB / 1.053 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.441e-05/1.03, allocations: 8.875 kB / 1.053 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.55e-05/1.03, allocations: 15.08 kB / 1.053 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.03, allocations: 0 / 1.053 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001722/1.03, allocations: 57.02 kB / 1.053 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/1.03, allocations: 4 kB / 1.053 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.299e-05/1.031, allocations: 7.984 kB / 1.053 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/1.031, allocations: 64 / 1.053 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.985e-06/1.031, allocations: 4 kB / 1.053 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/1.031, allocations: 0 / 1.053 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.642e-05/1.031, allocations: 0 / 1.053 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/1.031, allocations: 7.938 kB / 1.053 GB, free: 15.74 MB / 0.6823 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 0.000113/1.031, allocations: 180.2 kB / 1.053 GB, free: 15.56 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.344e-05/1.031, allocations: 138.6 kB / 1.054 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.139e-05/1.031, allocations: 116.8 kB / 1.054 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.823e-05/1.031, allocations: 108.5 kB / 1.054 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.118e-05/1.031, allocations: 176.3 kB / 1.054 GB, free: 15 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.766e-05/1.031, allocations: 184.2 kB / 1.054 GB, free: 14.81 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.169e-05/1.031, allocations: 176.3 kB / 1.054 GB, free: 14.63 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/1.031, allocations: 400.7 kB / 1.055 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.831e-05/1.032, allocations: 113 kB / 1.055 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.882e-05/1.032, allocations: 101 kB / 1.055 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.287e-05/1.032, allocations: 176.3 kB / 1.055 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.248e-05/1.032, allocations: 180.2 kB / 1.055 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.373e-05/1.032, allocations: 188.2 kB / 1.055 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.387e-05/1.032, allocations: 176.3 kB / 1.056 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/1.032, allocations: 307.2 kB / 1.056 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.741e-05/1.032, allocations: 190 kB / 1.056 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.607e-05/1.032, allocations: 181.2 kB / 1.056 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.259e-05/1.032, allocations: 105 kB / 1.056 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.507e-05/1.032, allocations: 176.3 kB / 1.056 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.286e-05/1.032, allocations: 112.4 kB / 1.057 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.927e-05/1.033, allocations: 91.17 kB / 1.057 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/1.033, allocations: 0 / 1.057 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001205/1.034, allocations: 333.1 kB / 1.057 GB, free: 11.73 MB / 0.6823 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.001895/1.036, allocations: 1.225 MB / 1.058 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001024/1.036, allocations: 36.95 kB / 1.058 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.036, allocations: 0 / 1.058 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.719e-06/1.036, allocations: 0 / 1.058 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/1.036, allocations: 0.5297 MB / 1.059 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008118/1.037, allocations: 349.6 kB / 1.059 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/1.037, allocations: 0.6846 MB / 1.06 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.611e-05/1.037, allocations: 4 kB / 1.06 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.243e-05/1.037, allocations: 18.44 kB / 1.06 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of SimCode: time 5.71e-07/1.037, allocations: 0 / 1.06 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0309/1.068, allocations: 6.265 MB / 1.066 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002833/1.069, allocations: 272.4 kB / 1.066 GB, free: 2.332 MB / 0.6823 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_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative -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_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_FMU.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_FMU.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_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_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_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_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative -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_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.c:7: In file included from ./Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_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_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative -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_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.c:1: In file included from ./Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_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_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.c:817: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_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.o] Error 1