Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.8786/0.8786, allocations: 141.8 MB / 149.3 MB, free: 9.227 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.001256/0.001256, allocations: 180.9 kB / 182.2 MB, free: 9.453 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.508/1.508, 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.001024/0.001024, allocations: 90.08 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.001685/0.001685, allocations: 280.6 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.262e-05/2.264e-05, allocations: 4 kB / 0.6767 GB, free: 12.68 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4607/0.4607, allocations: 82.77 MB / 0.7575 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1718/0.6325, allocations: 128.7 MB / 0.8832 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003426/0.6329, allocations: 115.9 kB / 0.8833 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.4973/1.13, allocations: 15.1 MB / 0.898 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.623e-06/1.13, allocations: 0 / 0.898 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.201e-05/1.13, allocations: 1.125 kB / 0.898 GB, free: 128.4 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001172/1.132, allocations: 0.5449 MB / 0.8986 GB, free: 128 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/1.132, allocations: 10.22 kB / 0.8986 GB, free: 128 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.485e-05/1.132, allocations: 86.2 kB / 0.8987 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/1.132, allocations: 251.8 kB / 0.8989 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/1.132, allocations: 151.2 kB / 0.899 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.531e-05/1.132, allocations: 153.6 kB / 0.8992 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.97e-05/1.132, allocations: 153 kB / 0.8993 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.95e-05/1.132, allocations: 104.4 kB / 0.8994 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/1.132, allocations: 77.97 kB / 0.8995 GB, free: 127 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/1.132, allocations: 153.5 kB / 0.8996 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.813e-05/1.132, allocations: 154.8 kB / 0.8998 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002286/1.132, allocations: 442.8 kB / 0.9002 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.094e-05/1.132, allocations: 173.1 kB / 0.9004 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.069e-05/1.132, allocations: 83.27 kB / 0.9005 GB, free: 126 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/1.132, allocations: 80.42 kB / 0.9005 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/1.132, allocations: 111.7 kB / 0.9006 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/1.132, allocations: 0 / 0.9006 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 7.233e-05/1.133, allocations: 35.06 kB / 0.9007 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.032e-05/1.133, allocations: 51.97 kB / 0.9007 GB, free: 125.7 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/1.133, allocations: 120.3 kB / 0.9008 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/1.133, allocations: 27.03 kB / 0.9009 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.048e-05/1.133, allocations: 94.39 kB / 0.901 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/1.133, allocations: 0 / 0.901 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-06/1.133, allocations: 0.9688 kB / 0.901 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.962e-05/1.133, allocations: 320.7 kB / 0.9013 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.138e-05/1.133, allocations: 4.656 kB / 0.9013 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.406e-05/1.133, allocations: 5.156 kB / 0.9013 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.803e-05/1.133, allocations: 8.438 kB / 0.9013 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.133, allocations: 0.7812 kB / 0.9013 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000136/1.133, allocations: 51.95 kB / 0.9013 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/1.133, allocations: 8.375 kB / 0.9013 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/1.133, allocations: 5.062 kB / 0.9013 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/1.133, allocations: 0.5312 kB / 0.9013 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.485e-06/1.133, allocations: 4.094 kB / 0.9014 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/1.133, allocations: 0.5156 kB / 0.9014 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.091e-05/1.133, allocations: 0.875 kB / 0.9014 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/1.133, allocations: 2.359 kB / 0.9014 GB, free: 125.1 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.737e-05/1.133, allocations: 181.9 kB / 0.9015 GB, free: 125 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.068e-05/1.133, allocations: 146.9 kB / 0.9017 GB, free: 124.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.333e-05/1.133, allocations: 104.7 kB / 0.9018 GB, free: 124.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.81e-05/1.134, allocations: 112 kB / 0.9019 GB, free: 124.6 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.938e-05/1.134, allocations: 179.3 kB / 0.902 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-05/1.134, allocations: 178.7 kB / 0.9022 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.562e-05/1.134, allocations: 180.7 kB / 0.9024 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/1.134, allocations: 397.6 kB / 0.9028 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.103e-05/1.134, allocations: 106.6 kB / 0.9029 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.655e-05/1.134, allocations: 102.7 kB / 0.903 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-05/1.134, allocations: 186.1 kB / 0.9031 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.323e-05/1.134, allocations: 178.3 kB / 0.9033 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.984e-05/1.134, allocations: 182.2 kB / 0.9035 GB, free: 122.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.398e-05/1.134, allocations: 182.4 kB / 0.9037 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.719e-05/1.134, allocations: 306.2 kB / 0.904 GB, free: 122.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.499e-05/1.134, allocations: 188.8 kB / 0.9041 GB, free: 122.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/1.134, allocations: 187.4 kB / 0.9043 GB, free: 122 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.821e-05/1.134, allocations: 103.7 kB / 0.9044 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/1.134, allocations: 178.9 kB / 0.9046 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/1.134, allocations: 107.9 kB / 0.9047 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.218e-05/1.134, allocations: 97.67 kB / 0.9048 GB, free: 121.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.31e-07/1.134, allocations: 3.031 kB / 0.9048 GB, free: 121.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001414/1.136, allocations: 320.3 kB / 0.9051 GB, free: 121.5 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.001511/1.137, allocations: 1.201 MB / 0.9063 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001007/1.138, allocations: 39.59 kB / 0.9063 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.138, allocations: 2.719 kB / 0.9063 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/1.138, allocations: 8.141 kB / 0.9063 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/1.138, allocations: 0.5279 MB / 0.9068 GB, free: 120 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000586/1.138, allocations: 339.2 kB / 0.9071 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001582/1.139, allocations: 0.6889 MB / 0.9078 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.269e-05/1.139, allocations: 0.7188 kB / 0.9078 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.049e-05/1.139, allocations: 19.27 kB / 0.9078 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of SimCode: time 2.71e-07/1.139, allocations: 0 / 0.9078 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03318/1.172, allocations: 6.141 MB / 0.9138 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/1.172, allocations: 285.4 kB / 0.9141 GB, free: 118.3 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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative -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_InternalResistancesOneUTubeNegative_FMU.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_FMU.c In file included from BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_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_InternalResistancesOneUTubeNegative_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative -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_InternalResistancesOneUTubeNegative.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.c In file included from BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.c:7: In file included from ./BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative -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_InternalResistancesOneUTubeNegative_functions.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_functions.c In file included from BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_functions.c:1: In file included from ./BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_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_InternalResistancesOneUTubeNegative_functions.c:786: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_InternalResistancesOneUTubeNegative_functions.o] Error 1