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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.003228/0.003228, allocations: 172.5 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.436/1.436, 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 2.947/2.947, 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.001273/0.001274, allocations: 94.59 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.562e-05/4.488e-05, allocations: 8 kB / 0.5536 GB, free: 8.887 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074/1.074, allocations: 82.31 MB / 0.634 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3165/1.391, allocations: 130.8 MB / 0.7617 GB, free: 7.816 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005305/1.391, allocations: 123.9 kB / 0.7618 GB, free: 7.695 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.06354/1.455, allocations: 14.94 MB / 0.7764 GB, free: 8.734 MB / 0.5573 GB Notification: Performance of FrontEnd: time 4.107e-06/1.455, allocations: 0 / 0.7764 GB, free: 8.734 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.191e-05/1.455, 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.001826/1.457, allocations: 0.5488 MB / 0.777 GB, free: 8.141 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 8.507e-05/1.457, allocations: 8.031 kB / 0.777 GB, free: 8.133 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/1.457, allocations: 83.12 kB / 0.7771 GB, free: 8.051 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003356/1.457, allocations: 250.2 kB / 0.7773 GB, free: 7.766 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/1.457, allocations: 154.6 kB / 0.7774 GB, free: 7.613 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/1.458, allocations: 150.6 kB / 0.7776 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001205/1.458, allocations: 150.6 kB / 0.7777 GB, free: 7.316 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/1.458, allocations: 105 kB / 0.7778 GB, free: 7.207 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.617e-05/1.458, allocations: 75.28 kB / 0.7779 GB, free: 7.133 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/1.458, allocations: 150.6 kB / 0.778 GB, free: 6.984 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001145/1.458, allocations: 158.6 kB / 0.7782 GB, free: 6.828 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005549/1.459, allocations: 450.3 kB / 0.7786 GB, free: 6.352 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/1.459, allocations: 169.1 kB / 0.7788 GB, free: 6.176 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.438e-05/1.459, allocations: 88.08 kB / 0.7789 GB, free: 6.086 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.37e-05/1.459, allocations: 79.28 kB / 0.779 GB, free: 6.008 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.384e-05/1.459, allocations: 105.8 kB / 0.7791 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/1.459, allocations: 0 / 0.7791 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 0.0001347/1.459, allocations: 37.55 kB / 0.7791 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/1.459, allocations: 51.41 kB / 0.7791 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/1.46, allocations: 114.3 kB / 0.7792 GB, free: 5.668 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/1.46, allocations: 25.7 kB / 0.7793 GB, free: 5.637 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/1.46, allocations: 96.12 kB / 0.7794 GB, free: 5.539 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 7.504e-06/1.46, allocations: 4 kB / 0.7794 GB, free: 5.535 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-06/1.46, allocations: 0 / 0.7794 GB, free: 5.535 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002158/1.46, allocations: 310.8 kB / 0.7797 GB, free: 5.223 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.132e-05/1.46, allocations: 4 kB / 0.7797 GB, free: 5.219 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.443e-05/1.46, allocations: 8 kB / 0.7797 GB, free: 5.211 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/1.46, allocations: 4 kB / 0.7797 GB, free: 5.207 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/1.46, allocations: 7.938 kB / 0.7797 GB, free: 5.199 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002088/1.461, allocations: 45.61 kB / 0.7797 GB, free: 5.148 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/1.461, allocations: 8.062 kB / 0.7797 GB, free: 5.141 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-05/1.461, allocations: 4 kB / 0.7797 GB, free: 5.137 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/1.461, allocations: 4 kB / 0.7797 GB, free: 5.133 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.274e-06/1.461, allocations: 0 / 0.7797 GB, free: 5.133 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/1.461, allocations: 3.984 kB / 0.7797 GB, free: 5.129 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.791e-05/1.461, allocations: 3.938 kB / 0.7798 GB, free: 5.125 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/1.461, allocations: 0 / 0.7798 GB, free: 5.125 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.000183/1.461, allocations: 180.3 kB / 0.7799 GB, free: 4.941 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001986/1.461, allocations: 142.5 kB / 0.7801 GB, free: 4.789 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.846e-05/1.461, allocations: 108.8 kB / 0.7802 GB, free: 4.676 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/1.461, allocations: 116.7 kB / 0.7803 GB, free: 4.551 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001329/1.462, allocations: 176.3 kB / 0.7804 GB, free: 4.371 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001436/1.462, allocations: 184.2 kB / 0.7806 GB, free: 4.184 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001287/1.462, allocations: 184.3 kB / 0.7808 GB, free: 3.996 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003617/1.462, allocations: 393.7 kB / 0.7812 GB, free: 3.566 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.019e-05/1.462, allocations: 113 kB / 0.7813 GB, free: 3.449 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.169e-05/1.462, allocations: 105 kB / 0.7814 GB, free: 3.34 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001121/1.462, allocations: 180.2 kB / 0.7815 GB, free: 3.156 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/1.463, allocations: 180.2 kB / 0.7817 GB, free: 2.973 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001232/1.463, allocations: 176.3 kB / 0.7819 GB, free: 2.793 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001084/1.463, allocations: 184.2 kB / 0.7821 GB, free: 2.605 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/1.463, allocations: 311.7 kB / 0.7824 GB, free: 2.277 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/1.463, allocations: 182.1 kB / 0.7825 GB, free: 2.074 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/1.463, allocations: 189.1 kB / 0.7827 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/1.464, allocations: 109 kB / 0.7828 GB, free: 1.77 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/1.464, allocations: 180.2 kB / 0.783 GB, free: 1.586 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.28e-05/1.464, allocations: 108.9 kB / 0.7831 GB, free: 1.473 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000104/1.464, allocations: 96.98 kB / 0.7832 GB, free: 1.379 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/1.464, allocations: 0 / 0.7832 GB, free: 1.379 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002058/1.466, allocations: 319.5 kB / 0.7835 GB, free: 1.066 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.002504/1.468, allocations: 1.182 MB / 0.7846 GB, free: 15.86 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001763/1.469, allocations: 37.7 kB / 0.7847 GB, free: 15.82 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.469, allocations: 0 / 0.7847 GB, free: 15.82 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 4.909e-06/1.469, 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.0006805/1.469, allocations: 0.538 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.000951/1.47, allocations: 328.3 kB / 0.7855 GB, free: 14.91 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005458/1.471, allocations: 0.6846 MB / 0.7862 GB, free: 14.2 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 2.346e-05/1.471, allocations: 4 kB / 0.7862 GB, free: 14.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.824e-05/1.471, allocations: 15.44 kB / 0.7862 GB, free: 14.18 MB / 0.573 GB Notification: Performance of SimCode: time 3.2e-07/1.471, allocations: 4 kB / 0.7862 GB, free: 14.18 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05372/1.525, allocations: 5.974 MB / 0.792 GB, free: 8.246 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006361/1.526, allocations: 222.5 kB / 0.7923 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_InternalResistancesOneUTubeNegative -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_InternalResistancesOneUTubeNegative_FMU.o IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_FMU.c In file included from IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_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_InternalResistancesOneUTubeNegative_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_InternalResistancesOneUTubeNegative -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_InternalResistancesOneUTubeNegative.o IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.c In file included from IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.c:7: In file included from ./IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_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_InternalResistancesOneUTubeNegative -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_InternalResistancesOneUTubeNegative_functions.o IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_functions.c In file included from IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_functions.c:1: In file included from ./IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_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_InternalResistancesOneUTubeNegative_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_InternalResistancesOneUTubeNegative_functions.o] Error 1