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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.497/1.497, allocations: 249.5 MB / 257 MB, free: 6.965 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.001093/0.001093, allocations: 172.8 kB / 316.3 MB, free: 3.234 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.631/1.631, allocations: 205.3 MB / 0.5671 GB, free: 15.81 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.001069/0.001069, allocations: 95.47 kB / 0.6714 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.299e-05/2.335e-05, allocations: 8 kB / 0.7815 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2273, allocations: 106.3 MB / 0.8854 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7639/0.9913, allocations: 152.5 MB / 1.034 GB, free: 0.957 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003644/0.9917, allocations: 118.7 kB / 1.034 GB, free: 0.8828 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04363/1.035, allocations: 14.84 MB / 1.049 GB, free: 4.316 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.894e-06/1.035, allocations: 0 / 1.049 GB, free: 4.316 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.426e-06/1.035, allocations: 4 kB / 1.049 GB, free: 4.312 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.0009764/1.036, allocations: 0.5435 MB / 1.049 GB, free: 3.734 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.036, allocations: 12.03 kB / 1.049 GB, free: 3.723 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.13e-05/1.037, allocations: 83.45 kB / 1.049 GB, free: 3.641 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/1.037, allocations: 260.1 kB / 1.05 GB, free: 3.348 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.939e-05/1.037, allocations: 150.6 kB / 1.05 GB, free: 3.199 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.553e-05/1.037, allocations: 150.6 kB / 1.05 GB, free: 3.051 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.439e-05/1.037, allocations: 150.6 kB / 1.05 GB, free: 2.902 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.644e-05/1.037, allocations: 101 kB / 1.05 GB, free: 2.797 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.436e-05/1.037, allocations: 75.28 kB / 1.05 GB, free: 2.723 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.838e-05/1.037, allocations: 157.6 kB / 1.05 GB, free: 2.57 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-05/1.037, allocations: 150.6 kB / 1.051 GB, free: 2.422 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003102/1.038, allocations: 453.7 kB / 1.051 GB, free: 1.949 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 8.136e-05/1.038, allocations: 169.1 kB / 1.051 GB, free: 1.773 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.646e-05/1.038, allocations: 84.14 kB / 1.051 GB, free: 1.688 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/1.038, allocations: 75.28 kB / 1.051 GB, free: 1.613 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.239e-05/1.038, allocations: 110.8 kB / 1.051 GB, free: 1.496 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/1.038, allocations: 0 / 1.051 GB, free: 1.496 MB / 0.6667 GB Notification: Performance of matching and sorting (n=0): time 9.069e-05/1.038, allocations: 37.55 kB / 1.052 GB, free: 1.453 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/1.038, allocations: 55.28 kB / 1.052 GB, free: 1.391 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/1.038, allocations: 118.3 kB / 1.052 GB, free: 1.273 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/1.038, allocations: 25.7 kB / 1.052 GB, free: 1.242 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/1.038, allocations: 91.94 kB / 1.052 GB, free: 1.152 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-06/1.038, allocations: 0 / 1.052 GB, free: 1.152 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/1.038, allocations: 0 / 1.052 GB, free: 1.152 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001236/1.038, allocations: 314.3 kB / 1.052 GB, free: 0.8398 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.054e-05/1.038, allocations: 7.938 kB / 1.052 GB, free: 0.832 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.354e-05/1.038, allocations: 11.81 kB / 1.052 GB, free: 0.8242 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.455e-05/1.038, allocations: 15.97 kB / 1.052 GB, free: 0.8086 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.038, allocations: 4.031 kB / 1.052 GB, free: 0.8047 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001337/1.039, allocations: 41.61 kB / 1.052 GB, free: 0.7578 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/1.039, allocations: 11.98 kB / 1.052 GB, free: 0.7461 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/1.039, allocations: 0 / 1.052 GB, free: 0.7461 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/1.039, allocations: 4 kB / 1.052 GB, free: 0.7422 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/1.039, allocations: 0 / 1.052 GB, free: 0.7422 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/1.039, allocations: 0 / 1.052 GB, free: 0.7422 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.029e-05/1.039, allocations: 0 / 1.052 GB, free: 0.7422 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/1.039, allocations: 3.938 kB / 1.052 GB, free: 0.7383 MB / 0.6667 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 9.979e-05/1.039, allocations: 192.1 kB / 1.052 GB, free: 0.5469 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.911e-05/1.039, allocations: 134.6 kB / 1.053 GB, free: 412 kB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.238e-05/1.039, allocations: 108.9 kB / 1.053 GB, free: 296 kB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.028e-05/1.039, allocations: 109 kB / 1.053 GB, free: 176 kB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.86e-05/1.039, allocations: 176.3 kB / 1.053 GB, free: 15.99 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.219e-05/1.039, allocations: 180.2 kB / 1.053 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.195e-05/1.039, allocations: 191.2 kB / 1.053 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/1.039, allocations: 391.2 kB / 1.054 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.305e-05/1.04, allocations: 109 kB / 1.054 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/1.04, allocations: 105 kB / 1.054 GB, free: 14.97 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.295e-05/1.04, allocations: 176.3 kB / 1.054 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.358e-05/1.04, allocations: 180.2 kB / 1.054 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.971e-05/1.04, allocations: 184.2 kB / 1.054 GB, free: 14.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.891e-05/1.04, allocations: 176.3 kB / 1.054 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/1.04, allocations: 315.2 kB / 1.055 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.45e-05/1.04, allocations: 186 kB / 1.055 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/1.04, allocations: 185.2 kB / 1.055 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.375e-05/1.04, allocations: 105 kB / 1.055 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.331e-05/1.041, allocations: 176.3 kB / 1.055 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.961e-05/1.041, allocations: 107.8 kB / 1.056 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.143e-05/1.041, allocations: 96.17 kB / 1.056 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.7e-07/1.041, allocations: 0 / 1.056 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001144/1.042, allocations: 324.8 kB / 1.056 GB, free: 12.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.001603/1.043, allocations: 1.21 MB / 1.057 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001006/1.044, allocations: 37.14 kB / 1.057 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/1.044, allocations: 64 / 1.057 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/1.044, allocations: 4 kB / 1.057 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/1.044, allocations: 0.5262 MB / 1.058 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006742/1.045, allocations: 351 kB / 1.058 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/1.045, allocations: 0.6923 MB / 1.059 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.497e-05/1.045, allocations: 0 / 1.059 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.629e-05/1.045, allocations: 14.31 kB / 1.059 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of SimCode: time 1.773e-06/1.045, allocations: 0 / 1.059 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02834/1.073, allocations: 6.127 MB / 1.065 GB, free: 3.77 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002309/1.074, allocations: 276.4 kB / 1.065 GB, free: 3.484 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_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_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_FMU.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_FMU.c In file included from Buildings_maint_7_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_7_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_7_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_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.c:7: In file included from ./Buildings_maint_7_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_7_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_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_functions.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_functions.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_functions.c:1: In file included from ./Buildings_maint_7_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_7_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_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_functions.o] Error 1