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.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_dev_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_dev_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.003138/0.003138, allocations: 180.9 kB / 7.65 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.561/1.561, 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 3.146/3.146, 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.002061/0.002061, allocations: 103.9 kB / 478.2 MB, free: 1.281 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.254e-05/3.258e-05, allocations: 4 kB / 0.5536 GB, free: 8.883 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06/1.06, allocations: 82.31 MB / 0.634 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2954/1.355, allocations: 131.5 MB / 0.7624 GB, free: 7.043 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005236/1.356, allocations: 119.9 kB / 0.7626 GB, free: 6.926 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.0638/1.42, allocations: 15.26 MB / 0.7775 GB, free: 7.645 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.936e-06/1.42, allocations: 0 / 0.7775 GB, free: 7.645 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.17e-05/1.42, allocations: 0 / 0.7775 GB, free: 7.645 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.001734/1.422, allocations: 0.5566 MB / 0.778 GB, free: 7.043 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 8.137e-05/1.422, allocations: 8.031 kB / 0.778 GB, free: 7.035 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.673e-05/1.422, allocations: 83.19 kB / 0.7781 GB, free: 6.953 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/1.422, allocations: 246.3 kB / 0.7783 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.591e-05/1.422, allocations: 154.5 kB / 0.7785 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.852e-05/1.422, allocations: 150.6 kB / 0.7786 GB, free: 6.371 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.678e-05/1.422, allocations: 154.6 kB / 0.7788 GB, free: 6.219 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.752e-05/1.422, allocations: 108.9 kB / 0.7789 GB, free: 6.105 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.975e-05/1.422, allocations: 75.28 kB / 0.7789 GB, free: 6.031 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.487e-05/1.422, allocations: 154.6 kB / 0.7791 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.426e-05/1.423, allocations: 150.6 kB / 0.7792 GB, free: 5.73 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004485/1.423, allocations: 446.4 kB / 0.7797 GB, free: 5.258 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/1.423, allocations: 177.1 kB / 0.7798 GB, free: 5.074 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.077e-05/1.423, allocations: 80.14 kB / 0.7799 GB, free: 4.992 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.375e-05/1.423, allocations: 75.28 kB / 0.78 GB, free: 4.918 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.537e-05/1.423, allocations: 113.8 kB / 0.7801 GB, free: 4.797 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 1.353e-06/1.423, allocations: 0 / 0.7801 GB, free: 4.797 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 0.0001191/1.423, allocations: 37.59 kB / 0.7801 GB, free: 4.754 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/1.424, allocations: 55.41 kB / 0.7802 GB, free: 4.688 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/1.424, allocations: 119.1 kB / 0.7803 GB, free: 4.562 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/1.424, allocations: 25.7 kB / 0.7803 GB, free: 4.531 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.554e-05/1.424, allocations: 92.14 kB / 0.7804 GB, free: 4.438 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-06/1.424, allocations: 0 / 0.7804 GB, free: 4.438 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-06/1.424, allocations: 0 / 0.7804 GB, free: 4.438 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001474/1.424, allocations: 318.8 kB / 0.7807 GB, free: 4.117 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.313e-05/1.424, allocations: 11.94 kB / 0.7807 GB, free: 4.105 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.948e-05/1.424, allocations: 4 kB / 0.7807 GB, free: 4.102 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/1.424, allocations: 8 kB / 0.7807 GB, free: 4.094 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/1.424, allocations: 3.953 kB / 0.7807 GB, free: 4.09 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001923/1.424, allocations: 53.62 kB / 0.7808 GB, free: 4.031 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/1.425, allocations: 4 kB / 0.7808 GB, free: 4.027 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.582e-05/1.425, allocations: 4 kB / 0.7808 GB, free: 4.023 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/1.425, allocations: 0 / 0.7808 GB, free: 4.023 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.673e-06/1.425, allocations: 0 / 0.7808 GB, free: 4.023 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/1.425, allocations: 0 / 0.7808 GB, free: 4.023 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.332e-05/1.425, allocations: 11.97 kB / 0.7808 GB, free: 4.012 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/1.425, allocations: 0 / 0.7808 GB, free: 4.012 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.000154/1.425, allocations: 176.3 kB / 0.781 GB, free: 3.832 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001132/1.425, allocations: 146.5 kB / 0.7811 GB, free: 3.676 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.897e-05/1.425, allocations: 105 kB / 0.7812 GB, free: 3.566 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.939e-05/1.425, allocations: 112.7 kB / 0.7813 GB, free: 3.449 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001002/1.425, allocations: 188.2 kB / 0.7815 GB, free: 3.258 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001029/1.425, allocations: 180.2 kB / 0.7817 GB, free: 3.074 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.541e-05/1.425, allocations: 176.3 kB / 0.7818 GB, free: 2.895 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003057/1.426, allocations: 397.7 kB / 0.7822 GB, free: 2.461 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.219e-05/1.426, allocations: 109.1 kB / 0.7823 GB, free: 2.348 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.077e-05/1.426, allocations: 101 kB / 0.7824 GB, free: 2.242 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001022/1.426, allocations: 192.2 kB / 0.7826 GB, free: 2.047 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.236e-05/1.426, allocations: 184.2 kB / 0.7828 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.367e-05/1.426, allocations: 176.3 kB / 0.7829 GB, free: 1.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.662e-05/1.426, allocations: 184.2 kB / 0.7831 GB, free: 1.492 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/1.427, allocations: 307.7 kB / 0.7834 GB, free: 1.168 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/1.427, allocations: 193.9 kB / 0.7836 GB, free: 0.9531 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/1.427, allocations: 181.2 kB / 0.7838 GB, free: 0.7695 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/1.427, allocations: 101 kB / 0.7839 GB, free: 0.6641 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/1.427, allocations: 184.2 kB / 0.784 GB, free: 488 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.142e-05/1.427, allocations: 105 kB / 0.7841 GB, free: 376 kB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.088e-05/1.427, allocations: 97 kB / 0.7842 GB, free: 280 kB / 0.5573 GB Notification: Performance of sort global known variables: time 1.9e-07/1.427, allocations: 0 / 0.7842 GB, free: 280 kB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001914/1.429, allocations: 323.6 kB / 0.7845 GB, free: 15.95 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.00214/1.431, allocations: 1.187 MB / 0.7857 GB, free: 14.74 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001648/1.431, allocations: 41.7 kB / 0.7857 GB, free: 14.7 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.431, allocations: 0 / 0.7857 GB, free: 14.7 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 9.387e-06/1.431, allocations: 7.938 kB / 0.7857 GB, free: 14.69 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005407/1.432, allocations: 0.5263 MB / 0.7863 GB, free: 14.16 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008566/1.433, allocations: 342.3 kB / 0.7866 GB, free: 13.79 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/1.433, allocations: 0.6885 MB / 0.7873 GB, free: 13.07 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 2.085e-05/1.433, allocations: 0 / 0.7873 GB, free: 13.07 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.839e-05/1.433, allocations: 19.44 kB / 0.7873 GB, free: 13.05 MB / 0.573 GB Notification: Performance of SimCode: time 3.21e-07/1.433, allocations: 0 / 0.7873 GB, free: 13.05 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04969/1.483, allocations: 6.126 MB / 0.7933 GB, free: 6.965 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004133/1.484, allocations: 225.7 kB / 0.7935 GB, free: 6.68 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_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_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_FMU.o IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_FMU.c In file included from IDEAS_dev_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_dev_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_dev_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_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.o IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.c In file included from IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.c:7: In file included from ./IDEAS_dev_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_dev_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_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.o IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.c In file included from IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.c:1: In file included from ./IDEAS_dev_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_dev_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_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.o] Error 1