Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.59/2.59, allocations: 285 MB / 292.5 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001437/0.001437, allocations: 176.9 kB / 360.7 MB, free: 7.234 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.905/1.905, allocations: 205.3 MB / 0.6192 GB, free: 12.14 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 92.94 kB / 0.7322 GB, free: 44.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.955e-05/2.966e-05, allocations: 8 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8084/0.8084, allocations: 115.2 MB / 0.9635 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.364/2.173, allocations: 411.4 MB / 1.365 GB, free: 156.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004273/2.173, allocations: 125.6 kB / 1.365 GB, free: 156.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.261/4.435, allocations: 472.1 MB / 1.826 GB, free: 141.8 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.054e-06/4.435, allocations: 0 / 1.826 GB, free: 141.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002097/4.435, allocations: 47.53 kB / 1.826 GB, free: 141.8 MB / 0.9323 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.005605/4.44, allocations: 1.93 MB / 1.828 GB, free: 139.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/4.44, allocations: 8.031 kB / 1.828 GB, free: 139.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000997/4.441, allocations: 213.5 kB / 1.829 GB, free: 139.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005314/4.447, allocations: 1.69 MB / 1.83 GB, free: 137.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.017e-05/4.447, allocations: 39.95 kB / 1.83 GB, free: 137.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002297/4.447, allocations: 68 kB / 1.83 GB, free: 137.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002025/4.449, allocations: 0.7188 MB / 1.831 GB, free: 137.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/4.451, allocations: 0.9014 MB / 1.832 GB, free: 136.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.469e-05/4.451, allocations: 4 kB / 1.832 GB, free: 136.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/4.452, allocations: 0 / 1.832 GB, free: 136.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.583e-05/4.452, allocations: 31.98 kB / 1.832 GB, free: 136.1 MB / 0.9323 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.0111/4.463, allocations: 6.239 MB / 1.838 GB, free: 129.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/4.464, allocations: 0.52 MB / 1.839 GB, free: 128.8 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006061/4.465, allocations: 319.7 kB / 1.839 GB, free: 128.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001214/4.466, allocations: 1.259 MB / 1.84 GB, free: 126.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/4.466, allocations: 47.12 kB / 1.84 GB, free: 126.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=68): time 3.277e-06/4.466, allocations: 0 / 1.84 GB, free: 126.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=68): time 0.002744/4.469, allocations: 0.7449 MB / 1.841 GB, free: 126.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/4.469, allocations: 85.67 kB / 1.841 GB, free: 126 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002261/4.471, allocations: 1.121 MB / 1.842 GB, free: 124.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001748/4.471, allocations: 25.7 kB / 1.842 GB, free: 124.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000634/4.472, allocations: 0.7231 MB / 1.843 GB, free: 124.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002619/4.472, allocations: 240.4 kB / 1.843 GB, free: 123.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.456e-05/4.472, allocations: 0 / 1.843 GB, free: 123.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.062e-05/4.472, allocations: 341.9 kB / 1.843 GB, free: 123.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005868/4.473, allocations: 250.6 kB / 1.844 GB, free: 123.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007213/4.474, allocations: 467.9 kB / 1.844 GB, free: 122.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/4.475, allocations: 424.2 kB / 1.844 GB, free: 122.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/4.475, allocations: 3.938 kB / 1.844 GB, free: 122.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.003147/4.479, allocations: 0.9764 MB / 1.845 GB, free: 121.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.00028/4.479, allocations: 1.345 MB / 1.847 GB, free: 119.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.979e-05/4.479, allocations: 8 kB / 1.847 GB, free: 119.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003733/4.479, allocations: 65.69 kB / 1.847 GB, free: 119.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/4.481, allocations: 183.7 kB / 1.847 GB, free: 119.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002385/4.483, allocations: 2.867 MB / 1.85 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001985/4.485, allocations: 107.3 kB / 1.85 GB, free: 116.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/4.485, allocations: 36 kB / 1.85 GB, free: 116.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/4.485, allocations: 7.984 kB / 1.85 GB, free: 116.4 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002706/4.488, allocations: 0.8007 MB / 1.851 GB, free: 115.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.331e-05/4.488, allocations: 8 kB / 1.851 GB, free: 115.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002152/4.488, allocations: 65.62 kB / 1.851 GB, free: 115.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/4.489, allocations: 171.8 kB / 1.851 GB, free: 115.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/4.492, allocations: 2.887 MB / 1.854 GB, free: 112.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001847/4.493, allocations: 87.38 kB / 1.854 GB, free: 112.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/4.494, allocations: 40 kB / 1.854 GB, free: 112.1 MB / 0.9323 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.0002731/4.494, allocations: 128.7 kB / 1.854 GB, free: 112 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003144/4.494, allocations: 146.2 kB / 1.854 GB, free: 111.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003071/4.497, allocations: 0.9451 MB / 1.855 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/4.497, allocations: 8 kB / 1.855 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/4.497, allocations: 4.188 kB / 1.855 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002036/4.499, allocations: 0.7856 MB / 1.856 GB, free: 110 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006703/4.506, allocations: 2.48 MB / 1.858 GB, free: 107.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/4.506, allocations: 4 kB / 1.858 GB, free: 107.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/4.507, allocations: 140.2 kB / 1.858 GB, free: 107.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003049/4.508, allocations: 61.69 kB / 1.858 GB, free: 107.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-05/4.508, allocations: 19.98 kB / 1.858 GB, free: 107.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002219/4.51, allocations: 2.878 MB / 1.861 GB, free: 104.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/4.51, allocations: 0 / 1.861 GB, free: 104.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003555/4.514, allocations: 1.533 MB / 1.863 GB, free: 102.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009998/4.515, allocations: 351 kB / 1.863 GB, free: 102.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002526/4.515, allocations: 4 kB / 1.863 GB, free: 102.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/4.516, allocations: 39.86 kB / 1.863 GB, free: 102 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/4.516, allocations: 60.42 kB / 1.863 GB, free: 102 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.368e-05/4.516, allocations: 35.92 kB / 1.863 GB, free: 101.9 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001619/4.518, allocations: 0.8517 MB / 1.864 GB, free: 101.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.21e-07/4.518, allocations: 0 / 1.864 GB, free: 101.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005114/4.523, allocations: 1.197 MB / 1.865 GB, free: 99.87 MB / 0.9323 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.003524/4.527, allocations: 1.286 MB / 1.866 GB, free: 98.67 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003158/4.53, allocations: 1.595 MB / 1.868 GB, free: 97.02 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/4.53, allocations: 8.375 kB / 1.868 GB, free: 97.01 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009447/4.531, allocations: 0.5406 MB / 1.869 GB, free: 96.45 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004939/4.536, allocations: 0.6051 MB / 1.869 GB, free: 95.85 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005428/4.541, allocations: 2.227 MB / 1.871 GB, free: 93.55 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/4.542, allocations: 1.311 MB / 1.873 GB, free: 92.21 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002921/4.545, allocations: 460.3 kB / 1.873 GB, free: 91.77 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002914/4.546, allocations: 87.41 kB / 1.873 GB, free: 91.68 MB / 0.9323 GB Notification: Performance of SimCode: time 1.252e-06/4.546, allocations: 3.938 kB / 1.873 GB, free: 91.68 MB / 0.9323 GB Notification: Performance of Templates: time 0.08195/4.627, allocations: 34.1 MB / 1.906 GB, free: 57.8 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile b'clang -Os -fPIC -mfpmath=sse -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_8_0_0_Buildings_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 Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.o Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.c\nclang -Os -fPIC -mfpmath=sse -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_8_0_0_Buildings_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 Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.c\nBuildings_8.0.0_Buildings.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\')\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.\n: recipe for target \'Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o\' failed\nmake: *** [Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o] Error 1\n'