Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.408/1.408, allocations: 249.5 MB / 257 MB, free: 6.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001181/0.001181, allocations: 187.9 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.3 MB / 0.5671 GB, free: 15.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009607/0.000961, allocations: 88.55 kB / 0.6714 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.924e-05/1.928e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2186, allocations: 106.3 MB / 0.8854 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.745/0.9637, allocations: 144.2 MB / 1.026 GB, free: 9.211 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.9641, allocations: 117.1 kB / 1.026 GB, free: 9.137 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02207/0.9861, allocations: 7.846 MB / 1.034 GB, free: 2.426 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9862, allocations: 0 / 1.034 GB, free: 2.426 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.9862, allocations: 0 / 1.034 GB, free: 2.426 MB / 0.6511 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.0006859/0.9869, allocations: 492.1 kB / 1.034 GB, free: 1.91 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.9869, allocations: 8.031 kB / 1.034 GB, free: 1.902 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.987, allocations: 11.09 kB / 1.034 GB, free: 1.895 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.9872, allocations: 187.4 kB / 1.035 GB, free: 1.668 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.9872, allocations: 0 / 1.035 GB, free: 1.668 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-06/0.9872, allocations: 0 / 1.035 GB, free: 1.668 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.648e-05/0.9873, allocations: 23.05 kB / 1.035 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.661e-05/0.9874, allocations: 61.23 kB / 1.035 GB, free: 1.586 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.9874, allocations: 3.938 kB / 1.035 GB, free: 1.582 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.9874, allocations: 0 / 1.035 GB, free: 1.582 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.9874, allocations: 0 / 1.035 GB, free: 1.582 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001965/0.9876, allocations: 165.5 kB / 1.035 GB, free: 1.391 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 6.067e-05/0.9877, allocations: 50 kB / 1.035 GB, free: 1.34 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.965e-05/0.9878, allocations: 28.56 kB / 1.035 GB, free: 1.312 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.9878, allocations: 8 kB / 1.035 GB, free: 1.305 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.9878, allocations: 30.56 kB / 1.035 GB, free: 1.266 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.9878, allocations: 0 / 1.035 GB, free: 1.266 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.000226/0.9881, allocations: 93 kB / 1.035 GB, free: 1.176 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.9881, allocations: 55.34 kB / 1.035 GB, free: 1.109 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.9882, allocations: 138.8 kB / 1.035 GB, free: 0.9727 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.9883, allocations: 25.7 kB / 1.035 GB, free: 0.9414 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.737e-05/0.9883, allocations: 94.77 kB / 1.035 GB, free: 0.8555 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.688e-05/0.9884, allocations: 31.58 kB / 1.035 GB, free: 0.8242 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.9884, allocations: 0 / 1.035 GB, free: 0.8242 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.9885, allocations: 326.1 kB / 1.036 GB, free: 0.5039 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.452e-05/0.9885, allocations: 19.98 kB / 1.036 GB, free: 496 kB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.766e-05/0.9886, allocations: 27.7 kB / 1.036 GB, free: 472 kB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.639e-05/0.9886, allocations: 35.61 kB / 1.036 GB, free: 440 kB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.9886, allocations: 0 / 1.036 GB, free: 440 kB / 0.6511 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000117/0.9888, allocations: 89.14 kB / 1.036 GB, free: 348 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.9888, allocations: 7.984 kB / 1.036 GB, free: 340 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.9888, allocations: 4.062 kB / 1.036 GB, free: 336 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.9888, allocations: 8.922 kB / 1.036 GB, free: 328 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-07/0.9888, allocations: 0 / 1.036 GB, free: 328 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.9888, allocations: 0 / 1.036 GB, free: 328 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.726e-05/0.9889, allocations: 0 / 1.036 GB, free: 328 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.9889, allocations: 4 kB / 1.036 GB, free: 324 kB / 0.6511 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 7.811e-05/0.989, allocations: 107.2 kB / 1.036 GB, free: 212 kB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001147/0.9891, allocations: 100.5 kB / 1.036 GB, free: 112 kB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-06/0.9891, allocations: 7.906 kB / 1.036 GB, free: 104 kB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002141/0.9893, allocations: 201.8 kB / 1.036 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.237e-05/0.9894, allocations: 187.7 kB / 1.036 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.794e-05/0.9895, allocations: 184.2 kB / 1.037 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.894e-05/0.9896, allocations: 176.3 kB / 1.037 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000263/0.9898, allocations: 420.9 kB / 1.037 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.613e-05/0.9899, allocations: 105.7 kB / 1.037 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.636e-05/0.9899, allocations: 101 kB / 1.037 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.505e-05/0.99, allocations: 192.2 kB / 1.038 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.724e-05/0.9901, allocations: 187.7 kB / 1.038 GB, free: 14.28 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.436e-05/0.9902, allocations: 176.3 kB / 1.038 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.079e-05/0.9902, allocations: 180.2 kB / 1.038 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.9904, allocations: 319.6 kB / 1.038 GB, free: 13.58 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.9906, allocations: 221.3 kB / 1.039 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.373e-05/0.9907, allocations: 176.3 kB / 1.039 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.68e-05/0.9908, allocations: 105 kB / 1.039 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.674e-05/0.9909, allocations: 188.2 kB / 1.039 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/0.9909, allocations: 101 kB / 1.039 GB, free: 12.76 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002201/0.9911, allocations: 255 kB / 1.039 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9911, allocations: 0 / 1.039 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007663/0.9919, allocations: 242.4 kB / 1.04 GB, free: 12.35 MB / 0.6667 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.001044/0.993, allocations: 1.08 MB / 1.041 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001203/0.9931, allocations: 68.38 kB / 1.041 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.9931, allocations: 0 / 1.041 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 3.166e-06/0.9931, allocations: 3.938 kB / 1.041 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.9935, allocations: 0.5307 MB / 1.041 GB, free: 10.65 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005495/0.9941, allocations: 336.3 kB / 1.042 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.9944, allocations: 0.7079 MB / 1.042 GB, free: 9.555 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 1.64e-05/0.9944, allocations: 0 / 1.042 GB, free: 9.555 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.706e-05/0.9944, allocations: 25 kB / 1.042 GB, free: 9.543 MB / 0.6667 GB Notification: Performance of SimCode: time 2.51e-07/0.9944, allocations: 0 / 1.042 GB, free: 9.543 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02623/1.021, allocations: 5.287 MB / 1.047 GB, free: 4.316 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002754/1.021, allocations: 242.3 kB / 1.048 GB, free: 4.035 MB / 0.6667 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=Buildings_maint_7_0_x_Buildings_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 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_FMU.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_FMU.c In file included from Buildings_maint_7_0_x_Buildings_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 Buildings_maint_7_0_x_Buildings_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=Buildings_maint_7_0_x_Buildings_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 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.c:7: In file included from ./Buildings_maint_7_0_x_Buildings_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=Buildings_maint_7_0_x_Buildings_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 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_functions.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_functions.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_functions.c:1: In file included from ./Buildings_maint_7_0_x_Buildings_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); ^ Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_functions.c:310: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: *** [: Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_functions.o] Error 1