Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002965/0.002965, allocations: 174.3 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.668/1.668, allocations: 133.6 MB / 141.6 MB, free: 2.855 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.309/3.309, allocations: 221.5 MB / 395.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001664/0.001663, allocations: 107 kB / 478.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 8.461e-05/8.489e-05, allocations: 7.938 kB / 0.5536 GB, free: 8.887 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.169/1.169, allocations: 82.31 MB / 0.634 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.311/1.481, allocations: 130.8 MB / 0.7617 GB, free: 7.797 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000631/1.481, allocations: 123.9 kB / 0.7619 GB, free: 7.676 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.05817/1.54, allocations: 14.92 MB / 0.7764 GB, free: 8.734 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.186e-06/1.54, allocations: 0 / 0.7764 GB, free: 8.734 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.744e-05/1.54, allocations: 0 / 0.7764 GB, free: 8.734 MB / 0.5573 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.001995/1.542, allocations: 0.5565 MB / 0.777 GB, free: 8.133 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 8.581e-05/1.542, allocations: 8.031 kB / 0.777 GB, free: 8.125 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/1.542, allocations: 83.19 kB / 0.7771 GB, free: 8.043 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003956/1.542, allocations: 256.3 kB / 0.7773 GB, free: 7.754 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000191/1.543, allocations: 150.6 kB / 0.7774 GB, free: 7.605 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/1.543, allocations: 158.6 kB / 0.7776 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001776/1.543, allocations: 150.6 kB / 0.7777 GB, free: 7.301 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/1.543, allocations: 101 kB / 0.7778 GB, free: 7.195 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.429e-05/1.543, allocations: 75.28 kB / 0.7779 GB, free: 7.121 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001504/1.543, allocations: 154.5 kB / 0.7781 GB, free: 6.969 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001683/1.544, allocations: 154.6 kB / 0.7782 GB, free: 6.816 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006189/1.544, allocations: 450.4 kB / 0.7786 GB, free: 6.34 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/1.544, allocations: 165.1 kB / 0.7788 GB, free: 6.168 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.518e-05/1.544, allocations: 84.08 kB / 0.7789 GB, free: 6.082 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.927e-05/1.545, allocations: 83.27 kB / 0.7789 GB, free: 6 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001254/1.545, allocations: 109.8 kB / 0.7791 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 2.204e-06/1.545, allocations: 0 / 0.7791 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 0.0001358/1.545, allocations: 37.55 kB / 0.7791 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.044e-05/1.545, allocations: 55.41 kB / 0.7791 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/1.545, allocations: 113.2 kB / 0.7793 GB, free: 5.652 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/1.545, allocations: 25.7 kB / 0.7793 GB, free: 5.621 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/1.545, allocations: 84.14 kB / 0.7794 GB, free: 5.535 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-06/1.545, allocations: 4 kB / 0.7794 GB, free: 5.531 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/1.545, allocations: 0 / 0.7794 GB, free: 5.531 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002881/1.546, allocations: 322.8 kB / 0.7797 GB, free: 5.207 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.713e-05/1.546, allocations: 4 kB / 0.7797 GB, free: 5.203 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.119e-05/1.546, allocations: 0 / 0.7797 GB, free: 5.203 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/1.546, allocations: 16.03 kB / 0.7797 GB, free: 5.188 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/1.546, allocations: 3.953 kB / 0.7797 GB, free: 5.184 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001963/1.546, allocations: 45.59 kB / 0.7797 GB, free: 5.133 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/1.546, allocations: 4 kB / 0.7797 GB, free: 5.129 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.13e-05/1.546, allocations: 8.062 kB / 0.7797 GB, free: 5.121 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/1.546, allocations: 3.938 kB / 0.7797 GB, free: 5.117 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.124e-06/1.546, allocations: 0 / 0.7797 GB, free: 5.117 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/1.546, allocations: 0 / 0.7797 GB, free: 5.117 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.486e-05/1.546, allocations: 8 kB / 0.7798 GB, free: 5.109 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/1.546, allocations: 0 / 0.7798 GB, free: 5.109 MB / 0.5573 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.0002489/1.547, allocations: 180.2 kB / 0.7799 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001404/1.547, allocations: 138.5 kB / 0.7801 GB, free: 4.777 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/1.547, allocations: 120.8 kB / 0.7802 GB, free: 4.652 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/1.547, allocations: 112.7 kB / 0.7803 GB, free: 4.531 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000135/1.547, allocations: 180.3 kB / 0.7805 GB, free: 4.348 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001667/1.547, allocations: 180.2 kB / 0.7806 GB, free: 4.164 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001698/1.547, allocations: 176.3 kB / 0.7808 GB, free: 3.984 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005041/1.548, allocations: 401.7 kB / 0.7812 GB, free: 3.547 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001088/1.548, allocations: 109 kB / 0.7813 GB, free: 3.434 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/1.548, allocations: 105 kB / 0.7814 GB, free: 3.324 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001648/1.548, allocations: 180.2 kB / 0.7816 GB, free: 3.141 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001908/1.549, allocations: 184.2 kB / 0.7817 GB, free: 2.953 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000156/1.549, allocations: 176.3 kB / 0.7819 GB, free: 2.773 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001397/1.549, allocations: 180.3 kB / 0.7821 GB, free: 2.59 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/1.549, allocations: 311.7 kB / 0.7824 GB, free: 2.262 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/1.549, allocations: 186 kB / 0.7825 GB, free: 2.055 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/1.55, allocations: 181.1 kB / 0.7827 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/1.55, allocations: 105 kB / 0.7828 GB, free: 1.762 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/1.55, allocations: 184.2 kB / 0.783 GB, free: 1.574 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.132e-05/1.55, allocations: 108.9 kB / 0.7831 GB, free: 1.461 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001146/1.55, allocations: 97.3 kB / 0.7832 GB, free: 1.367 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.01e-07/1.55, allocations: 4 kB / 0.7832 GB, free: 1.363 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001985/1.552, allocations: 315.5 kB / 0.7835 GB, free: 1.055 MB / 0.5573 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.002871/1.555, allocations: 1.186 MB / 0.7847 GB, free: 15.84 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001912/1.555, allocations: 37.7 kB / 0.7847 GB, free: 15.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.555, allocations: 0 / 0.7847 GB, free: 15.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 6.612e-06/1.555, allocations: 4 kB / 0.7847 GB, free: 15.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006781/1.556, allocations: 0.5311 MB / 0.7852 GB, free: 15.26 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000911/1.557, allocations: 328.3 kB / 0.7855 GB, free: 14.9 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005985/1.557, allocations: 0.6885 MB / 0.7862 GB, free: 14.19 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 2.104e-05/1.557, allocations: 3.938 kB / 0.7862 GB, free: 14.18 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.309e-05/1.558, allocations: 11.44 kB / 0.7862 GB, free: 14.17 MB / 0.573 GB Notification: Performance of SimCode: time 2.8e-07/1.558, allocations: 0 / 0.7862 GB, free: 14.17 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04989/1.607, allocations: 5.966 MB / 0.792 GB, free: 8.246 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005106/1.608, allocations: 209.4 kB / 0.7922 GB, free: 7.965 MB / 0.573 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=IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube -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 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_FMU.o IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_FMU.c In file included from IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_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 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_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=IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube -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 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.o IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.c In file included from IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.c:7: In file included from ./IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_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=IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube -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 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_functions.o IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_functions.c In file included from IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_functions.c:1: In file included from ./IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_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); ^ IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_functions.c:1008: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: *** [: IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_functions.o] Error 1