Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_8_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_8_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 8.1.4-maint.8.1.x/package.mo): time 1.76/1.76, allocations: 289.9 MB / 297.4 MB, free: 6.395 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.001332/0.001332, allocations: 176.8 kB / 366.7 MB, free: 1.652 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.961/1.961, allocations: 205.2 MB / 0.626 GB, free: 7.199 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.001072/0.001072, allocations: 87.97 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.065e-05/3.057e-05, allocations: 4 kB / 0.8598 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7299/0.7299, allocations: 116.3 MB / 0.9734 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2227/0.9527, allocations: 159.5 MB / 1.129 GB, free: 6.566 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/0.953, allocations: 124.5 kB / 1.129 GB, free: 6.445 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04995/1.003, allocations: 15.18 MB / 1.144 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.372e-06/1.003, allocations: 0 / 1.144 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.285e-06/1.003, allocations: 0 / 1.144 GB, free: 7.305 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.001133/1.004, allocations: 0.5566 MB / 1.145 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/1.004, allocations: 16.03 kB / 1.145 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.056e-05/1.004, allocations: 75.28 kB / 1.145 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/1.005, allocations: 254.2 kB / 1.145 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.878e-05/1.005, allocations: 150.6 kB / 1.145 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.459e-05/1.005, allocations: 154.5 kB / 1.145 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.796e-05/1.005, allocations: 154.6 kB / 1.145 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.905e-05/1.005, allocations: 105 kB / 1.146 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.263e-05/1.005, allocations: 75.28 kB / 1.146 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.686e-05/1.005, allocations: 154.5 kB / 1.146 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.439e-05/1.005, allocations: 150.6 kB / 1.146 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/1.005, allocations: 450.4 kB / 1.146 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.364e-05/1.005, allocations: 173.1 kB / 1.146 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.308e-05/1.006, allocations: 84.08 kB / 1.147 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/1.006, allocations: 75.28 kB / 1.147 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.766e-05/1.006, allocations: 105.8 kB / 1.147 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.503e-06/1.006, allocations: 0 / 1.147 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 8.227e-05/1.006, allocations: 37.17 kB / 1.147 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/1.006, allocations: 59.34 kB / 1.147 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/1.006, allocations: 119.5 kB / 1.147 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/1.006, allocations: 29.7 kB / 1.147 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.628e-05/1.006, allocations: 96.03 kB / 1.147 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/1.006, allocations: 0 / 1.147 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/1.006, allocations: 0 / 1.147 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.006, allocations: 318.8 kB / 1.147 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.332e-05/1.006, allocations: 0 / 1.147 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.962e-05/1.006, allocations: 14.06 kB / 1.147 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.278e-05/1.006, allocations: 11.98 kB / 1.147 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/1.006, allocations: 0 / 1.147 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001399/1.006, allocations: 45.66 kB / 1.147 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/1.006, allocations: 8 kB / 1.147 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.434e-05/1.007, allocations: 4 kB / 1.147 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/1.007, allocations: 0 / 1.147 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.482e-06/1.007, allocations: 0 / 1.147 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/1.007, allocations: 0 / 1.147 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.947e-05/1.007, allocations: 7.891 kB / 1.147 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/1.007, allocations: 4.062 kB / 1.147 GB, free: 3.672 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.0001068/1.007, allocations: 184.2 kB / 1.148 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.521e-05/1.007, allocations: 134.6 kB / 1.148 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.198e-05/1.007, allocations: 108.9 kB / 1.148 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.813e-05/1.007, allocations: 116.9 kB / 1.148 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.753e-05/1.007, allocations: 176.3 kB / 1.148 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.559e-05/1.007, allocations: 186.9 kB / 1.148 GB, free: 2.742 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.491e-05/1.007, allocations: 180.2 kB / 1.148 GB, free: 2.559 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/1.007, allocations: 389.7 kB / 1.149 GB, free: 2.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.281e-05/1.008, allocations: 117.1 kB / 1.149 GB, free: 2.012 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.849e-05/1.008, allocations: 104.9 kB / 1.149 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.281e-05/1.008, allocations: 176.3 kB / 1.149 GB, free: 1.723 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.746e-05/1.008, allocations: 180.3 kB / 1.149 GB, free: 1.539 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.298e-05/1.008, allocations: 188.1 kB / 1.15 GB, free: 1.348 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.934e-05/1.008, allocations: 180.2 kB / 1.15 GB, free: 1.164 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/1.008, allocations: 307.7 kB / 1.15 GB, free: 0.8398 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.746e-05/1.008, allocations: 190 kB / 1.15 GB, free: 0.6289 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.008e-05/1.008, allocations: 185.2 kB / 1.15 GB, free: 452 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.207e-05/1.008, allocations: 104.9 kB / 1.151 GB, free: 340 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.521e-05/1.008, allocations: 177.7 kB / 1.151 GB, free: 156 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.537e-05/1.008, allocations: 101 kB / 1.151 GB, free: 48 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.664e-05/1.009, allocations: 104 kB / 1.151 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.51e-07/1.009, allocations: 4 kB / 1.151 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001322/1.01, allocations: 327.5 kB / 1.151 GB, free: 15.62 MB / 0.7605 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.002214/1.012, allocations: 1.215 MB / 1.152 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001231/1.012, allocations: 45.69 kB / 1.152 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/1.012, allocations: 0 / 1.152 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/1.012, allocations: 0 / 1.152 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/1.013, allocations: 0.524 MB / 1.153 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009131/1.014, allocations: 349.3 kB / 1.153 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/1.014, allocations: 0.6846 MB / 1.154 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.825e-05/1.014, allocations: 0 / 1.154 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.261e-05/1.014, allocations: 15.44 kB / 1.154 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of SimCode: time 4.01e-07/1.014, allocations: 3.75 kB / 1.154 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03594/1.05, allocations: 6.272 MB / 1.16 GB, free: 6.512 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002787/1.05, allocations: 264.5 kB / 1.16 GB, free: 6.223 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_8_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_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_FMU.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_FMU.c In file included from Buildings_8_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_8_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_8_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_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.c In file included from Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.c:7: In file included from ./Buildings_8_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_8_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_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.c In file included from Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.c:1: In file included from ./Buildings_8_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_8_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_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.o] Error 1