Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.745/0.745, allocations: 127.4 MB / 134.9 MB, free: 3.461 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 183.1 kB / 164.6 MB, free: 11.62 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205.2 MB / 399.5 MB, free: 13.53 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008462/0.0008461, allocations: 96.91 kB / 476.7 MB, free: 1.527 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.398e-05/2.402e-05, allocations: 5.156 kB / 0.5466 GB, free: 95.56 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.157, allocations: 76.76 MB / 0.6216 GB, free: 43.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.155/1.312, allocations: 381.8 MB / 0.9945 GB, free: 244.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/1.312, allocations: 128.5 kB / 0.9946 GB, free: 244.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.348/2.66, allocations: 484.6 MB / 1.468 GB, free: 38.04 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.393e-06/2.66, allocations: 0 / 1.468 GB, free: 38.04 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003048/2.66, allocations: 46.91 kB / 1.468 GB, free: 38 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.006204/2.667, allocations: 1.958 MB / 1.47 GB, free: 36 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001072/2.667, allocations: 12.03 kB / 1.47 GB, free: 35.99 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/2.668, allocations: 214.1 kB / 1.47 GB, free: 35.78 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005126/2.673, allocations: 1.909 MB / 1.472 GB, free: 33.85 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.986e-05/2.673, allocations: 39.19 kB / 1.472 GB, free: 33.81 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003514/2.674, allocations: 68 kB / 1.472 GB, free: 33.75 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001841/2.675, allocations: 0.7267 MB / 1.473 GB, free: 33.02 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/2.677, allocations: 0.9398 MB / 1.474 GB, free: 32.01 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.326e-05/2.678, allocations: 11.91 kB / 1.474 GB, free: 32 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/2.678, allocations: 3.984 kB / 1.474 GB, free: 32 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/2.678, allocations: 32 kB / 1.474 GB, free: 31.96 MB / 0.6511 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.00929/2.687, allocations: 6.948 MB / 1.48 GB, free: 24.36 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007411/2.688, allocations: 487.9 kB / 1.481 GB, free: 23.88 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003942/2.688, allocations: 270.5 kB / 1.481 GB, free: 23.61 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/2.689, allocations: 1.108 MB / 1.482 GB, free: 22.26 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/2.689, allocations: 39.12 kB / 1.482 GB, free: 22.21 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=59): time 2.726e-06/2.689, allocations: 0 / 1.482 GB, free: 22.21 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59): time 0.002707/2.692, allocations: 0.7176 MB / 1.483 GB, free: 21.48 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/2.692, allocations: 81.67 kB / 1.483 GB, free: 21.39 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002471/2.695, allocations: 1.162 MB / 1.484 GB, free: 20.22 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/2.695, allocations: 25.7 kB / 1.484 GB, free: 20.19 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005936/2.695, allocations: 0.7732 MB / 1.485 GB, free: 19.41 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002164/2.696, allocations: 205 kB / 1.485 GB, free: 19.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.547e-05/2.696, allocations: 0 / 1.485 GB, free: 19.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.647e-05/2.696, allocations: 349.9 kB / 1.485 GB, free: 18.86 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000388/2.696, allocations: 242.6 kB / 1.486 GB, free: 18.62 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004913/2.697, allocations: 0.5058 MB / 1.486 GB, free: 18 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/2.698, allocations: 434.6 kB / 1.487 GB, free: 17.57 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/2.698, allocations: 4 kB / 1.487 GB, free: 17.57 MB / 0.6511 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002244/2.7, allocations: 0.9922 MB / 1.488 GB, free: 16.57 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004195/2.7, allocations: 2.055 MB / 1.49 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/2.7, allocations: 12 kB / 1.49 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002718/2.701, allocations: 65.69 kB / 1.49 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007486/2.702, allocations: 199.7 kB / 1.49 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/2.704, allocations: 2.884 MB / 1.493 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/2.705, allocations: 131.1 kB / 1.493 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/2.705, allocations: 43.98 kB / 1.493 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/2.705, allocations: 4 kB / 1.493 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001975/2.707, allocations: 0.8008 MB / 1.494 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.718e-05/2.707, allocations: 8 kB / 1.494 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001615/2.708, allocations: 73.58 kB / 1.494 GB, free: 9.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006431/2.708, allocations: 188.1 kB / 1.494 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002347/2.711, allocations: 2.862 MB / 1.497 GB, free: 6.664 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/2.712, allocations: 111.2 kB / 1.497 GB, free: 6.555 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/2.712, allocations: 43.92 kB / 1.497 GB, free: 6.512 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 101 * 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.0003097/2.713, allocations: 128.5 kB / 1.497 GB, free: 6.379 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000518/2.713, allocations: 142.3 kB / 1.497 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002223/2.715, allocations: 0.8214 MB / 1.498 GB, free: 5.391 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/2.715, allocations: 7.984 kB / 1.498 GB, free: 5.383 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/2.715, allocations: 4 kB / 1.498 GB, free: 5.379 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001119/2.717, allocations: 0.6361 MB / 1.499 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00522/2.722, allocations: 2.185 MB / 1.501 GB, free: 2.406 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/2.722, allocations: 4 kB / 1.501 GB, free: 2.402 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004685/2.722, allocations: 111.9 kB / 1.501 GB, free: 2.293 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001996/2.723, allocations: 66 kB / 1.501 GB, free: 2.223 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.436e-05/2.723, allocations: 15.95 kB / 1.501 GB, free: 2.207 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.493/3.216, allocations: 2.852 MB / 1.504 GB, free: 87.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/3.216, allocations: 3.719 kB / 1.504 GB, free: 87.79 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002604/3.218, allocations: 1.239 MB / 1.505 GB, free: 87.36 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000816/3.219, allocations: 348.5 kB / 1.505 GB, free: 87.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/3.219, allocations: 5.016 kB / 1.505 GB, free: 87.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007683/3.22, allocations: 47.44 kB / 1.505 GB, free: 87.27 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/3.22, allocations: 42.48 kB / 1.505 GB, free: 87.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.605e-05/3.22, allocations: 31.52 kB / 1.505 GB, free: 87.27 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00169/3.222, allocations: 0.8975 MB / 1.506 GB, free: 87.16 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.262e-06/3.222, allocations: 3.75 kB / 1.506 GB, free: 87.16 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.005627/3.228, allocations: 1.21 MB / 1.507 GB, free: 87.12 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.003547/3.231, allocations: 1.282 MB / 1.509 GB, free: 86.98 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002671/3.234, allocations: 1.534 MB / 1.51 GB, free: 86.49 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/3.234, allocations: 5.875 kB / 1.51 GB, free: 86.49 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000567/3.234, allocations: 472.7 kB / 1.511 GB, free: 86.29 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003414/3.238, allocations: 0.5983 MB / 1.511 GB, free: 86.28 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004335/3.242, allocations: 2.141 MB / 1.513 GB, free: 85.63 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001142/3.243, allocations: 1.298 MB / 1.514 GB, free: 84.91 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002285/3.246, allocations: 459.4 kB / 1.515 GB, free: 84.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/3.246, allocations: 90.86 kB / 1.515 GB, free: 84.89 MB / 0.6511 GB Notification: Performance of SimCode: time 1.333e-06/3.246, allocations: 6.469 kB / 1.515 GB, free: 84.89 MB / 0.6511 GB Notification: Performance of Templates: time 0.05657/3.302, allocations: 34.13 MB / 1.548 GB, free: 83.24 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.o BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.c clang -Os -fPIC -falign-functions -mfpmath=sse -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.c BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.c:900: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: *** [: BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o] Error 1