Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001477, 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 0.8033/0.8033, allocations: 133.6 MB / 141.6 MB, free: 2.859 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.468/1.468, 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.0008612/0.0008613, allocations: 92.67 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.778e-05/2.792e-05, allocations: 4 kB / 0.5536 GB, free: 8.906 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5061/0.5062, allocations: 82.31 MB / 0.634 GB, free: 40.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1658/0.6721, allocations: 131.5 MB / 0.7624 GB, free: 7.07 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/0.6724, allocations: 115.9 kB / 0.7626 GB, free: 6.957 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.04991/0.7224, allocations: 15.26 MB / 0.7775 GB, free: 7.676 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7224, allocations: 0 / 0.7775 GB, free: 7.676 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.7224, allocations: 0 / 0.7775 GB, free: 7.676 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.0009701/0.7234, allocations: 0.5488 MB / 0.778 GB, free: 7.082 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.7234, allocations: 12.03 kB / 0.778 GB, free: 7.07 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.058e-05/0.7235, allocations: 87.19 kB / 0.7781 GB, free: 6.984 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.7237, allocations: 252 kB / 0.7783 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.009e-05/0.7238, allocations: 150.6 kB / 0.7785 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.384e-05/0.7238, allocations: 150.6 kB / 0.7786 GB, free: 6.402 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.689e-05/0.7239, allocations: 158.5 kB / 0.7788 GB, free: 6.246 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.09e-05/0.724, allocations: 105 kB / 0.7789 GB, free: 6.137 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.489e-05/0.724, allocations: 75.28 kB / 0.7789 GB, free: 6.062 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.951e-05/0.7241, allocations: 150.6 kB / 0.7791 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-05/0.7241, allocations: 154.6 kB / 0.7792 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.7245, allocations: 450.3 kB / 0.7797 GB, free: 5.285 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.241e-05/0.7246, allocations: 177.1 kB / 0.7798 GB, free: 5.102 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.357e-05/0.7246, allocations: 84.08 kB / 0.7799 GB, free: 5.016 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.7247, allocations: 79.28 kB / 0.78 GB, free: 4.938 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.968e-05/0.7247, allocations: 105.8 kB / 0.7801 GB, free: 4.824 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.7247, allocations: 0 / 0.7801 GB, free: 4.824 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 8.029e-05/0.7248, allocations: 33.61 kB / 0.7801 GB, free: 4.785 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.7248, allocations: 55.41 kB / 0.7802 GB, free: 4.719 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.725, allocations: 122.5 kB / 0.7803 GB, free: 4.59 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.725, allocations: 25.7 kB / 0.7803 GB, free: 4.559 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.468e-05/0.7251, allocations: 92.14 kB / 0.7804 GB, free: 4.465 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-06/0.7251, allocations: 0 / 0.7804 GB, free: 4.465 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-06/0.7251, allocations: 0 / 0.7804 GB, free: 4.465 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.7252, allocations: 318.8 kB / 0.7807 GB, free: 4.145 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.256e-05/0.7253, allocations: 4 kB / 0.7807 GB, free: 4.141 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.487e-05/0.7253, allocations: 8 kB / 0.7807 GB, free: 4.133 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.7254, allocations: 11.94 kB / 0.7807 GB, free: 4.121 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.7254, allocations: 3.953 kB / 0.7807 GB, free: 4.117 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001353/0.7255, allocations: 45.7 kB / 0.7808 GB, free: 4.066 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.7256, allocations: 7.984 kB / 0.7808 GB, free: 4.059 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/0.7256, allocations: 4 kB / 0.7808 GB, free: 4.055 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.7256, allocations: 0 / 0.7808 GB, free: 4.055 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.512e-06/0.7256, allocations: 0 / 0.7808 GB, free: 4.055 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.7256, allocations: 0 / 0.7808 GB, free: 4.055 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.532e-05/0.7257, allocations: 7.906 kB / 0.7808 GB, free: 4.047 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.7257, allocations: 4.062 kB / 0.7808 GB, free: 4.043 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 9.647e-05/0.7258, allocations: 178.2 kB / 0.781 GB, free: 3.863 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.808e-05/0.7259, allocations: 142.5 kB / 0.7811 GB, free: 3.711 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.794e-05/0.7259, allocations: 109 kB / 0.7812 GB, free: 3.598 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.129e-05/0.726, allocations: 112.7 kB / 0.7813 GB, free: 3.48 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.436e-05/0.7261, allocations: 188.2 kB / 0.7815 GB, free: 3.289 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.699e-05/0.7261, allocations: 180.3 kB / 0.7817 GB, free: 3.105 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.496e-05/0.7262, allocations: 180.2 kB / 0.7818 GB, free: 2.922 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.7264, allocations: 397.7 kB / 0.7822 GB, free: 2.488 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.641e-05/0.7265, allocations: 105 kB / 0.7823 GB, free: 2.379 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.14e-05/0.7265, allocations: 105 kB / 0.7824 GB, free: 2.27 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.691e-05/0.7266, allocations: 192.1 kB / 0.7826 GB, free: 2.074 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.922e-05/0.7267, allocations: 176.3 kB / 0.7828 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.247e-05/0.7268, allocations: 184.2 kB / 0.7829 GB, free: 1.707 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.929e-05/0.7269, allocations: 180.2 kB / 0.7831 GB, free: 1.523 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.727, allocations: 307.7 kB / 0.7834 GB, free: 1.199 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.964e-05/0.7271, allocations: 193.9 kB / 0.7836 GB, free: 0.9844 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.362e-05/0.7272, allocations: 181.2 kB / 0.7838 GB, free: 0.8008 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.264e-05/0.7273, allocations: 108.9 kB / 0.7839 GB, free: 0.6875 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.608e-05/0.7273, allocations: 180.2 kB / 0.784 GB, free: 0.5039 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.258e-05/0.7274, allocations: 101 kB / 0.7841 GB, free: 408 kB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.46e-05/0.7274, allocations: 99.89 kB / 0.7842 GB, free: 308 kB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7274, allocations: 0 / 0.7842 GB, free: 308 kB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001207/0.7287, allocations: 327.5 kB / 0.7845 GB, free: 15.98 MB / 0.573 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.001516/0.7302, allocations: 1.187 MB / 0.7857 GB, free: 14.77 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001137/0.7303, allocations: 41.64 kB / 0.7857 GB, free: 14.72 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.7303, allocations: 4.062 kB / 0.7857 GB, free: 14.71 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 3.116e-06/0.7303, allocations: 4 kB / 0.7858 GB, free: 14.71 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.7307, allocations: 0.5224 MB / 0.7863 GB, free: 14.18 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000592/0.7313, allocations: 345.3 kB / 0.7866 GB, free: 13.81 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.7315, allocations: 0.6885 MB / 0.7873 GB, free: 13.09 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 1.479e-05/0.7316, allocations: 0 / 0.7873 GB, free: 13.09 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.7316, allocations: 15.44 kB / 0.7873 GB, free: 13.08 MB / 0.573 GB Notification: Performance of SimCode: time 4.41e-07/0.7316, allocations: 0 / 0.7873 GB, free: 13.08 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03103/0.7626, allocations: 6.122 MB / 0.7933 GB, free: 6.996 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002957/0.763, allocations: 218.7 kB / 0.7935 GB, free: 6.711 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_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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_FMU.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_FMU.c In file included from IDEAS_IDEAS_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 IDEAS_IDEAS_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=IDEAS_IDEAS_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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.c In file included from IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.c:7: In file included from ./IDEAS_IDEAS_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=IDEAS_IDEAS_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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.c In file included from IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.c:1: In file included from ./IDEAS_IDEAS_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); ^ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_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_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.o] Error 1