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_OneUTube.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_OneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.8219/0.8219, allocations: 141.8 MB / 149.3 MB, free: 9.211 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.00106/0.00106, allocations: 180.8 kB / 182.2 MB, free: 9.445 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.518/1.518, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.001036/0.001036, allocations: 97.48 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002578/0.002578, allocations: 284.5 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.954e-05/2.957e-05, allocations: 8 kB / 0.6767 GB, free: 12.68 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.513/0.513, allocations: 82.78 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1642/0.6773, allocations: 120.3 MB / 0.875 GB, free: 7.438 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003547/0.6777, allocations: 115.9 kB / 0.8751 GB, free: 7.324 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02321/0.7009, allocations: 7.943 MB / 0.8829 GB, free: 15.37 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.563e-06/0.701, allocations: 0 / 0.8829 GB, free: 15.37 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.701, allocations: 4 kB / 0.8829 GB, free: 15.36 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005909/0.7016, allocations: 486 kB / 0.8833 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.7016, allocations: 12.03 kB / 0.8833 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.7017, allocations: 3.906 kB / 0.8834 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.7019, allocations: 187.4 kB / 0.8835 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.7019, allocations: 0 / 0.8835 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.7019, allocations: 0 / 0.8835 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.414e-05/0.702, allocations: 31.92 kB / 0.8836 GB, free: 14.57 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.199e-05/0.7021, allocations: 53.67 kB / 0.8836 GB, free: 14.51 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.7021, allocations: 0 / 0.8836 GB, free: 14.51 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.7021, allocations: 7.938 kB / 0.8836 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.7021, allocations: 4 kB / 0.8836 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.7023, allocations: 158.2 kB / 0.8838 GB, free: 14.31 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.827e-05/0.7024, allocations: 54.45 kB / 0.8838 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.96e-05/0.7024, allocations: 32.88 kB / 0.8839 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.7024, allocations: 0 / 0.8839 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.7025, allocations: 38.55 kB / 0.8839 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.7025, allocations: 0 / 0.8839 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.0002089/0.7027, allocations: 98.64 kB / 0.884 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.7027, allocations: 51.41 kB / 0.884 GB, free: 14 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.7029, allocations: 135.6 kB / 0.8842 GB, free: 13.86 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.7029, allocations: 25.7 kB / 0.8842 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/0.7029, allocations: 96.14 kB / 0.8843 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.703, allocations: 27.64 kB / 0.8843 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.703, allocations: 0 / 0.8843 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.7031, allocations: 326.9 kB / 0.8846 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.165e-05/0.7031, allocations: 23.92 kB / 0.8846 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.1e-05/0.7032, allocations: 27.98 kB / 0.8847 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.389e-05/0.7032, allocations: 27.98 kB / 0.8847 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7032, allocations: 4 kB / 0.8847 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001267/0.7034, allocations: 94.92 kB / 0.8848 GB, free: 13.19 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.7034, allocations: 5.406 kB / 0.8848 GB, free: 13.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.7034, allocations: 4 kB / 0.8848 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.7034, allocations: 0 / 0.8848 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.7034, allocations: 0 / 0.8848 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.7035, allocations: 4.062 kB / 0.8848 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.106e-05/0.7035, allocations: 7.844 kB / 0.8848 GB, free: 13.17 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.7035, allocations: 4 kB / 0.8848 GB, free: 13.17 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 6.259e-05/0.7036, allocations: 101 kB / 0.8849 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001189/0.7037, allocations: 101.5 kB / 0.885 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.7037, allocations: 3.906 kB / 0.885 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001981/0.7039, allocations: 206.3 kB / 0.8852 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-05/0.704, allocations: 185 kB / 0.8854 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.903e-05/0.7041, allocations: 184.2 kB / 0.8856 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.828e-05/0.7041, allocations: 176.3 kB / 0.8857 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.7044, allocations: 421.6 kB / 0.8861 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.57e-05/0.7044, allocations: 108.9 kB / 0.8862 GB, free: 11.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.207e-05/0.7045, allocations: 101 kB / 0.8863 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.764e-05/0.7045, allocations: 188.2 kB / 0.8865 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.397e-05/0.7046, allocations: 184.2 kB / 0.8867 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.285e-05/0.7047, allocations: 176.3 kB / 0.8869 GB, free: 10.94 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.648e-05/0.7047, allocations: 180.2 kB / 0.887 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.7049, allocations: 315.6 kB / 0.8873 GB, free: 10.42 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.705, allocations: 217.9 kB / 0.8875 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.285e-05/0.7051, allocations: 188.1 kB / 0.8877 GB, free: 9.992 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.816e-05/0.7052, allocations: 105 kB / 0.8878 GB, free: 9.883 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/0.7053, allocations: 176.3 kB / 0.888 GB, free: 9.703 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.194e-05/0.7053, allocations: 114.2 kB / 0.8881 GB, free: 9.586 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002296/0.7056, allocations: 260.7 kB / 0.8883 GB, free: 9.332 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7056, allocations: 4 kB / 0.8883 GB, free: 9.328 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007627/0.7063, allocations: 247.6 kB / 0.8886 GB, free: 9.086 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.001105/0.7074, allocations: 1.062 MB / 0.8896 GB, free: 7.992 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001465/0.7076, allocations: 77.67 kB / 0.8897 GB, free: 7.91 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7076, allocations: 0 / 0.8897 GB, free: 7.91 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.783e-06/0.7076, allocations: 0 / 0.8897 GB, free: 7.91 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.708, allocations: 0.5362 MB / 0.8902 GB, free: 7.371 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005823/0.7086, allocations: 346.8 kB / 0.8905 GB, free: 7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.7089, allocations: 0.7041 MB / 0.8912 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.759e-05/0.7089, allocations: 0 / 0.8912 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.687e-05/0.7089, allocations: 27.42 kB / 0.8913 GB, free: 6.242 MB / 0.5573 GB Notification: Performance of SimCode: time 2.4e-07/0.7089, allocations: 0 / 0.8913 GB, free: 6.242 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02985/0.7388, allocations: 5.273 MB / 0.8964 GB, free: 1.023 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003128/0.7392, allocations: 249.8 kB / 0.8966 GB, free: 0.7344 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_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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_FMU.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_FMU.c In file included from BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.c In file included from BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.c:7: In file included from ./BuildingSystems_BuildingSystems_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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_functions.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_functions.c In file included from BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_functions.c:1: In file included from ./BuildingSystems_BuildingSystems_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); ^ BuildingSystems_BuildingSystems_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: *** [: BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_functions.o] Error 1