Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.815/0.815, allocations: 141.8 MB / 149.3 MB, free: 9.199 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 180.8 kB / 182.2 MB, free: 9.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.669/1.669, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.001148/0.001148, allocations: 95.83 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00188/0.00188, allocations: 276.5 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.106e-05/2.128e-05, allocations: 4 kB / 0.6767 GB, free: 12.69 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4888/0.4889, allocations: 82.78 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1624/0.6513, allocations: 120.3 MB / 0.875 GB, free: 7.43 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003303/0.6517, allocations: 111.9 kB / 0.8751 GB, free: 7.32 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02385/0.6756, allocations: 8.405 MB / 0.8833 GB, free: 14.9 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6756, allocations: 0 / 0.8833 GB, free: 14.9 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.6756, allocations: 4 kB / 0.8833 GB, free: 14.9 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006652/0.6763, allocations: 0.5639 MB / 0.8839 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.6763, allocations: 8.031 kB / 0.8839 GB, free: 14.28 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.6764, allocations: 23.62 kB / 0.8839 GB, free: 14.26 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.6766, allocations: 221.6 kB / 0.8841 GB, free: 14 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.6766, allocations: 0 / 0.8841 GB, free: 14 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.6766, allocations: 0 / 0.8841 GB, free: 14 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001018/0.6767, allocations: 79.95 kB / 0.8842 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.6768, allocations: 105.7 kB / 0.8843 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.6769, allocations: 0 / 0.8843 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.6769, allocations: 0 / 0.8843 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.6769, allocations: 4 kB / 0.8843 GB, free: 13.81 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002446/0.6771, allocations: 238.5 kB / 0.8845 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.6773, allocations: 126.4 kB / 0.8846 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.6774, allocations: 112.8 kB / 0.8848 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.6774, allocations: 0 / 0.8848 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.6774, allocations: 30.56 kB / 0.8848 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=32): time 9.12e-07/0.6774, allocations: 0 / 0.8848 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of matching and sorting (n=32): time 0.0003171/0.6778, allocations: 229.8 kB / 0.885 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.6778, allocations: 51.41 kB / 0.8851 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.678, allocations: 220.5 kB / 0.8853 GB, free: 12.74 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.678, allocations: 25.7 kB / 0.8853 GB, free: 12.71 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.087e-05/0.6781, allocations: 124.7 kB / 0.8854 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 7.94e-05/0.6782, allocations: 106.4 kB / 0.8855 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-06/0.6782, allocations: 0 / 0.8855 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.6783, allocations: 342.8 kB / 0.8858 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.146e-05/0.6784, allocations: 83.98 kB / 0.8859 GB, free: 12.05 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.352e-05/0.6785, allocations: 71.97 kB / 0.886 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.6786, allocations: 112.1 kB / 0.8861 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.6787, allocations: 0 / 0.8861 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002476/0.6789, allocations: 225.2 kB / 0.8863 GB, free: 11.65 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.6789, allocations: 5.406 kB / 0.8863 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.6789, allocations: 4 kB / 0.8863 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.679, allocations: 0 / 0.8863 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.058e-06/0.679, allocations: 7.984 kB / 0.8863 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.679, allocations: 0 / 0.8863 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.752e-05/0.679, allocations: 15.91 kB / 0.8863 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.6791, allocations: 0 / 0.8863 GB, free: 11.62 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 7.109e-05/0.6791, allocations: 109 kB / 0.8864 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000234/0.6794, allocations: 236.5 kB / 0.8867 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.127e-05/0.6794, allocations: 19.72 kB / 0.8867 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004607/0.6799, allocations: 0.5655 MB / 0.8872 GB, free: 10.57 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.095e-05/0.6799, allocations: 181 kB / 0.8874 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.638e-05/0.68, allocations: 180.2 kB / 0.8876 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.336e-05/0.6801, allocations: 180.3 kB / 0.8878 GB, free: 10.02 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003521/0.6804, allocations: 0.5285 MB / 0.8883 GB, free: 9.449 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.709e-05/0.6805, allocations: 104.9 kB / 0.8884 GB, free: 9.34 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.308e-05/0.6805, allocations: 105 kB / 0.8885 GB, free: 9.23 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.668e-05/0.6806, allocations: 180.2 kB / 0.8886 GB, free: 9.047 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.075e-05/0.6806, allocations: 184.2 kB / 0.8888 GB, free: 8.859 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.933e-05/0.6807, allocations: 176.3 kB / 0.889 GB, free: 8.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.032e-05/0.6808, allocations: 188.2 kB / 0.8892 GB, free: 8.488 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.681, allocations: 327.5 kB / 0.8895 GB, free: 8.145 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004285/0.6814, allocations: 357.5 kB / 0.8898 GB, free: 7.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/0.6816, allocations: 184.2 kB / 0.89 GB, free: 7.582 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.6818, allocations: 113 kB / 0.8901 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.313e-05/0.6818, allocations: 176.3 kB / 0.8903 GB, free: 7.285 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/0.6819, allocations: 110.2 kB / 0.8904 GB, free: 7.172 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001192/0.6831, allocations: 1.11 MB / 0.8915 GB, free: 6.062 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.31e-07/0.6831, allocations: 0 / 0.8915 GB, free: 6.062 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001002/0.6841, allocations: 303.6 kB / 0.8917 GB, free: 5.766 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.001255/0.6854, allocations: 1.095 MB / 0.8928 GB, free: 4.645 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002275/0.6856, allocations: 177.6 kB / 0.893 GB, free: 4.465 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6856, allocations: 0 / 0.893 GB, free: 4.465 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.6856, allocations: 0 / 0.893 GB, free: 4.465 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.6861, allocations: 0.5479 MB / 0.8935 GB, free: 3.914 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008722/0.6869, allocations: 0.5307 MB / 0.894 GB, free: 3.348 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.6873, allocations: 0.7587 MB / 0.8948 GB, free: 2.562 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.627e-05/0.6874, allocations: 4 kB / 0.8948 GB, free: 2.559 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.315e-05/0.6874, allocations: 63.41 kB / 0.8948 GB, free: 2.496 MB / 0.5573 GB Notification: Performance of SimCode: time 2.51e-07/0.6874, allocations: 0 / 0.8948 GB, free: 2.496 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4574/1.145, allocations: 7.014 MB / 0.9017 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/1.145, allocations: 250 kB / 0.9019 GB, free: 128.1 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=BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube -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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_FMU.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_FMU.c In file included from BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_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=BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube -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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.c In file included from BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.c:7: In file included from ./BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_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=BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube -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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_functions.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_functions.c In file included from BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_functions.c:1: In file included from ./BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_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); ^ BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_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: *** [: BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_functions.o] Error 1