Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.585/1.585, allocations: 285.6 MB / 293.1 MB, free: 10.22 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 172.9 kB / 361.4 MB, free: 6.844 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008477/0.0008478, allocations: 102.7 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.155e-05/3.155e-05, allocations: 8 kB / 0.8518 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6618/0.6618, allocations: 115.3 MB / 0.9644 GB, free: 78.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.08/1.742, allocations: 428.4 MB / 1.383 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003523/1.743, allocations: 121.1 kB / 1.383 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.406/6.149, allocations: 1.015 GB / 2.398 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.883e-06/6.149, allocations: 2.344 kB / 2.398 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0007054/6.149, allocations: 77.31 kB / 2.398 GB, free: 125.1 MB / 0.9636 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.01375/6.163, allocations: 3.057 MB / 2.401 GB, free: 124 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.209e-05/6.163, allocations: 9.438 kB / 2.401 GB, free: 124 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002891/6.166, allocations: 373.3 kB / 2.401 GB, free: 123.8 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01045/6.177, allocations: 2.904 MB / 2.404 GB, free: 123.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002169/6.177, allocations: 66.44 kB / 2.404 GB, free: 123.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001063/6.178, allocations: 134 kB / 2.404 GB, free: 123.3 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005474/6.184, allocations: 1.454 MB / 2.406 GB, free: 123.3 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007112/6.191, allocations: 1.787 MB / 2.407 GB, free: 123 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001427/6.191, allocations: 2.406 kB / 2.407 GB, free: 123 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005071/6.191, allocations: 4.562 kB / 2.407 GB, free: 123 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.453e-05/6.191, allocations: 49.5 kB / 2.407 GB, free: 123 MB / 0.9636 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.0205/6.212, allocations: 8.449 MB / 2.416 GB, free: 120.4 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002011/6.214, allocations: 1.276 MB / 2.417 GB, free: 120.1 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0012/6.215, allocations: 0.7682 MB / 2.418 GB, free: 120.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00239/6.218, allocations: 2.92 MB / 2.42 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.299e-05/6.218, allocations: 49.66 kB / 2.42 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=148): time 5.2e-06/6.218, allocations: 0 / 2.42 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=148): time 0.005133/6.223, allocations: 1.64 MB / 2.422 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/6.223, allocations: 93.33 kB / 2.422 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004713/6.228, allocations: 1.685 MB / 2.424 GB, free: 116.2 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002577/6.228, allocations: 29.64 kB / 2.424 GB, free: 116.2 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001329/6.229, allocations: 1.21 MB / 2.425 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006743/6.23, allocations: 0.4997 MB / 2.425 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/6.23, allocations: 1.656 kB / 2.425 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001585/6.23, allocations: 370 kB / 2.426 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009501/6.231, allocations: 0.4896 MB / 2.426 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/6.233, allocations: 0.8356 MB / 2.427 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002418/6.235, allocations: 0.8184 MB / 2.428 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-05/6.235, allocations: 3.156 kB / 2.428 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.005141/6.24, allocations: 1.97 MB / 2.43 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008233/6.241, allocations: 2.692 MB / 2.432 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.965e-05/6.241, allocations: 10.97 kB / 2.432 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000562/6.242, allocations: 200.5 kB / 2.433 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/6.243, allocations: 354.4 kB / 2.433 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004951/6.248, allocations: 6.887 MB / 2.44 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003266/6.251, allocations: 220 kB / 2.44 GB, free: 105.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003265/6.252, allocations: 67.31 kB / 2.44 GB, free: 105.4 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/6.252, allocations: 5.094 kB / 2.44 GB, free: 105.4 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004603/6.256, allocations: 1.672 MB / 2.442 GB, free: 105.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.605e-05/6.256, allocations: 14.61 kB / 2.442 GB, free: 105.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004931/6.257, allocations: 209.5 kB / 2.442 GB, free: 105.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/6.258, allocations: 351.6 kB / 2.442 GB, free: 105.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006942/6.265, allocations: 8.643 MB / 2.451 GB, free: 97.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003511/6.269, allocations: 205.8 kB / 2.451 GB, free: 97.52 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003929/6.269, allocations: 75.45 kB / 2.451 GB, free: 97.52 MB / 0.9636 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.0007299/6.27, allocations: 143.7 kB / 2.451 GB, free: 97.4 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001348/6.271, allocations: 231.6 kB / 2.451 GB, free: 97.29 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006073/6.277, allocations: 2.009 MB / 2.453 GB, free: 97.09 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.925e-05/6.277, allocations: 23.86 kB / 2.453 GB, free: 97.09 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.318e-05/6.277, allocations: 4.344 kB / 2.453 GB, free: 97.09 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003566/6.281, allocations: 1.684 MB / 2.455 GB, free: 96.75 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01329/6.294, allocations: 4.259 MB / 2.459 GB, free: 96.13 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/6.294, allocations: 0 / 2.459 GB, free: 96.13 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/6.295, allocations: 274.7 kB / 2.459 GB, free: 96.13 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004991/6.296, allocations: 196.7 kB / 2.46 GB, free: 96.08 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001434/6.296, allocations: 23.08 kB / 2.46 GB, free: 96.08 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004839/6.301, allocations: 6.854 MB / 2.466 GB, free: 89.93 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.136e-06/6.301, allocations: 1.906 kB / 2.466 GB, free: 89.93 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006287/6.307, allocations: 2.721 MB / 2.469 GB, free: 89.42 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002582/6.31, allocations: 0.5564 MB / 2.469 GB, free: 89.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001238/6.311, allocations: 3.938 kB / 2.469 GB, free: 89.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00277/6.314, allocations: 127.6 kB / 2.47 GB, free: 89.17 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002279/6.314, allocations: 107.1 kB / 2.47 GB, free: 89.16 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001849/6.314, allocations: 54.31 kB / 2.47 GB, free: 89.16 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.003532/6.318, allocations: 1.265 MB / 2.471 GB, free: 89.02 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.61e-07/6.318, allocations: 0 / 2.471 GB, free: 89.02 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01328/6.331, allocations: 1.958 MB / 2.473 GB, free: 88.67 MB / 0.9636 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.008501/6.34, allocations: 1.746 MB / 2.475 GB, free: 88.25 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.007391/6.347, allocations: 3.443 MB / 2.478 GB, free: 87.09 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/6.347, allocations: 0 / 2.478 GB, free: 87.09 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001828/6.349, allocations: 1.161 MB / 2.479 GB, free: 86.67 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007823/6.357, allocations: 1.145 MB / 2.48 GB, free: 86.66 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/6.368, allocations: 3.97 MB / 2.484 GB, free: 85.61 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002403/6.37, allocations: 1.798 MB / 2.486 GB, free: 84.86 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004831/6.375, allocations: 0.73 MB / 2.487 GB, free: 84.84 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005458/6.376, allocations: 161.6 kB / 2.487 GB, free: 84.84 MB / 0.9636 GB Notification: Performance of SimCode: time 1.433e-06/6.376, allocations: 0 / 2.487 GB, free: 84.84 MB / 0.9636 GB Notification: Performance of Templates: time 0.1075/6.483, allocations: 57.62 MB / 2.543 GB, free: 81.09 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile b'clang -Os -fPIC -falign-functions -mfpmath=sse -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_maint_8_0_x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.o Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.c\nclang -Os -fPIC -falign-functions -mfpmath=sse -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_maint_8_0_x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.o Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.c\nBuildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.c:1098:59: error: cannot take the address of an rvalue of type \'real_array_t\' (aka \'struct base_array_s\')\n copy_real_array_data(add_alloc_scalar_real_array(_TBor, &mul_alloc_real_matrix_product_smart(_R0, _QPip_flow)), &_TFlu);\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n1 error generated.\nmake: *** [: Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.o] Error 1\n'