Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|realExpression.y|Rb_ref.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|realExpression.y|Rb_ref.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.32/2.32, allocations: 390.5 MB / 398 MB, free: 10.93 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 180.7 kB / 491.2 MB, free: 1.555 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.61/1.61, allocations: 221.5 MB / 0.7868 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001033, allocations: 103.4 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.817e-05/2.832e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3277, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.277/1.605, allocations: 442 MB / 1.644 GB, free: 4.258 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004529/1.606, allocations: 122 kB / 1.644 GB, free: 4.188 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.798/6.403, allocations: 1.059 GB / 2.703 GB, free: 183.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.174e-06/6.403, allocations: 0 / 2.703 GB, free: 183.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003545/6.404, allocations: 80.36 kB / 2.703 GB, free: 183.4 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.01012/6.414, allocations: 3.056 MB / 2.706 GB, free: 182.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/6.414, allocations: 7.188 kB / 2.706 GB, free: 182.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002146/6.416, allocations: 377.3 kB / 2.706 GB, free: 182.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007408/6.423, allocations: 2.921 MB / 2.709 GB, free: 181.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.721e-05/6.424, allocations: 67.5 kB / 2.709 GB, free: 181.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000384/6.424, allocations: 137.4 kB / 2.709 GB, free: 181.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003091/6.427, allocations: 1.457 MB / 2.711 GB, free: 181.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003284/6.43, allocations: 1.783 MB / 2.713 GB, free: 181.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.578e-05/6.43, allocations: 6.75 kB / 2.713 GB, free: 181.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001636/6.431, allocations: 3.5 kB / 2.713 GB, free: 181.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.026e-05/6.431, allocations: 47.72 kB / 2.713 GB, free: 181.5 MB / 1.167 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.01389/6.445, allocations: 8.444 MB / 2.721 GB, free: 178.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/6.446, allocations: 1.273 MB / 2.722 GB, free: 178.6 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000902/6.447, allocations: 0.7669 MB / 2.723 GB, free: 178.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002018/6.449, allocations: 2.922 MB / 2.726 GB, free: 175.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.971e-05/6.449, allocations: 45.91 kB / 2.726 GB, free: 175.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=148): time 4.488e-06/6.449, allocations: 0 / 2.726 GB, free: 175.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=148): time 0.004306/6.453, allocations: 1.643 MB / 2.727 GB, free: 175 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/6.454, allocations: 95.2 kB / 2.727 GB, free: 174.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003133/6.457, allocations: 1.697 MB / 2.729 GB, free: 174.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002365/6.457, allocations: 29.2 kB / 2.729 GB, free: 174.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009258/6.458, allocations: 1.214 MB / 2.73 GB, free: 174.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005291/6.458, allocations: 0.4963 MB / 2.731 GB, free: 173.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-05/6.458, allocations: 1.844 kB / 2.731 GB, free: 173.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001308/6.459, allocations: 369 kB / 2.731 GB, free: 173.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000786/6.459, allocations: 499.8 kB / 2.732 GB, free: 173.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000935/6.46, allocations: 0.8331 MB / 2.732 GB, free: 173.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002131/6.463, allocations: 0.821 MB / 2.733 GB, free: 173.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/6.463, allocations: 0 / 2.733 GB, free: 173.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.004652/6.467, allocations: 1.978 MB / 2.735 GB, free: 173 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006629/6.468, allocations: 2.692 MB / 2.738 GB, free: 170.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.118e-05/6.468, allocations: 14.28 kB / 2.738 GB, free: 170.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005119/6.468, allocations: 205 kB / 2.738 GB, free: 170.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/6.47, allocations: 351.7 kB / 2.738 GB, free: 170.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004089/6.474, allocations: 6.886 MB / 2.745 GB, free: 163.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003092/6.477, allocations: 216.4 kB / 2.745 GB, free: 163.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003425/6.477, allocations: 70.2 kB / 2.745 GB, free: 163.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/6.477, allocations: 3.875 kB / 2.745 GB, free: 163.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003901/6.481, allocations: 1.671 MB / 2.747 GB, free: 163.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.328e-05/6.481, allocations: 14.94 kB / 2.747 GB, free: 163.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004783/6.482, allocations: 204.7 kB / 2.747 GB, free: 163.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/6.483, allocations: 349.6 kB / 2.748 GB, free: 163.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005732/6.489, allocations: 8.655 MB / 2.756 GB, free: 156.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003187/6.492, allocations: 194.4 kB / 2.756 GB, free: 156 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003063/6.492, allocations: 68.39 kB / 2.756 GB, free: 156 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 184 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005874/6.493, allocations: 145.8 kB / 2.756 GB, free: 155.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008083/6.494, allocations: 240.2 kB / 2.757 GB, free: 155.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00455/6.498, allocations: 2.013 MB / 2.759 GB, free: 155.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/6.498, allocations: 15.69 kB / 2.759 GB, free: 155.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/6.498, allocations: 7.406 kB / 2.759 GB, free: 155.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002836/6.501, allocations: 1.68 MB / 2.76 GB, free: 155.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009338/6.51, allocations: 4.28 MB / 2.764 GB, free: 154.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-06/6.51, allocations: 3.625 kB / 2.764 GB, free: 154.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/6.511, allocations: 272.2 kB / 2.765 GB, free: 154.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004178/6.512, allocations: 186.9 kB / 2.765 GB, free: 154.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.943e-05/6.512, allocations: 21.83 kB / 2.765 GB, free: 154.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004063/6.516, allocations: 6.848 MB / 2.772 GB, free: 148.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/6.516, allocations: 7.844 kB / 2.772 GB, free: 148.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005564/6.522, allocations: 2.72 MB / 2.774 GB, free: 147.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001956/6.524, allocations: 0.5483 MB / 2.775 GB, free: 147.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006419/6.524, allocations: 7.859 kB / 2.775 GB, free: 147.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001679/6.526, allocations: 130.8 kB / 2.775 GB, free: 147.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002562/6.526, allocations: 113.3 kB / 2.775 GB, free: 147.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/6.526, allocations: 54.78 kB / 2.775 GB, free: 147.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002592/6.529, allocations: 1.272 MB / 2.776 GB, free: 147.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.71e-07/6.529, allocations: 0 / 2.776 GB, free: 147.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.009661/6.539, allocations: 1.956 MB / 2.778 GB, free: 147.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.vol3.dynBal.U,intHex.vol4.dynBal.U,intHex.intRes2UTub.capFil1.T,intHex.intRes2UTub.capFil2.T,intHex.intRes2UTub.capFil3.T,intHex.intRes2UTub.capFil4.T,senTem.T,senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004623/6.543, allocations: 1.74 MB / 2.78 GB, free: 146.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005866/6.549, allocations: 3.426 MB / 2.783 GB, free: 145.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/6.549, allocations: 0 / 2.783 GB, free: 145.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001588/6.551, allocations: 1.169 MB / 2.784 GB, free: 145.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007637/6.559, allocations: 1.132 MB / 2.786 GB, free: 145.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/6.569, allocations: 3.998 MB / 2.789 GB, free: 144.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002676/6.572, allocations: 1.811 MB / 2.791 GB, free: 143.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.006198/6.578, allocations: 0.7254 MB / 2.792 GB, free: 143.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000744/6.579, allocations: 159 kB / 2.792 GB, free: 143.3 MB / 1.167 GB Notification: Performance of SimCode: time 2.474e-06/6.579, allocations: 0 / 2.792 GB, free: 143.3 MB / 1.167 GB Notification: Performance of Templates: time 0.1079/6.687, allocations: 57.33 MB / 2.848 GB, free: 140 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.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/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=14 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.o Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.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/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=14 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.o Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.c Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.c:1060: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: *** [: Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.o] Error 1