Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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.MultipoleThermalResistances_OneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",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.001029/0.001029, 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 0.7723/0.7723, allocations: 133.6 MB / 141.6 MB, free: 2.91 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.442/1.442, allocations: 221.5 MB / 395.4 MB, free: 10.75 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.0009949/0.0009949, allocations: 104.8 kB / 478.2 MB, free: 1.27 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.103e-05/2.114e-05, allocations: 4 kB / 0.5536 GB, free: 8.867 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.465/0.4651, allocations: 82.31 MB / 0.634 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1644/0.6295, allocations: 123 MB / 0.7541 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000369/0.63, allocations: 123.9 kB / 0.7542 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02557/0.6555, allocations: 7.926 MB / 0.7619 GB, free: 7.582 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.605e-06/0.6556, allocations: 0 / 0.7619 GB, free: 7.582 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.397e-05/0.6556, allocations: 0 / 0.7619 GB, free: 7.582 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009319/0.6565, allocations: 485.9 kB / 0.7624 GB, free: 7.062 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.959e-05/0.6566, allocations: 8.031 kB / 0.7624 GB, free: 7.055 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.026e-05/0.6567, allocations: 15.84 kB / 0.7624 GB, free: 7.039 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.6569, allocations: 197.8 kB / 0.7626 GB, free: 6.805 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.6569, allocations: 0 / 0.7626 GB, free: 6.805 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-06/0.6569, allocations: 0 / 0.7626 GB, free: 6.805 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.429e-05/0.657, allocations: 19.98 kB / 0.7626 GB, free: 6.785 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.708e-05/0.6571, allocations: 53.69 kB / 0.7627 GB, free: 6.727 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.6571, allocations: 3.938 kB / 0.7627 GB, free: 6.723 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.6572, allocations: 0 / 0.7627 GB, free: 6.723 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.6572, allocations: 0 / 0.7627 GB, free: 6.723 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002169/0.6574, allocations: 174.1 kB / 0.7628 GB, free: 6.516 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.463e-05/0.6575, allocations: 50.56 kB / 0.7629 GB, free: 6.457 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.644e-05/0.6575, allocations: 28.88 kB / 0.7629 GB, free: 6.426 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.6576, allocations: 7.984 kB / 0.7629 GB, free: 6.418 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.6576, allocations: 30.56 kB / 0.763 GB, free: 6.379 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.6576, allocations: 0 / 0.763 GB, free: 6.379 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.0002349/0.6579, allocations: 89.58 kB / 0.763 GB, free: 6.285 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.6579, allocations: 55.34 kB / 0.7631 GB, free: 6.219 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.6581, allocations: 138.2 kB / 0.7632 GB, free: 6.07 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.6581, allocations: 25.7 kB / 0.7633 GB, free: 6.039 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.6582, allocations: 100.1 kB / 0.7634 GB, free: 5.938 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.147e-05/0.6582, allocations: 27.59 kB / 0.7634 GB, free: 5.91 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.6582, allocations: 0 / 0.7634 GB, free: 5.91 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.6584, allocations: 322.8 kB / 0.7637 GB, free: 5.586 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.539e-05/0.6584, allocations: 19.98 kB / 0.7637 GB, free: 5.566 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.434e-05/0.6585, allocations: 27.98 kB / 0.7637 GB, free: 5.539 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.954e-05/0.6585, allocations: 32 kB / 0.7638 GB, free: 5.508 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.6585, allocations: 3.953 kB / 0.7638 GB, free: 5.504 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001354/0.6587, allocations: 97.48 kB / 0.7639 GB, free: 5.402 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.6587, allocations: 4 kB / 0.7639 GB, free: 5.398 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.6587, allocations: 4 kB / 0.7639 GB, free: 5.395 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.6588, allocations: 0 / 0.7639 GB, free: 5.395 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.37e-06/0.6588, allocations: 4 kB / 0.7639 GB, free: 5.391 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.6588, allocations: 8 kB / 0.7639 GB, free: 5.383 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.355e-05/0.6588, allocations: 7.922 kB / 0.7639 GB, free: 5.375 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.6588, allocations: 4 kB / 0.7639 GB, free: 5.371 MB / 0.5417 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 8.754e-05/0.6589, allocations: 109 kB / 0.764 GB, free: 5.258 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001271/0.6591, allocations: 93.67 kB / 0.7641 GB, free: 5.16 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.285e-05/0.6591, allocations: 7.906 kB / 0.7641 GB, free: 5.152 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002144/0.6593, allocations: 204.2 kB / 0.7643 GB, free: 4.918 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.829e-05/0.6594, allocations: 185 kB / 0.7645 GB, free: 4.73 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.801e-05/0.6595, allocations: 176.3 kB / 0.7646 GB, free: 4.551 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.888e-05/0.6595, allocations: 180.3 kB / 0.7648 GB, free: 4.367 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002848/0.6598, allocations: 429.6 kB / 0.7652 GB, free: 3.902 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.234e-05/0.6599, allocations: 101 kB / 0.7653 GB, free: 3.797 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.749e-05/0.6599, allocations: 101 kB / 0.7654 GB, free: 3.691 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.359e-05/0.66, allocations: 184.2 kB / 0.7656 GB, free: 3.504 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.216e-05/0.6601, allocations: 176.3 kB / 0.7657 GB, free: 3.324 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.066e-05/0.6602, allocations: 188.2 kB / 0.7659 GB, free: 3.133 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001026/0.6603, allocations: 180.2 kB / 0.7661 GB, free: 2.949 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.6606, allocations: 303.7 kB / 0.7664 GB, free: 2.629 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.6607, allocations: 225.8 kB / 0.7666 GB, free: 2.383 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.6609, allocations: 184.3 kB / 0.7668 GB, free: 2.195 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.661, allocations: 101 kB / 0.7669 GB, free: 2.09 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.6611, allocations: 184.2 kB / 0.7671 GB, free: 1.902 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.726e-05/0.6612, allocations: 105 kB / 0.7672 GB, free: 1.793 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002589/0.6614, allocations: 247.7 kB / 0.7674 GB, free: 1.551 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6615, allocations: 0 / 0.7674 GB, free: 1.551 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0009216/0.6624, allocations: 247.6 kB / 0.7676 GB, free: 1.309 MB / 0.5417 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.001093/0.6635, allocations: 1.081 MB / 0.7687 GB, free: 208 kB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001229/0.6636, allocations: 69.67 kB / 0.7687 GB, free: 132 kB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6636, allocations: 3.938 kB / 0.7688 GB, free: 128 kB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.368e-06/0.6636, allocations: 7.938 kB / 0.7688 GB, free: 120 kB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.6641, allocations: 0.5303 MB / 0.7693 GB, free: 15.58 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005655/0.6646, allocations: 338.6 kB / 0.7696 GB, free: 15.22 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.6649, allocations: 0.7118 MB / 0.7703 GB, free: 14.48 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.02e-05/0.665, allocations: 8 kB / 0.7703 GB, free: 14.47 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.665, allocations: 23.42 kB / 0.7703 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of SimCode: time 2.61e-07/0.665, allocations: 0 / 0.7703 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.6898, allocations: 5.272 MB / 0.7755 GB, free: 9.223 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002202/0.6901, allocations: 223.7 kB / 0.7757 GB, free: 8.934 MB / 0.5573 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_MultipoleThermalResistances_OneUTube -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_MultipoleThermalResistances_OneUTube_FMU.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_FMU.c In file included from IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_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_MultipoleThermalResistances_OneUTube_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_MultipoleThermalResistances_OneUTube -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_MultipoleThermalResistances_OneUTube.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.c In file included from IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.c:7: In file included from ./IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_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_MultipoleThermalResistances_OneUTube -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_MultipoleThermalResistances_OneUTube_functions.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_functions.c In file included from IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_functions.c:1: In file included from ./IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_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_MultipoleThermalResistances_OneUTube_functions.c:570: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_MultipoleThermalResistances_OneUTube_functions.o] Error 1