Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.214/2.214, allocations: 253.2 MB / 260.6 MB, free: 7.574 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001459/0.001459, allocations: 179.5 kB / 319.9 MB, free: 3.023 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.062/2.062, allocations: 205.5 MB / 0.5708 GB, free: 15.23 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001168/0.001167, allocations: 94.69 kB / 0.6751 GB, free: 4.582 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.89e-05/1.901e-05, allocations: 4 kB / 0.785 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1976, allocations: 106.2 MB / 0.8887 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.925/2.122, allocations: 406 MB / 1.285 GB, free: 259.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004258/2.123, allocations: 121 kB / 1.285 GB, free: 259.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.156/4.279, allocations: 472.1 MB / 1.746 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.054e-06/4.279, allocations: 0 / 1.746 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002076/4.279, allocations: 43.14 kB / 1.746 GB, free: 171.1 MB / 0.8698 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.005746/4.285, allocations: 1.938 MB / 1.748 GB, free: 169.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/4.285, allocations: 10 kB / 1.748 GB, free: 169.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/4.286, allocations: 204.2 kB / 1.749 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005359/4.291, allocations: 1.694 MB / 1.75 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.587e-05/4.292, allocations: 37.2 kB / 1.75 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000217/4.292, allocations: 70.59 kB / 1.75 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002062/4.294, allocations: 0.7128 MB / 1.751 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002234/4.296, allocations: 0.9021 MB / 1.752 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.088e-05/4.296, allocations: 11.09 kB / 1.752 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/4.296, allocations: 0 / 1.752 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.114e-05/4.296, allocations: 26.59 kB / 1.752 GB, free: 167.5 MB / 0.8698 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.01229/4.309, allocations: 6.242 MB / 1.758 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/4.31, allocations: 0.5136 MB / 1.758 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006994/4.311, allocations: 321.5 kB / 1.759 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001365/4.312, allocations: 1.266 MB / 1.76 GB, free: 160 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.892e-05/4.312, allocations: 45.38 kB / 1.76 GB, free: 160 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=68): time 4.268e-06/4.312, allocations: 0 / 1.76 GB, free: 160 MB / 0.8698 GB Notification: Performance of matching and sorting (n=68): time 0.003414/4.316, allocations: 0.7477 MB / 1.761 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/4.316, allocations: 85.58 kB / 1.761 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002549/4.319, allocations: 1.13 MB / 1.762 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002266/4.319, allocations: 25.7 kB / 1.762 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006715/4.32, allocations: 0.7159 MB / 1.763 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002988/4.32, allocations: 236.9 kB / 1.763 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.588e-05/4.32, allocations: 0 / 1.763 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.497e-05/4.32, allocations: 344.7 kB / 1.763 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006096/4.321, allocations: 250.1 kB / 1.763 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007658/4.321, allocations: 477.3 kB / 1.764 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001728/4.323, allocations: 419.4 kB / 1.764 GB, free: 157 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/4.323, allocations: 0 / 1.764 GB, free: 157 MB / 0.8698 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.003362/4.327, allocations: 0.9785 MB / 1.765 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003129/4.327, allocations: 1.335 MB / 1.767 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-05/4.327, allocations: 7.25 kB / 1.767 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004013/4.327, allocations: 72.25 kB / 1.767 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/4.329, allocations: 175.8 kB / 1.767 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002445/4.331, allocations: 2.881 MB / 1.77 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/4.333, allocations: 105.5 kB / 1.77 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/4.333, allocations: 38.98 kB / 1.77 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/4.333, allocations: 3.844 kB / 1.77 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002796/4.336, allocations: 0.7957 MB / 1.771 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.838e-05/4.336, allocations: 7.375 kB / 1.771 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002174/4.336, allocations: 68.88 kB / 1.771 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/4.338, allocations: 181.3 kB / 1.771 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/4.34, allocations: 2.875 MB / 1.774 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/4.342, allocations: 91.31 kB / 1.774 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/4.342, allocations: 47.28 kB / 1.774 GB, free: 148.8 MB / 0.8698 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.0002807/4.342, allocations: 123.5 kB / 1.774 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003196/4.343, allocations: 138.1 kB / 1.774 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003372/4.346, allocations: 0.9534 MB / 1.775 GB, free: 148 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/4.346, allocations: 7.75 kB / 1.775 GB, free: 148 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-06/4.346, allocations: 0 / 1.775 GB, free: 148 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002213/4.348, allocations: 0.7914 MB / 1.776 GB, free: 147.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007218/4.356, allocations: 2.481 MB / 1.778 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/4.356, allocations: 7.062 kB / 1.778 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/4.357, allocations: 132.2 kB / 1.778 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003233/4.357, allocations: 76.97 kB / 1.778 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.774e-05/4.357, allocations: 8 kB / 1.778 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002324/4.359, allocations: 2.867 MB / 1.781 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/4.359, allocations: 7.938 kB / 1.781 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003659/4.363, allocations: 1.524 MB / 1.783 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009818/4.364, allocations: 347 kB / 1.783 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002525/4.364, allocations: 15.92 kB / 1.783 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/4.366, allocations: 45.33 kB / 1.783 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/4.366, allocations: 52.44 kB / 1.783 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.734e-05/4.366, allocations: 35.98 kB / 1.783 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001677/4.368, allocations: 0.8504 MB / 1.784 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.81e-07/4.368, allocations: 0 / 1.784 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005168/4.373, allocations: 1.2 MB / 1.785 GB, free: 138.3 MB / 0.8698 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.003545/4.376, allocations: 1.289 MB / 1.786 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003252/4.38, allocations: 1.586 MB / 1.788 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/4.38, allocations: 0 / 1.788 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009399/4.381, allocations: 0.558 MB / 1.788 GB, free: 135 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005003/4.386, allocations: 0.61 MB / 1.789 GB, free: 134.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005294/4.391, allocations: 2.232 MB / 1.791 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009434/4.392, allocations: 1.307 MB / 1.793 GB, free: 131 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002859/4.395, allocations: 450.1 kB / 1.793 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002996/4.395, allocations: 87.42 kB / 1.793 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.352e-06/4.395, allocations: 0 / 1.793 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.08242/4.478, allocations: 34.12 MB / 1.826 GB, free: 97.26 MB / 0.8698 GB make -j1 -f Buildings_7.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_7_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_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.o Buildings_7.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_7_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_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.c\nBuildings_7.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_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o\' failed\nmake: *** [Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o] Error 1\n'