Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8299/0.8299, allocations: 141.8 MB / 149.3 MB, free: 9.234 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.001067/0.001067, allocations: 183.7 kB / 182.2 MB, free: 9.461 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.598/1.598, allocations: 221.5 MB / 436.4 MB, free: 13.29 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.001085/0.001085, allocations: 92.11 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00209/0.00209, allocations: 283.8 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.751e-05/2.763e-05, allocations: 4 kB / 0.6766 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4707/0.4708, allocations: 82.77 MB / 0.7574 GB, free: 32.05 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9078/1.379, allocations: 383.5 MB / 1.132 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005429/1.379, allocations: 123.9 kB / 1.132 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.052/3.431, allocations: 481.7 MB / 1.602 GB, free: 112.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.375e-06/3.432, allocations: 0 / 1.602 GB, free: 112.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003286/3.432, allocations: 47.38 kB / 1.603 GB, free: 112.4 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.007168/3.439, allocations: 1.939 MB / 1.604 GB, free: 110.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/3.439, allocations: 8.031 kB / 1.604 GB, free: 110.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/3.44, allocations: 209.6 kB / 1.605 GB, free: 110.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005659/3.446, allocations: 1.699 MB / 1.606 GB, free: 108.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.889e-05/3.446, allocations: 36.22 kB / 1.606 GB, free: 108.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004595/3.447, allocations: 68 kB / 1.606 GB, free: 108.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002377/3.449, allocations: 0.7149 MB / 1.607 GB, free: 107.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002484/3.452, allocations: 0.9083 MB / 1.608 GB, free: 106.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.97e-05/3.452, allocations: 0 / 1.608 GB, free: 106.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001479/3.452, allocations: 0 / 1.608 GB, free: 106.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/3.452, allocations: 24 kB / 1.608 GB, free: 106.7 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009989/3.462, allocations: 6.24 MB / 1.614 GB, free: 99.94 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008673/3.463, allocations: 0.5152 MB / 1.615 GB, free: 99.42 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004609/3.463, allocations: 323.6 kB / 1.615 GB, free: 99.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001031/3.464, allocations: 1.264 MB / 1.616 GB, free: 97.56 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/3.464, allocations: 40.88 kB / 1.616 GB, free: 97.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=68): time 3.266e-06/3.464, allocations: 0 / 1.616 GB, free: 97.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=68): time 0.002206/3.467, allocations: 0.7468 MB / 1.617 GB, free: 96.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/3.467, allocations: 85.67 kB / 1.617 GB, free: 96.65 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002356/3.469, allocations: 1.121 MB / 1.618 GB, free: 95.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001211/3.469, allocations: 29.7 kB / 1.618 GB, free: 95.49 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005767/3.47, allocations: 0.718 MB / 1.619 GB, free: 94.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002322/3.47, allocations: 232.5 kB / 1.619 GB, free: 94.54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/3.47, allocations: 0 / 1.619 GB, free: 94.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.491e-05/3.47, allocations: 341.9 kB / 1.619 GB, free: 94.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003731/3.47, allocations: 242.6 kB / 1.62 GB, free: 93.96 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005266/3.471, allocations: 478.8 kB / 1.62 GB, free: 93.41 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/3.472, allocations: 426.6 kB / 1.62 GB, free: 93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/3.472, allocations: 0 / 1.62 GB, free: 93 MB / 0.698 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002356/3.475, allocations: 0.9727 MB / 1.621 GB, free: 92.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004576/3.475, allocations: 1.344 MB / 1.623 GB, free: 90.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.642e-05/3.475, allocations: 11.94 kB / 1.623 GB, free: 90.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003504/3.475, allocations: 65.69 kB / 1.623 GB, free: 90.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006386/3.476, allocations: 181.2 kB / 1.623 GB, free: 90.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002/3.478, allocations: 2.876 MB / 1.626 GB, free: 87.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/3.48, allocations: 104.5 kB / 1.626 GB, free: 87.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/3.48, allocations: 43.55 kB / 1.626 GB, free: 87.11 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/3.48, allocations: 5.094 kB / 1.626 GB, free: 87.11 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001908/3.482, allocations: 0.8023 MB / 1.627 GB, free: 86.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/3.482, allocations: 4 kB / 1.627 GB, free: 86.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001371/3.482, allocations: 65.62 kB / 1.627 GB, free: 86.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005733/3.482, allocations: 181.4 kB / 1.627 GB, free: 86.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001808/3.484, allocations: 2.873 MB / 1.63 GB, free: 82.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/3.486, allocations: 89.33 kB / 1.63 GB, free: 82.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/3.486, allocations: 39.3 kB / 1.63 GB, free: 82.84 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 96 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003245/3.486, allocations: 131.1 kB / 1.63 GB, free: 82.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007106/3.487, allocations: 134.3 kB / 1.63 GB, free: 82.58 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002476/3.489, allocations: 0.9517 MB / 1.631 GB, free: 81.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/3.489, allocations: 12 kB / 1.631 GB, free: 81.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/3.489, allocations: 0 / 1.631 GB, free: 81.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001397/3.491, allocations: 0.7961 MB / 1.632 GB, free: 80.78 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00568/3.497, allocations: 2.476 MB / 1.634 GB, free: 78.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/3.497, allocations: 4 kB / 1.634 GB, free: 78.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005538/3.497, allocations: 142.8 kB / 1.634 GB, free: 78.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002474/3.497, allocations: 61.69 kB / 1.634 GB, free: 78 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.873e-05/3.498, allocations: 12 kB / 1.634 GB, free: 77.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00197/3.5, allocations: 2.87 MB / 1.637 GB, free: 74.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/3.5, allocations: 4 kB / 1.637 GB, free: 74.89 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002634/3.502, allocations: 1.529 MB / 1.639 GB, free: 73.22 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/3.503, allocations: 347 kB / 1.639 GB, free: 72.86 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005154/3.504, allocations: 15.92 kB / 1.639 GB, free: 72.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/3.505, allocations: 40.41 kB / 1.639 GB, free: 72.81 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.667e-05/3.505, allocations: 60.39 kB / 1.639 GB, free: 72.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.872e-05/3.505, allocations: 34.16 kB / 1.639 GB, free: 72.72 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001923/3.507, allocations: 0.8516 MB / 1.64 GB, free: 71.87 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.1e-07/3.507, allocations: 0 / 1.64 GB, free: 71.87 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006308/3.513, allocations: 1.197 MB / 1.641 GB, free: 70.67 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.intResUTub.capFil1.T,intHex.intResUTub.capFil2.T,senTem.T,senTem1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004478/3.518, allocations: 1.296 MB / 1.642 GB, free: 69.56 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002728/3.521, allocations: 1.589 MB / 1.644 GB, free: 67.93 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/3.521, allocations: 4.375 kB / 1.644 GB, free: 67.92 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006931/3.521, allocations: 0.5484 MB / 1.645 GB, free: 67.35 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004089/3.525, allocations: 0.6159 MB / 1.645 GB, free: 66.76 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006101/3.532, allocations: 2.218 MB / 1.647 GB, free: 64.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001742/3.533, allocations: 1.31 MB / 1.649 GB, free: 63.17 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003194/3.537, allocations: 449 kB / 1.649 GB, free: 62.75 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003673/3.537, allocations: 87.42 kB / 1.649 GB, free: 62.66 MB / 0.698 GB Notification: Performance of SimCode: time 1.944e-06/3.537, allocations: 0 / 1.649 GB, free: 62.66 MB / 0.698 GB Notification: Performance of Templates: time 0.05965/3.597, allocations: 34.16 MB / 1.682 GB, free: 29.2 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile clang -Os -fPIC -falign-functions -mfpmath=sse "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.o BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.c clang -Os -fPIC -falign-functions -mfpmath=sse "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.c BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.c:953: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o] Error 1