Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|realExpression.y|Rb_ref.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|realExpression.y|Rb_ref.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.507/1.507, allocations: 249.5 MB / 257 MB, free: 6.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001142/0.001141, allocations: 179.5 kB / 316.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000877/0.0008771, allocations: 100.6 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.059e-05/2.061e-05, allocations: 7.984 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2289, allocations: 106.3 MB / 0.8853 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.711/1.94, allocations: 406.1 MB / 1.282 GB, free: 258.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005513/1.941, allocations: 121.5 kB / 1.282 GB, free: 258.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.573/3.514, allocations: 472.4 MB / 1.743 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.413e-06/3.514, allocations: 0 / 1.743 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001661/3.514, allocations: 48.38 kB / 1.743 GB, free: 170.5 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.004557/3.518, allocations: 1.934 MB / 1.745 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/3.518, allocations: 13.86 kB / 1.745 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005795/3.519, allocations: 204.6 kB / 1.745 GB, free: 169 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003112/3.522, allocations: 1.692 MB / 1.747 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.786e-05/3.522, allocations: 34.91 kB / 1.747 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/3.522, allocations: 84.31 kB / 1.747 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001291/3.524, allocations: 0.7128 MB / 1.748 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/3.525, allocations: 0.9024 MB / 1.749 GB, free: 167 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.237e-05/3.525, allocations: 7.438 kB / 1.749 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.423e-05/3.525, allocations: 0 / 1.749 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/3.525, allocations: 24.12 kB / 1.749 GB, free: 166.9 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.007128/3.532, allocations: 6.244 MB / 1.755 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007584/3.533, allocations: 0.5111 MB / 1.755 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000404/3.534, allocations: 320.9 kB / 1.756 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009793/3.535, allocations: 1.265 MB / 1.757 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/3.535, allocations: 47.05 kB / 1.757 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=68): time 3.667e-06/3.535, allocations: 0 / 1.757 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=68): time 0.001798/3.537, allocations: 0.7439 MB / 1.758 GB, free: 159 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/3.537, allocations: 89.48 kB / 1.758 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/3.538, allocations: 1.12 MB / 1.759 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.862e-05/3.538, allocations: 29.67 kB / 1.759 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004987/3.539, allocations: 0.7187 MB / 1.76 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/3.539, allocations: 238.9 kB / 1.76 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/3.539, allocations: 0 / 1.76 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001175/3.539, allocations: 341.5 kB / 1.76 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/3.539, allocations: 248.7 kB / 1.76 GB, free: 157 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004639/3.54, allocations: 473.4 kB / 1.761 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/3.541, allocations: 426.3 kB / 1.761 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/3.541, allocations: 0 / 1.761 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001804/3.543, allocations: 0.9667 MB / 1.762 GB, free: 156 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003383/3.543, allocations: 1.343 MB / 1.764 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/3.543, allocations: 9.906 kB / 1.764 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002595/3.543, allocations: 68.78 kB / 1.764 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006126/3.544, allocations: 180.8 kB / 1.764 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001885/3.546, allocations: 2.885 MB / 1.767 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/3.547, allocations: 100.7 kB / 1.767 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/3.547, allocations: 41.05 kB / 1.767 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/3.547, allocations: 3.875 kB / 1.767 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001747/3.549, allocations: 0.8003 MB / 1.768 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/3.549, allocations: 2.531 kB / 1.768 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001364/3.549, allocations: 68.16 kB / 1.768 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005656/3.55, allocations: 174.8 kB / 1.768 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001709/3.551, allocations: 2.879 MB / 1.771 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/3.553, allocations: 97.62 kB / 1.771 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.52e-05/3.553, allocations: 42.11 kB / 1.771 GB, free: 148.2 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.0002656/3.553, allocations: 120.2 kB / 1.771 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002518/3.553, allocations: 137.9 kB / 1.771 GB, free: 148 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002391/3.556, allocations: 0.9535 MB / 1.772 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/3.556, allocations: 11.58 kB / 1.772 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/3.556, allocations: 0 / 1.772 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001338/3.557, allocations: 0.7951 MB / 1.773 GB, free: 147 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005107/3.562, allocations: 2.473 MB / 1.775 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/3.562, allocations: 3.938 kB / 1.775 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005644/3.563, allocations: 126.1 kB / 1.775 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002045/3.563, allocations: 71.56 kB / 1.775 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.362e-05/3.563, allocations: 19.36 kB / 1.775 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001678/3.565, allocations: 2.878 MB / 1.778 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/3.565, allocations: 7.562 kB / 1.778 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/3.567, allocations: 1.516 MB / 1.78 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006273/3.568, allocations: 359 kB / 1.78 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/3.568, allocations: 4 kB / 1.78 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006218/3.569, allocations: 38.78 kB / 1.78 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.152e-05/3.569, allocations: 63.75 kB / 1.78 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.576e-05/3.569, allocations: 27.98 kB / 1.78 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001159/3.57, allocations: 0.8556 MB / 1.781 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/3.57, allocations: 0 / 1.781 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003938/3.574, allocations: 1.2 MB / 1.782 GB, free: 138.4 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.002897/3.577, allocations: 1.282 MB / 1.783 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002328/3.579, allocations: 1.598 MB / 1.785 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/3.579, allocations: 0 / 1.785 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005735/3.58, allocations: 0.5546 MB / 1.785 GB, free: 135 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003021/3.583, allocations: 0.607 MB / 1.786 GB, free: 134.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004018/3.587, allocations: 2.218 MB / 1.788 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007489/3.588, allocations: 1.31 MB / 1.789 GB, free: 131 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001621/3.589, allocations: 450.7 kB / 1.79 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/3.589, allocations: 91.41 kB / 1.79 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of SimCode: time 8.21e-07/3.589, allocations: 4 kB / 1.79 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.05448/3.644, allocations: 34.12 MB / 1.823 GB, free: 97.21 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile 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_7_0_x_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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.o Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.c 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_7_0_x_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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.c Buildings_maint.7.0.x_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') 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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o] Error 1