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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.286/2.286, allocations: 390.5 MB / 398 MB, free: 10.96 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.001344/0.001343, allocations: 182 kB / 491.2 MB, free: 1.59 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.632/1.632, allocations: 221.5 MB / 0.7868 GB, free: 13.24 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.001101/0.001101, allocations: 95.83 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.699e-05/2.723e-05, allocations: 8 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3317, allocations: 143 MB / 1.212 GB, free: 39.36 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9612/1.293, allocations: 169.6 MB / 1.378 GB, free: 16.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/1.293, allocations: 115 kB / 1.378 GB, free: 16.18 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04212/1.335, allocations: 14.98 MB / 1.393 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.803e-06/1.336, allocations: 3.938 kB / 1.393 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.566e-06/1.336, allocations: 3.938 kB / 1.393 GB, free: 26.36 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.001075/1.337, allocations: 0.5546 MB / 1.393 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/1.337, allocations: 11.72 kB / 1.393 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.889e-05/1.337, allocations: 83.08 kB / 1.393 GB, free: 25.76 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/1.337, allocations: 251.9 kB / 1.394 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.841e-05/1.337, allocations: 150.6 kB / 1.394 GB, free: 25.33 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.705e-05/1.337, allocations: 150.6 kB / 1.394 GB, free: 25.18 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.324e-05/1.337, allocations: 150.6 kB / 1.394 GB, free: 25.04 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.954e-05/1.337, allocations: 112.9 kB / 1.394 GB, free: 24.92 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/1.337, allocations: 78.59 kB / 1.394 GB, free: 24.85 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.795e-05/1.337, allocations: 154.5 kB / 1.394 GB, free: 24.7 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.367e-05/1.337, allocations: 154.5 kB / 1.395 GB, free: 24.54 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002829/1.338, allocations: 440.2 kB / 1.395 GB, free: 24.09 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.787e-05/1.338, allocations: 169.1 kB / 1.395 GB, free: 23.91 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.983e-05/1.338, allocations: 80.14 kB / 1.395 GB, free: 23.83 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.396e-05/1.338, allocations: 78.59 kB / 1.395 GB, free: 23.76 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/1.338, allocations: 109.7 kB / 1.395 GB, free: 23.64 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.754e-06/1.338, allocations: 0 / 1.395 GB, free: 23.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.79e-05/1.338, allocations: 37.55 kB / 1.395 GB, free: 23.6 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.03e-05/1.338, allocations: 51.41 kB / 1.396 GB, free: 23.54 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/1.338, allocations: 116.9 kB / 1.396 GB, free: 23.44 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/1.338, allocations: 25.7 kB / 1.396 GB, free: 23.41 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.342e-05/1.338, allocations: 90.75 kB / 1.396 GB, free: 23.32 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-06/1.338, allocations: 0 / 1.396 GB, free: 23.32 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/1.338, allocations: 0 / 1.396 GB, free: 23.32 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.338, allocations: 321.6 kB / 1.396 GB, free: 23.01 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.32e-05/1.338, allocations: 3.969 kB / 1.396 GB, free: 23.01 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.385e-05/1.338, allocations: 7.5 kB / 1.396 GB, free: 23 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.153e-05/1.338, allocations: 11.67 kB / 1.396 GB, free: 23 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.338, allocations: 0 / 1.396 GB, free: 23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001424/1.339, allocations: 49.2 kB / 1.396 GB, free: 22.96 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/1.339, allocations: 11.64 kB / 1.396 GB, free: 22.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/1.339, allocations: 3.938 kB / 1.396 GB, free: 22.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/1.339, allocations: 0 / 1.396 GB, free: 22.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.412e-06/1.339, allocations: 3.812 kB / 1.396 GB, free: 22.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/1.339, allocations: 0 / 1.396 GB, free: 22.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.495e-05/1.339, allocations: 0 / 1.396 GB, free: 22.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/1.339, allocations: 4.062 kB / 1.396 GB, free: 22.95 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 9.604e-05/1.339, allocations: 184.1 kB / 1.396 GB, free: 22.77 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.838e-05/1.339, allocations: 134.4 kB / 1.396 GB, free: 22.62 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.164e-05/1.339, allocations: 108.9 kB / 1.397 GB, free: 22.51 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.658e-05/1.339, allocations: 112.8 kB / 1.397 GB, free: 22.4 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.019e-05/1.339, allocations: 176.3 kB / 1.397 GB, free: 22.22 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.302e-05/1.339, allocations: 187.2 kB / 1.397 GB, free: 22.04 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.906e-05/1.339, allocations: 184 kB / 1.397 GB, free: 21.85 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/1.339, allocations: 388.8 kB / 1.398 GB, free: 21.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.264e-05/1.34, allocations: 113 kB / 1.398 GB, free: 21.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.148e-05/1.34, allocations: 107.6 kB / 1.398 GB, free: 21.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.979e-05/1.34, allocations: 180.3 kB / 1.398 GB, free: 21.03 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.868e-05/1.34, allocations: 180.2 kB / 1.398 GB, free: 20.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.016e-05/1.34, allocations: 180.2 kB / 1.398 GB, free: 20.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-05/1.34, allocations: 180 kB / 1.398 GB, free: 20.48 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/1.34, allocations: 314 kB / 1.399 GB, free: 20.16 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.484e-05/1.34, allocations: 186 kB / 1.399 GB, free: 19.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/1.34, allocations: 185 kB / 1.399 GB, free: 19.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.979e-05/1.34, allocations: 104.2 kB / 1.399 GB, free: 19.66 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.913e-05/1.34, allocations: 176.3 kB / 1.399 GB, free: 19.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.569e-05/1.34, allocations: 108.7 kB / 1.399 GB, free: 19.37 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.681e-05/1.34, allocations: 98.52 kB / 1.4 GB, free: 19.29 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.21e-07/1.34, allocations: 0 / 1.4 GB, free: 19.29 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001172/1.342, allocations: 320.9 kB / 1.4 GB, free: 19.18 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.001991/1.344, allocations: 1.188 MB / 1.401 GB, free: 18.21 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001041/1.344, allocations: 33.39 kB / 1.401 GB, free: 18.18 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.344, allocations: 4.062 kB / 1.401 GB, free: 18.18 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.14e-06/1.344, allocations: 7.844 kB / 1.401 GB, free: 18.18 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/1.344, allocations: 0.5252 MB / 1.402 GB, free: 17.65 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008127/1.345, allocations: 335.7 kB / 1.402 GB, free: 17.35 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/1.345, allocations: 0.692 MB / 1.403 GB, free: 16.64 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.737e-05/1.345, allocations: 4.031 kB / 1.403 GB, free: 16.64 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/1.345, allocations: 18.19 kB / 1.403 GB, free: 16.63 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.345, allocations: 3.938 kB / 1.403 GB, free: 16.62 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03523/1.381, allocations: 5.971 MB / 1.408 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000238/1.381, allocations: 247.9 kB / 1.409 GB, free: 12.86 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_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_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_FMU.o Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_FMU.c In file included from Buildings_latest_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_latest_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_latest_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_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.o Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.c:7: In file included from ./Buildings_latest_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_latest_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_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_functions.o Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_functions.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_functions.c:1: In file included from ./Buildings_latest_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_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_functions.c:748: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_InternalResistancesOneUTubeNegative_functions.o] Error 1