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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.003244/0.003244, allocations: 173.9 kB / 7.648 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.604/1.604, allocations: 133.6 MB / 141.6 MB, free: 2.906 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.139/3.139, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.001551/0.001551, allocations: 103.9 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 8.8e-05/8.806e-05, allocations: 4 kB / 0.5536 GB, free: 8.918 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.172/1.172, allocations: 82.31 MB / 0.634 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3823/1.554, allocations: 131.5 MB / 0.7624 GB, free: 7.098 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0007271/1.555, allocations: 123.9 kB / 0.7626 GB, free: 6.977 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.09223/1.647, allocations: 15.27 MB / 0.7775 GB, free: 7.684 MB / 0.5573 GB Notification: Performance of FrontEnd: time 5.611e-06/1.647, allocations: 0 / 0.7775 GB, free: 7.684 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.175e-05/1.647, allocations: 0 / 0.7775 GB, free: 7.684 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.001932/1.649, allocations: 0.5527 MB / 0.778 GB, free: 7.086 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 8.522e-05/1.649, allocations: 8.031 kB / 0.778 GB, free: 7.078 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/1.65, allocations: 83.19 kB / 0.7781 GB, free: 6.996 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/1.65, allocations: 250.3 kB / 0.7783 GB, free: 6.711 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.507e-05/1.65, allocations: 154.6 kB / 0.7785 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.455e-05/1.65, allocations: 154.6 kB / 0.7786 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.301e-05/1.65, allocations: 154.5 kB / 0.7788 GB, free: 6.254 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.575e-05/1.65, allocations: 101 kB / 0.7789 GB, free: 6.148 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.39e-05/1.65, allocations: 79.27 kB / 0.7789 GB, free: 6.07 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.273e-05/1.65, allocations: 154.6 kB / 0.7791 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.541e-05/1.651, allocations: 150.6 kB / 0.7792 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004815/1.651, allocations: 454.3 kB / 0.7797 GB, free: 5.289 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/1.651, allocations: 165.1 kB / 0.7798 GB, free: 5.117 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.518e-05/1.651, allocations: 84.14 kB / 0.7799 GB, free: 5.031 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.852e-05/1.651, allocations: 83.22 kB / 0.78 GB, free: 4.949 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.545e-05/1.651, allocations: 105.8 kB / 0.7801 GB, free: 4.836 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 2.054e-06/1.651, allocations: 0 / 0.7801 GB, free: 4.836 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 0.000135/1.652, allocations: 37.61 kB / 0.7801 GB, free: 4.793 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/1.652, allocations: 51.41 kB / 0.7802 GB, free: 4.73 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/1.652, allocations: 122.3 kB / 0.7803 GB, free: 4.602 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/1.652, allocations: 25.7 kB / 0.7803 GB, free: 4.57 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/1.652, allocations: 92.12 kB / 0.7804 GB, free: 4.477 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.278e-06/1.652, allocations: 0 / 0.7804 GB, free: 4.477 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-06/1.652, allocations: 0 / 0.7804 GB, free: 4.477 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001619/1.652, allocations: 314.8 kB / 0.7807 GB, free: 4.16 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.962e-05/1.652, allocations: 4 kB / 0.7807 GB, free: 4.156 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.452e-05/1.652, allocations: 8 kB / 0.7807 GB, free: 4.148 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/1.652, allocations: 7.984 kB / 0.7807 GB, free: 4.141 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/1.652, allocations: 11.92 kB / 0.7807 GB, free: 4.129 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002385/1.653, allocations: 45.7 kB / 0.7808 GB, free: 4.078 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/1.653, allocations: 4.625 kB / 0.7808 GB, free: 4.074 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.559e-05/1.653, allocations: 4 kB / 0.7808 GB, free: 4.07 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/1.653, allocations: 0 / 0.7808 GB, free: 4.07 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.244e-06/1.653, allocations: 0 / 0.7808 GB, free: 4.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/1.653, allocations: 3.984 kB / 0.7808 GB, free: 4.066 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.885e-05/1.653, allocations: 7.906 kB / 0.7808 GB, free: 4.059 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/1.653, allocations: 0 / 0.7808 GB, free: 4.059 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.0001544/1.653, allocations: 182.2 kB / 0.781 GB, free: 3.875 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001295/1.653, allocations: 142.5 kB / 0.7811 GB, free: 3.723 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.17e-05/1.653, allocations: 112.9 kB / 0.7812 GB, free: 3.605 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.465e-05/1.653, allocations: 116.7 kB / 0.7813 GB, free: 3.484 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.823e-05/1.654, allocations: 180.2 kB / 0.7815 GB, free: 3.301 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-05/1.654, allocations: 176.3 kB / 0.7817 GB, free: 3.121 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001014/1.654, allocations: 180.3 kB / 0.7818 GB, free: 2.938 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003248/1.654, allocations: 405.7 kB / 0.7822 GB, free: 2.496 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.629e-05/1.654, allocations: 109 kB / 0.7823 GB, free: 2.383 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.58e-05/1.654, allocations: 101 kB / 0.7824 GB, free: 2.277 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.727e-05/1.654, allocations: 188.1 kB / 0.7826 GB, free: 2.086 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.179e-05/1.654, allocations: 176.3 kB / 0.7828 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.809e-05/1.655, allocations: 180.3 kB / 0.7829 GB, free: 1.723 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.304e-05/1.655, allocations: 184.2 kB / 0.7831 GB, free: 1.535 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/1.655, allocations: 307.7 kB / 0.7834 GB, free: 1.211 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/1.655, allocations: 189.9 kB / 0.7836 GB, free: 1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/1.655, allocations: 185.2 kB / 0.7838 GB, free: 0.8125 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/1.655, allocations: 105 kB / 0.7839 GB, free: 0.7031 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.982e-05/1.655, allocations: 180.2 kB / 0.784 GB, free: 0.5195 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.173e-05/1.656, allocations: 101 kB / 0.7841 GB, free: 424 kB / 0.5573 GB Notification: Performance of sorting global known variables: time 9.951e-05/1.656, allocations: 100.4 kB / 0.7842 GB, free: 324 kB / 0.5573 GB Notification: Performance of sort global known variables: time 5.61e-07/1.656, allocations: 0 / 0.7842 GB, free: 324 kB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002276/1.658, allocations: 319.5 kB / 0.7845 GB, free: 4 kB / 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.003823/1.662, allocations: 1.191 MB / 0.7857 GB, free: 14.79 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002463/1.662, allocations: 45.62 kB / 0.7857 GB, free: 14.73 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/1.662, allocations: 0 / 0.7857 GB, free: 14.73 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 9.308e-06/1.662, allocations: 4 kB / 0.7858 GB, free: 14.73 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006831/1.663, allocations: 0.5273 MB / 0.7863 GB, free: 14.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/1.665, allocations: 340.5 kB / 0.7866 GB, free: 13.83 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005104/1.665, allocations: 0.6884 MB / 0.7873 GB, free: 13.11 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 3.721e-05/1.665, allocations: 4 kB / 0.7873 GB, free: 13.11 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.265e-05/1.665, allocations: 16.38 kB / 0.7873 GB, free: 13.09 MB / 0.573 GB Notification: Performance of SimCode: time 1.072e-06/1.665, allocations: 0 / 0.7873 GB, free: 13.09 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05647/1.722, allocations: 6.11 MB / 0.7933 GB, free: 7.023 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006082/1.723, allocations: 215.1 kB / 0.7935 GB, free: 6.738 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_InternalResistancesTwoUTube -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_InternalResistancesTwoUTube_FMU.o IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_FMU.c In file included from IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_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_InternalResistancesTwoUTube_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_InternalResistancesTwoUTube -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_InternalResistancesTwoUTube.o IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.c In file included from IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.c:7: In file included from ./IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_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_InternalResistancesTwoUTube -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_InternalResistancesTwoUTube_functions.o IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_functions.c In file included from IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_functions.c:1: In file included from ./IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_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_InternalResistancesTwoUTube_functions.c:1039: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_InternalResistancesTwoUTube_functions.o] Error 1