Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.747/1.747, allocations: 285.6 MB / 293.1 MB, free: 10.26 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001137/0.001138, allocations: 168.9 kB / 361.4 MB, free: 6.836 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 205.2 MB / 0.62 GB, free: 11.68 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008866/0.0008864, allocations: 98.88 kB / 0.733 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.62e-05/2.624e-05, allocations: 11.98 kB / 0.8519 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.784/0.7841, allocations: 115.3 MB / 0.9645 GB, free: 78.77 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2322/1.016, allocations: 157.8 MB / 1.119 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003364/1.017, allocations: 122.8 kB / 1.119 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04711/1.064, allocations: 14.85 MB / 1.133 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.928e-06/1.064, allocations: 0 / 1.133 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.196e-05/1.064, allocations: 0 / 1.133 GB, free: 15.14 MB / 0.7448 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.001529/1.065, allocations: 0.5605 MB / 1.134 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 7.076e-05/1.066, allocations: 15.97 kB / 1.134 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/1.066, allocations: 80.31 kB / 1.134 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/1.066, allocations: 251 kB / 1.134 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.956e-05/1.066, allocations: 150.6 kB / 1.134 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.008e-05/1.066, allocations: 150.6 kB / 1.134 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001095/1.066, allocations: 154.6 kB / 1.135 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.477e-05/1.066, allocations: 105 kB / 1.135 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.863e-05/1.066, allocations: 76.03 kB / 1.135 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.042e-05/1.067, allocations: 150.6 kB / 1.135 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001046/1.067, allocations: 154.5 kB / 1.135 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004534/1.067, allocations: 450.4 kB / 1.135 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/1.067, allocations: 169.1 kB / 1.136 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.367e-05/1.067, allocations: 80.14 kB / 1.136 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.28e-05/1.067, allocations: 83.22 kB / 1.136 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.943e-05/1.067, allocations: 109.8 kB / 1.136 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.963e-06/1.067, allocations: 3.375 kB / 1.136 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 0.0001087/1.068, allocations: 37.53 kB / 1.136 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/1.068, allocations: 55.41 kB / 1.136 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/1.068, allocations: 115 kB / 1.136 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/1.068, allocations: 25.7 kB / 1.136 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.323e-05/1.068, allocations: 88.14 kB / 1.136 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/1.068, allocations: 0 / 1.136 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-06/1.068, allocations: 0 / 1.136 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001617/1.068, allocations: 322.8 kB / 1.136 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.382e-05/1.068, allocations: 0 / 1.136 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.58e-05/1.068, allocations: 12 kB / 1.136 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/1.068, allocations: 4 kB / 1.136 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/1.068, allocations: 0 / 1.136 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001822/1.068, allocations: 53.55 kB / 1.137 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/1.068, allocations: 4 kB / 1.137 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.503e-05/1.069, allocations: 4 kB / 1.137 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/1.069, allocations: 0 / 1.137 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.121e-06/1.069, allocations: 1.125 kB / 1.137 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/1.069, allocations: 3.938 kB / 1.137 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.867e-05/1.069, allocations: 0 / 1.137 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/1.069, allocations: 8.062 kB / 1.137 GB, free: 11.52 MB / 0.7448 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.0001281/1.069, allocations: 180.3 kB / 1.137 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001071/1.069, allocations: 142.5 kB / 1.137 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.656e-05/1.069, allocations: 112.8 kB / 1.137 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.555e-05/1.069, allocations: 105 kB / 1.137 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-05/1.069, allocations: 184.2 kB / 1.137 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.402e-05/1.069, allocations: 184.2 kB / 1.137 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.95e-05/1.069, allocations: 178.6 kB / 1.138 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/1.07, allocations: 397.7 kB / 1.138 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.84e-05/1.07, allocations: 109.1 kB / 1.138 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.554e-05/1.07, allocations: 105 kB / 1.138 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.777e-05/1.07, allocations: 180.2 kB / 1.138 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.672e-05/1.07, allocations: 188.2 kB / 1.139 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001037/1.07, allocations: 176.3 kB / 1.139 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-05/1.07, allocations: 180.2 kB / 1.139 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/1.07, allocations: 307.8 kB / 1.139 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.691e-05/1.07, allocations: 195.4 kB / 1.139 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/1.071, allocations: 181.1 kB / 1.14 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.38e-05/1.071, allocations: 101 kB / 1.14 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.881e-05/1.071, allocations: 180.2 kB / 1.14 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.359e-05/1.071, allocations: 108.9 kB / 1.14 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.594e-05/1.071, allocations: 92.69 kB / 1.14 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/1.071, allocations: 4 kB / 1.14 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001266/1.072, allocations: 327.4 kB / 1.14 GB, free: 7.465 MB / 0.7448 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.002217/1.074, allocations: 1.208 MB / 1.141 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001116/1.074, allocations: 40.89 kB / 1.142 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.074, allocations: 0 / 1.142 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.055e-06/1.074, allocations: 0 / 1.142 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/1.075, allocations: 0.5307 MB / 1.142 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/1.076, allocations: 334.4 kB / 1.142 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/1.076, allocations: 0.6846 MB / 1.143 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.154e-05/1.076, allocations: 7.938 kB / 1.143 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.189e-05/1.076, allocations: 11.44 kB / 1.143 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/1.076, allocations: 0 / 1.143 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03389/1.11, allocations: 6.113 MB / 1.149 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002671/1.111, allocations: 279.6 kB / 1.149 GB, free: 14.24 MB / 0.7605 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_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative -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_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_FMU.o Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_FMU.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_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_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_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_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative -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_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.o Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.c:7: In file included from ./Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_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_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative -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_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_functions.o Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_functions.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_functions.c:1: In file included from ./Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_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_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_functions.c:786: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_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_functions.o] Error 1