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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.541/1.541, allocations: 249.5 MB / 257 MB, free: 6.996 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.001175/0.001175, allocations: 192.4 kB / 316.3 MB, free: 3.219 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.58/1.58, 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.0008388/0.0008387, allocations: 95.59 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.513e-05/2.514e-05, allocations: 4 kB / 0.7815 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2335, allocations: 106.3 MB / 0.8854 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7873/1.021, allocations: 153.2 MB / 1.035 GB, free: 392 kB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/1.021, allocations: 121.6 kB / 1.035 GB, free: 312 kB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04518/1.066, allocations: 15.17 MB / 1.05 GB, free: 3.441 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.032e-06/1.066, allocations: 0 / 1.05 GB, free: 3.441 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.951e-06/1.066, allocations: 0.8438 kB / 1.05 GB, free: 3.441 MB / 0.6667 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.0009579/1.067, allocations: 0.5504 MB / 1.05 GB, free: 2.855 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/1.067, allocations: 12.03 kB / 1.05 GB, free: 2.844 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.594e-05/1.067, allocations: 83.45 kB / 1.051 GB, free: 2.762 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/1.068, allocations: 256.1 kB / 1.051 GB, free: 2.473 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.332e-05/1.068, allocations: 154.6 kB / 1.051 GB, free: 2.32 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.254e-05/1.068, allocations: 158.1 kB / 1.051 GB, free: 2.168 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.336e-05/1.068, allocations: 150.6 kB / 1.051 GB, free: 2.02 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.448e-05/1.068, allocations: 104.9 kB / 1.051 GB, free: 1.91 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/1.068, allocations: 79.22 kB / 1.051 GB, free: 1.832 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.902e-05/1.068, allocations: 150.6 kB / 1.052 GB, free: 1.684 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.947e-05/1.068, allocations: 154.6 kB / 1.052 GB, free: 1.531 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002951/1.068, allocations: 445.2 kB / 1.052 GB, free: 1.066 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 8.465e-05/1.068, allocations: 169.1 kB / 1.052 GB, free: 0.8906 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.272e-05/1.069, allocations: 83.7 kB / 1.052 GB, free: 0.8086 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/1.069, allocations: 79.28 kB / 1.052 GB, free: 0.7305 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.816e-05/1.069, allocations: 109.8 kB / 1.053 GB, free: 0.6133 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/1.069, allocations: 0 / 1.053 GB, free: 0.6133 MB / 0.6667 GB Notification: Performance of matching and sorting (n=0): time 7.639e-05/1.069, allocations: 33.61 kB / 1.053 GB, free: 0.5742 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/1.069, allocations: 55.39 kB / 1.053 GB, free: 0.5078 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/1.069, allocations: 119.6 kB / 1.053 GB, free: 400 kB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/1.069, allocations: 25.7 kB / 1.053 GB, free: 368 kB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/1.069, allocations: 94.14 kB / 1.053 GB, free: 276 kB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/1.069, allocations: 0 / 1.053 GB, free: 276 kB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/1.069, allocations: 0 / 1.053 GB, free: 276 kB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.069, allocations: 321.7 kB / 1.053 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.9e-05/1.069, allocations: 4 kB / 1.053 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.299e-05/1.069, allocations: 6.875 kB / 1.053 GB, free: 15.94 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.179e-05/1.069, allocations: 7.953 kB / 1.053 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.069, allocations: 0 / 1.053 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001278/1.069, allocations: 59.47 kB / 1.053 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/1.069, allocations: 8.062 kB / 1.053 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/1.069, allocations: 4 kB / 1.053 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/1.069, allocations: 7.984 kB / 1.053 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/1.069, allocations: 0 / 1.053 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/1.069, allocations: 0 / 1.053 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.985e-05/1.069, allocations: 0 / 1.053 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-06/1.069, allocations: 0 / 1.053 GB, free: 15.86 MB / 0.6823 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.601e-05/1.07, allocations: 184.2 kB / 1.053 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.479e-05/1.07, allocations: 142.5 kB / 1.054 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.237e-05/1.07, allocations: 108.9 kB / 1.054 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.407e-05/1.07, allocations: 111.9 kB / 1.054 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.273e-05/1.07, allocations: 180.2 kB / 1.054 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.165e-05/1.07, allocations: 176.3 kB / 1.054 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.848e-05/1.07, allocations: 184.2 kB / 1.054 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/1.07, allocations: 400.7 kB / 1.055 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.074e-05/1.07, allocations: 105.1 kB / 1.055 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/1.07, allocations: 105 kB / 1.055 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.219e-05/1.07, allocations: 180.3 kB / 1.055 GB, free: 13.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.014e-05/1.07, allocations: 184.2 kB / 1.055 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.841e-05/1.071, allocations: 176.3 kB / 1.055 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.709e-05/1.071, allocations: 192.1 kB / 1.056 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/1.071, allocations: 303.1 kB / 1.056 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-05/1.071, allocations: 189.9 kB / 1.056 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.78e-05/1.071, allocations: 181.2 kB / 1.056 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.758e-05/1.071, allocations: 107.9 kB / 1.056 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.171e-05/1.071, allocations: 180.2 kB / 1.056 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.153e-05/1.071, allocations: 105 kB / 1.057 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.059e-05/1.071, allocations: 94.19 kB / 1.057 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/1.071, allocations: 0 / 1.057 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001151/1.072, allocations: 332.1 kB / 1.057 GB, free: 11.83 MB / 0.6823 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.001352/1.074, allocations: 1.208 MB / 1.058 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.664e-05/1.074, allocations: 41.14 kB / 1.058 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.074, allocations: 0 / 1.058 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.066e-06/1.074, allocations: 3.938 kB / 1.058 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/1.074, allocations: 0.5314 MB / 1.059 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005753/1.075, allocations: 339.3 kB / 1.059 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/1.075, allocations: 0.6885 MB / 1.06 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.503e-05/1.075, allocations: 0 / 1.06 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.871e-05/1.075, allocations: 24.33 kB / 1.06 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/1.075, allocations: 0 / 1.06 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03008/1.105, allocations: 6.266 MB / 1.066 GB, free: 2.723 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000315/1.106, allocations: 270.2 kB / 1.066 GB, free: 2.434 MB / 0.6823 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_InternalResistancesTwoUTube -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_InternalResistancesTwoUTube_FMU.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_FMU.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_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_InternalResistancesTwoUTube_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_InternalResistancesTwoUTube -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_InternalResistancesTwoUTube.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.c:7: In file included from ./Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_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_InternalResistancesTwoUTube -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_InternalResistancesTwoUTube_functions.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_functions.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_functions.c:1: In file included from ./Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_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_InternalResistancesTwoUTube_functions.c:817: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_InternalResistancesTwoUTube_functions.o] Error 1