Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.8061/0.8061, allocations: 141.8 MB / 149.3 MB, free: 9.207 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.00111/0.00111, allocations: 180.8 kB / 182.2 MB, free: 9.434 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.484/1.484, allocations: 221.5 MB / 436.4 MB, free: 13.28 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.000923/0.0009231, allocations: 96.09 kB / 0.5074 GB, free: 10.1 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002102/0.002102, allocations: 272.3 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 3.11e-05/3.128e-05, allocations: 4 kB / 0.6767 GB, free: 12.65 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5219/0.522, allocations: 82.77 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1662/0.6883, allocations: 129.4 MB / 0.8839 GB, free: 14.31 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/0.6886, allocations: 115.9 kB / 0.884 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.4198/1.108, allocations: 15.41 MB / 0.899 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.906e-06/1.108, allocations: 0 / 0.899 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.476e-06/1.109, allocations: 1.688 kB / 0.8991 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.00105/1.11, allocations: 0.5587 MB / 0.8996 GB, free: 128 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/1.11, allocations: 13.25 kB / 0.8996 GB, free: 128 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.449e-05/1.11, allocations: 77.88 kB / 0.8997 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/1.11, allocations: 252.3 kB / 0.8999 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.447e-05/1.11, allocations: 152.5 kB / 0.9001 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.323e-05/1.11, allocations: 151.2 kB / 0.9002 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.928e-05/1.11, allocations: 157.1 kB / 0.9004 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.266e-05/1.11, allocations: 105.2 kB / 0.9005 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/1.11, allocations: 76.09 kB / 0.9005 GB, free: 127 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/1.11, allocations: 154 kB / 0.9007 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.835e-05/1.11, allocations: 152.1 kB / 0.9008 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002208/1.11, allocations: 447.4 kB / 0.9013 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.793e-05/1.11, allocations: 173.3 kB / 0.9014 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.993e-05/1.11, allocations: 80.14 kB / 0.9015 GB, free: 126 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/1.11, allocations: 75.94 kB / 0.9016 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/1.11, allocations: 111.3 kB / 0.9017 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/1.11, allocations: 0.5625 kB / 0.9017 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 7.71e-05/1.111, allocations: 38.08 kB / 0.9017 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/1.111, allocations: 51.41 kB / 0.9018 GB, free: 125.7 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/1.111, allocations: 121 kB / 0.9019 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/1.111, allocations: 25.7 kB / 0.9019 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.579e-05/1.111, allocations: 90.67 kB / 0.902 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/1.111, allocations: 0.7188 kB / 0.902 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/1.111, allocations: 0 / 0.902 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.592e-05/1.111, allocations: 322.3 kB / 0.9023 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.424e-05/1.111, allocations: 3.594 kB / 0.9023 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.645e-05/1.111, allocations: 5.25 kB / 0.9023 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.785e-05/1.111, allocations: 8.422 kB / 0.9023 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.111, allocations: 1.125 kB / 0.9023 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001418/1.111, allocations: 60.2 kB / 0.9024 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/1.111, allocations: 4.688 kB / 0.9024 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.092e-05/1.111, allocations: 4.641 kB / 0.9024 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/1.111, allocations: 3.75 kB / 0.9024 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.096e-06/1.111, allocations: 3.578 kB / 0.9024 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/1.111, allocations: 0.7031 kB / 0.9024 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.172e-05/1.111, allocations: 0.75 kB / 0.9024 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/1.111, allocations: 2.094 kB / 0.9024 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.442e-05/1.111, allocations: 177.8 kB / 0.9026 GB, free: 125 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.253e-05/1.111, allocations: 144.9 kB / 0.9027 GB, free: 124.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/1.111, allocations: 113.9 kB / 0.9028 GB, free: 124.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.556e-05/1.112, allocations: 116.7 kB / 0.9029 GB, free: 124.6 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-05/1.112, allocations: 181.5 kB / 0.9031 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.412e-05/1.112, allocations: 177.1 kB / 0.9033 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.562e-05/1.112, allocations: 181.6 kB / 0.9034 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/1.112, allocations: 397.2 kB / 0.9038 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-05/1.112, allocations: 103.1 kB / 0.9039 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.091e-05/1.112, allocations: 105.9 kB / 0.904 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.52e-05/1.112, allocations: 184.9 kB / 0.9042 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/1.112, allocations: 177.6 kB / 0.9044 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-05/1.112, allocations: 183.4 kB / 0.9045 GB, free: 122.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-05/1.112, allocations: 178.7 kB / 0.9047 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.628e-05/1.112, allocations: 312.5 kB / 0.905 GB, free: 122.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.013e-05/1.112, allocations: 181.7 kB / 0.9052 GB, free: 122.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.811e-05/1.112, allocations: 185.1 kB / 0.9053 GB, free: 122 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.155e-05/1.112, allocations: 104.1 kB / 0.9054 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/1.112, allocations: 178 kB / 0.9056 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/1.112, allocations: 114.4 kB / 0.9057 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.081e-05/1.112, allocations: 97.17 kB / 0.9058 GB, free: 121.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.273e-06/1.112, allocations: 0.9688 kB / 0.9058 GB, free: 121.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001308/1.114, allocations: 329.8 kB / 0.9061 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.001414/1.115, allocations: 1.203 MB / 0.9073 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000108/1.115, allocations: 52.97 kB / 0.9074 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.115, allocations: 0 / 0.9074 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.334e-06/1.115, allocations: 4.641 kB / 0.9074 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/1.116, allocations: 0.5373 MB / 0.9079 GB, free: 120 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005764/1.116, allocations: 341.4 kB / 0.9082 GB, free: 119.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/1.116, allocations: 0.6853 MB / 0.9089 GB, free: 119 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.52e-05/1.116, allocations: 1.188 kB / 0.9089 GB, free: 119 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.71e-05/1.116, allocations: 17.39 kB / 0.9089 GB, free: 119 MB / 0.5573 GB Notification: Performance of SimCode: time 2.41e-07/1.116, allocations: 0 / 0.9089 GB, free: 119 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03497/1.151, allocations: 6.284 MB / 0.915 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002698/1.152, allocations: 279.9 kB / 0.9153 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_InternalResistancesTwoUTubeNegative -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_InternalResistancesTwoUTubeNegative_FMU.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_FMU.c In file included from BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_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_InternalResistancesTwoUTubeNegative_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_InternalResistancesTwoUTubeNegative -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_InternalResistancesTwoUTubeNegative.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.c In file included from BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.c:7: In file included from ./BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_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_InternalResistancesTwoUTubeNegative -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_InternalResistancesTwoUTubeNegative_functions.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.c In file included from BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.c:1: In file included from ./BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_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_InternalResistancesTwoUTubeNegative_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: *** [: BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.o] Error 1