Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_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_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.001103/0.001103, allocations: 176.2 kB / 7.649 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 0.7654/0.7654, allocations: 133.6 MB / 141.6 MB, free: 2.895 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, 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.0008931/0.0008932, allocations: 98.84 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.45e-05/2.452e-05, allocations: 4 kB / 0.5536 GB, free: 8.891 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4447/0.4447, allocations: 82.3 MB / 0.634 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1971/0.6419, allocations: 130.8 MB / 0.7617 GB, free: 7.797 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003246/0.6423, allocations: 119.9 kB / 0.7619 GB, free: 7.68 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.04751/0.6898, allocations: 14.93 MB / 0.7764 GB, free: 8.734 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6899, allocations: 0 / 0.7764 GB, free: 8.734 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.6899, 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.001153/0.6911, allocations: 0.5527 MB / 0.777 GB, free: 8.137 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/0.6911, allocations: 8.031 kB / 0.777 GB, free: 8.129 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.336e-05/0.6912, allocations: 83.19 kB / 0.7771 GB, free: 8.047 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.6914, allocations: 256.1 kB / 0.7773 GB, free: 7.758 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.832e-05/0.6915, allocations: 150.6 kB / 0.7774 GB, free: 7.609 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.103e-05/0.6916, allocations: 158.6 kB / 0.7776 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.198e-05/0.6917, allocations: 150.6 kB / 0.7777 GB, free: 7.305 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.186e-05/0.6917, allocations: 101 kB / 0.7778 GB, free: 7.199 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.824e-05/0.6918, allocations: 83.22 kB / 0.7779 GB, free: 7.117 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.525e-05/0.6919, allocations: 150.6 kB / 0.7781 GB, free: 6.969 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.451e-05/0.6919, allocations: 158.5 kB / 0.7782 GB, free: 6.812 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.6923, allocations: 442.4 kB / 0.7786 GB, free: 6.344 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.6924, allocations: 173.1 kB / 0.7788 GB, free: 6.164 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.111e-05/0.6925, allocations: 80.14 kB / 0.7789 GB, free: 6.082 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.885e-05/0.6926, allocations: 79.28 kB / 0.779 GB, free: 6.004 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.858e-05/0.6926, allocations: 109.8 kB / 0.7791 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 2.174e-06/0.6927, allocations: 0 / 0.7791 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 9.899e-05/0.6928, allocations: 33.55 kB / 0.7791 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/0.6928, allocations: 55.41 kB / 0.7791 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.693, allocations: 117.2 kB / 0.7793 GB, free: 5.656 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.693, allocations: 25.7 kB / 0.7793 GB, free: 5.625 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.744e-05/0.6931, allocations: 88.14 kB / 0.7794 GB, free: 5.535 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-06/0.6931, allocations: 0 / 0.7794 GB, free: 5.535 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.6931, allocations: 0 / 0.7794 GB, free: 5.535 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.6932, allocations: 318.8 kB / 0.7797 GB, free: 5.215 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.483e-05/0.6933, allocations: 8 kB / 0.7797 GB, free: 5.207 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.189e-05/0.6933, allocations: 0 / 0.7797 GB, free: 5.207 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.482e-05/0.6934, allocations: 8 kB / 0.7797 GB, free: 5.199 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.6934, allocations: 7.984 kB / 0.7797 GB, free: 5.191 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00016/0.6935, allocations: 53.53 kB / 0.7797 GB, free: 5.133 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.6936, allocations: 4.938 kB / 0.7797 GB, free: 5.129 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/0.6936, allocations: 4 kB / 0.7797 GB, free: 5.125 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.6936, allocations: 0 / 0.7797 GB, free: 5.125 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.6936, allocations: 0 / 0.7797 GB, free: 5.125 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.6936, allocations: 0 / 0.7797 GB, free: 5.125 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.542e-05/0.6937, allocations: 7.938 kB / 0.7798 GB, free: 5.117 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.6937, allocations: 0 / 0.7798 GB, free: 5.117 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.0001215/0.6938, allocations: 182.2 kB / 0.7799 GB, free: 4.934 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001013/0.6939, allocations: 142.5 kB / 0.7801 GB, free: 4.781 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.578e-05/0.694, allocations: 112.8 kB / 0.7802 GB, free: 4.664 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.402e-05/0.6941, allocations: 108.7 kB / 0.7803 GB, free: 4.547 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.001e-05/0.6941, allocations: 184.2 kB / 0.7805 GB, free: 4.359 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.363e-05/0.6942, allocations: 184.2 kB / 0.7806 GB, free: 4.172 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.499e-05/0.6943, allocations: 180.3 kB / 0.7808 GB, free: 3.988 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.6946, allocations: 393.7 kB / 0.7812 GB, free: 3.559 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.423e-05/0.6947, allocations: 109 kB / 0.7813 GB, free: 3.445 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.954e-05/0.6947, allocations: 108.9 kB / 0.7814 GB, free: 3.332 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.934e-05/0.6948, allocations: 176.3 kB / 0.7816 GB, free: 3.152 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.995e-05/0.6949, allocations: 192.2 kB / 0.7817 GB, free: 2.957 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.319e-05/0.695, allocations: 176.3 kB / 0.7819 GB, free: 2.777 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.149e-05/0.6951, allocations: 180.3 kB / 0.7821 GB, free: 2.594 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.6952, allocations: 307.7 kB / 0.7824 GB, free: 2.27 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.6953, allocations: 186 kB / 0.7825 GB, free: 2.062 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.307e-05/0.6954, allocations: 185.1 kB / 0.7827 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.862e-05/0.6955, allocations: 105 kB / 0.7828 GB, free: 1.766 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.143e-05/0.6956, allocations: 188.2 kB / 0.783 GB, free: 1.574 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.679e-05/0.6957, allocations: 104.9 kB / 0.7831 GB, free: 1.465 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.017e-05/0.6958, allocations: 88.22 kB / 0.7832 GB, free: 1.379 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.01e-07/0.6958, allocations: 4 kB / 0.7832 GB, free: 1.375 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001356/0.6971, allocations: 319.4 kB / 0.7835 GB, free: 1.062 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.002191/0.6993, allocations: 1.179 MB / 0.7846 GB, free: 15.86 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001218/0.6995, allocations: 37.7 kB / 0.7847 GB, free: 15.81 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6995, allocations: 0 / 0.7847 GB, free: 15.81 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 4.418e-06/0.6995, allocations: 4 kB / 0.7847 GB, free: 15.81 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/0.6999, allocations: 0.5388 MB / 0.7852 GB, free: 15.27 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009074/0.7008, allocations: 336.3 kB / 0.7855 GB, free: 14.9 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.7012, allocations: 0.6846 MB / 0.7862 GB, free: 14.19 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 1.68e-05/0.7012, allocations: 4 kB / 0.7862 GB, free: 14.18 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.232e-05/0.7012, allocations: 11.44 kB / 0.7862 GB, free: 14.17 MB / 0.573 GB Notification: Performance of SimCode: time 2.41e-07/0.7012, allocations: 0 / 0.7862 GB, free: 14.17 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04058/0.7418, allocations: 5.967 MB / 0.792 GB, free: 8.246 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003836/0.7423, allocations: 212.5 kB / 0.7922 GB, free: 7.957 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_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_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_FMU.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_FMU.c In file included from IDEAS_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_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_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_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.c In file included from IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.c:7: In file included from ./IDEAS_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_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_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_functions.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_functions.c In file included from IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_functions.c:1: In file included from ./IDEAS_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_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_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_functions.o] Error 1