Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.364/2.364, allocations: 390.5 MB / 398 MB, free: 10.91 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 180.6 kB / 491.2 MB, free: 1.555 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.694/1.694, allocations: 221.5 MB / 0.7868 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 91.95 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.727e-05/2.728e-05, allocations: 8 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3375, allocations: 143 MB / 1.212 GB, free: 39.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.152/1.489, allocations: 170.3 MB / 1.379 GB, free: 15.96 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/1.49, allocations: 120.6 kB / 1.379 GB, free: 15.94 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04329/1.533, allocations: 15.3 MB / 1.394 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.015e-06/1.533, allocations: 0 / 1.394 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.469e-05/1.533, allocations: 0 / 1.394 GB, free: 26.02 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001545/1.535, allocations: 0.5601 MB / 1.394 GB, free: 25.49 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.446e-05/1.535, allocations: 11.69 kB / 1.394 GB, free: 25.49 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.121e-05/1.535, allocations: 79.23 kB / 1.394 GB, free: 25.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/1.535, allocations: 250.1 kB / 1.395 GB, free: 25.13 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.233e-05/1.535, allocations: 154.4 kB / 1.395 GB, free: 24.98 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.158e-05/1.535, allocations: 150.6 kB / 1.395 GB, free: 24.84 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.932e-05/1.535, allocations: 154.5 kB / 1.395 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.438e-05/1.535, allocations: 104.1 kB / 1.395 GB, free: 24.58 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/1.535, allocations: 79.28 kB / 1.395 GB, free: 24.5 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.089e-05/1.535, allocations: 150.6 kB / 1.395 GB, free: 24.35 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.33e-05/1.535, allocations: 162.4 kB / 1.396 GB, free: 24.19 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003008/1.536, allocations: 440.5 kB / 1.396 GB, free: 23.74 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.638e-05/1.536, allocations: 176.9 kB / 1.396 GB, free: 23.56 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.515e-05/1.536, allocations: 87.31 kB / 1.396 GB, free: 23.47 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/1.536, allocations: 75.28 kB / 1.396 GB, free: 23.4 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/1.536, allocations: 105.8 kB / 1.396 GB, free: 23.29 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 2.295e-06/1.536, allocations: 0 / 1.396 GB, free: 23.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 9.426e-05/1.536, allocations: 33.45 kB / 1.396 GB, free: 23.25 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/1.536, allocations: 51.41 kB / 1.397 GB, free: 23.19 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/1.536, allocations: 119.5 kB / 1.397 GB, free: 23.09 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/1.536, allocations: 29.36 kB / 1.397 GB, free: 23.05 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.45e-05/1.536, allocations: 90.88 kB / 1.397 GB, free: 22.97 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/1.536, allocations: 0 / 1.397 GB, free: 22.97 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/1.536, allocations: 0 / 1.397 GB, free: 22.97 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.537, allocations: 322.1 kB / 1.397 GB, free: 22.65 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.768e-05/1.537, allocations: 7.75 kB / 1.397 GB, free: 22.65 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.405e-05/1.537, allocations: 3.688 kB / 1.397 GB, free: 22.65 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.413e-05/1.537, allocations: 7.062 kB / 1.397 GB, free: 22.65 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/1.537, allocations: 4.031 kB / 1.397 GB, free: 22.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001565/1.537, allocations: 56.25 kB / 1.397 GB, free: 22.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/1.537, allocations: 3.844 kB / 1.397 GB, free: 22.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/1.537, allocations: 7.844 kB / 1.397 GB, free: 22.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/1.537, allocations: 0 / 1.397 GB, free: 22.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.785e-06/1.537, allocations: 3.812 kB / 1.397 GB, free: 22.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/1.537, allocations: 0 / 1.397 GB, free: 22.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.694e-05/1.537, allocations: 0 / 1.397 GB, free: 22.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/1.537, allocations: 0 / 1.397 GB, free: 22.6 MB / 0.8386 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.0001148/1.537, allocations: 192 kB / 1.397 GB, free: 22.41 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.847e-05/1.537, allocations: 138.4 kB / 1.397 GB, free: 22.26 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.662e-05/1.537, allocations: 108.7 kB / 1.398 GB, free: 22.15 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.212e-05/1.537, allocations: 116.7 kB / 1.398 GB, free: 22.04 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.159e-05/1.537, allocations: 176.3 kB / 1.398 GB, free: 21.86 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-05/1.538, allocations: 176.3 kB / 1.398 GB, free: 21.68 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.858e-05/1.538, allocations: 187.9 kB / 1.398 GB, free: 21.49 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/1.538, allocations: 393.1 kB / 1.399 GB, free: 21.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.456e-05/1.538, allocations: 108.9 kB / 1.399 GB, free: 20.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.44e-05/1.538, allocations: 108.9 kB / 1.399 GB, free: 20.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.637e-05/1.538, allocations: 176.3 kB / 1.399 GB, free: 20.67 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.686e-05/1.538, allocations: 180.3 kB / 1.399 GB, free: 20.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.536e-05/1.538, allocations: 184 kB / 1.399 GB, free: 20.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001152/1.538, allocations: 180.2 kB / 1.399 GB, free: 20.12 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/1.539, allocations: 314.6 kB / 1.4 GB, free: 19.79 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.077e-05/1.539, allocations: 185.9 kB / 1.4 GB, free: 19.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-05/1.539, allocations: 181.2 kB / 1.4 GB, free: 19.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.799e-05/1.539, allocations: 108.9 kB / 1.4 GB, free: 19.29 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.038e-05/1.539, allocations: 180 kB / 1.4 GB, free: 19.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.432e-05/1.539, allocations: 104.8 kB / 1.4 GB, free: 19.01 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.135e-05/1.539, allocations: 95.36 kB / 1.401 GB, free: 18.93 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.539, allocations: 0 / 1.401 GB, free: 18.93 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001555/1.541, allocations: 323.5 kB / 1.401 GB, free: 18.82 MB / 0.8386 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.002603/1.543, allocations: 1.199 MB / 1.402 GB, free: 17.85 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001327/1.543, allocations: 40.81 kB / 1.402 GB, free: 17.82 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.543, allocations: 0 / 1.402 GB, free: 17.82 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.027e-06/1.543, allocations: 4 kB / 1.402 GB, free: 17.81 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000466/1.544, allocations: 0.5258 MB / 1.403 GB, free: 17.29 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/1.545, allocations: 338.5 kB / 1.403 GB, free: 16.99 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/1.545, allocations: 0.692 MB / 1.404 GB, free: 16.28 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.803e-05/1.545, allocations: 4 kB / 1.404 GB, free: 16.28 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.736e-05/1.545, allocations: 18.92 kB / 1.404 GB, free: 16.26 MB / 0.8386 GB Notification: Performance of SimCode: time 3.91e-07/1.545, allocations: 3.844 kB / 1.404 GB, free: 16.26 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03245/1.578, allocations: 6.134 MB / 1.41 GB, free: 12.18 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002195/1.578, allocations: 242.9 kB / 1.41 GB, free: 11.89 MB / 0.8386 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_latest_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_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_FMU.o Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_FMU.c In file included from Buildings_latest_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_latest_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_latest_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_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.o Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.c:7: In file included from ./Buildings_latest_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_latest_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_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.o Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.c:1: In file included from ./Buildings_latest_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_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.c:779: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_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.o] Error 1