Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|realExpression.y|Rb_ref.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|realExpression.y|Rb_ref.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.374/2.374, allocations: 387.4 MB / 394.9 MB, free: 13.43 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 180.6 kB / 487.4 MB, free: 5.07 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 221.5 MB / 0.7824 GB, free: 1 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009231/0.000923, allocations: 102 kB / 0.9219 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.846e-05/1.85e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3674, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.24/1.608, allocations: 441.2 MB / 1.637 GB, free: 12.71 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000325/1.608, allocations: 127.8 kB / 1.637 GB, free: 12.64 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.654/6.262, allocations: 1.059 GB / 2.696 GB, free: 179.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.303e-06/6.262, allocations: 1.219 kB / 2.696 GB, free: 179.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0008021/6.263, allocations: 84.45 kB / 2.696 GB, free: 179.7 MB / 1.167 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.01392/6.277, allocations: 3.056 MB / 2.699 GB, free: 178.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/6.277, allocations: 13.22 kB / 2.699 GB, free: 178.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003036/6.28, allocations: 372 kB / 2.699 GB, free: 178.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01059/6.29, allocations: 2.93 MB / 2.702 GB, free: 178.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002424/6.291, allocations: 67.03 kB / 2.702 GB, free: 178.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001093/6.292, allocations: 129.1 kB / 2.702 GB, free: 178.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005579/6.297, allocations: 1.449 MB / 2.704 GB, free: 178.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006663/6.304, allocations: 1.79 MB / 2.705 GB, free: 177.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001114/6.304, allocations: 7.531 kB / 2.705 GB, free: 177.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005042/6.305, allocations: 2.156 kB / 2.705 GB, free: 177.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.186e-05/6.305, allocations: 54.97 kB / 2.705 GB, free: 177.8 MB / 1.167 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.01891/6.324, allocations: 8.446 MB / 2.714 GB, free: 175.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002022/6.326, allocations: 1.273 MB / 2.715 GB, free: 175 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001194/6.327, allocations: 0.7663 MB / 2.716 GB, free: 174.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002409/6.329, allocations: 2.921 MB / 2.719 GB, free: 171.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.023e-05/6.329, allocations: 54.23 kB / 2.719 GB, free: 171.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=148): time 4.028e-06/6.329, allocations: 0 / 2.719 GB, free: 171.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=148): time 0.005161/6.335, allocations: 1.644 MB / 2.72 GB, free: 171.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/6.335, allocations: 94.08 kB / 2.72 GB, free: 171.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005116/6.34, allocations: 1.698 MB / 2.722 GB, free: 171.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002996/6.34, allocations: 25.7 kB / 2.722 GB, free: 171 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001342/6.341, allocations: 1.206 MB / 2.723 GB, free: 170.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007172/6.342, allocations: 0.4967 MB / 2.724 GB, free: 170.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/6.342, allocations: 0 / 2.724 GB, free: 170.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001736/6.343, allocations: 368.8 kB / 2.724 GB, free: 170 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/6.344, allocations: 0.491 MB / 2.725 GB, free: 170 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/6.345, allocations: 0.8375 MB / 2.725 GB, free: 169.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002485/6.347, allocations: 0.8104 MB / 2.726 GB, free: 169.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/6.347, allocations: 3.188 kB / 2.726 GB, free: 169.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.005627/6.353, allocations: 1.983 MB / 2.728 GB, free: 169.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009516/6.354, allocations: 2.698 MB / 2.731 GB, free: 166.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.547e-05/6.354, allocations: 11.62 kB / 2.731 GB, free: 166.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006006/6.355, allocations: 198.1 kB / 2.731 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/6.356, allocations: 352.4 kB / 2.731 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00487/6.361, allocations: 6.887 MB / 2.738 GB, free: 160.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003286/6.364, allocations: 217.1 kB / 2.738 GB, free: 160.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003496/6.364, allocations: 71.73 kB / 2.738 GB, free: 160.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/6.365, allocations: 2.094 kB / 2.738 GB, free: 160.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005212/6.37, allocations: 1.674 MB / 2.74 GB, free: 160.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.122e-05/6.37, allocations: 14.25 kB / 2.74 GB, free: 160.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005852/6.37, allocations: 201.5 kB / 2.74 GB, free: 160 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/6.372, allocations: 347 kB / 2.74 GB, free: 160 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007203/6.379, allocations: 8.652 MB / 2.749 GB, free: 152.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003623/6.383, allocations: 201 kB / 2.749 GB, free: 152.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004244/6.383, allocations: 73.17 kB / 2.749 GB, free: 152.3 MB / 1.167 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.0007764/6.384, allocations: 142.9 kB / 2.749 GB, free: 152.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001302/6.385, allocations: 246.1 kB / 2.749 GB, free: 152.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005695/6.391, allocations: 2.014 MB / 2.751 GB, free: 151.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.305e-05/6.391, allocations: 20.89 kB / 2.751 GB, free: 151.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.708e-05/6.391, allocations: 3.438 kB / 2.751 GB, free: 151.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003248/6.394, allocations: 1.68 MB / 2.753 GB, free: 151.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01168/6.406, allocations: 4.27 MB / 2.757 GB, free: 150.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/6.406, allocations: 2.906 kB / 2.757 GB, free: 150.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/6.407, allocations: 271.1 kB / 2.758 GB, free: 150.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004611/6.408, allocations: 183.2 kB / 2.758 GB, free: 150.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/6.408, allocations: 19.42 kB / 2.758 GB, free: 150.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004439/6.412, allocations: 6.862 MB / 2.764 GB, free: 144.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/6.412, allocations: 4.312 kB / 2.764 GB, free: 144.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005832/6.418, allocations: 2.717 MB / 2.767 GB, free: 144.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002323/6.42, allocations: 0.554 MB / 2.768 GB, free: 144 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001156/6.422, allocations: 3.5 kB / 2.768 GB, free: 144 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002518/6.424, allocations: 131.6 kB / 2.768 GB, free: 144 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002252/6.424, allocations: 110.6 kB / 2.768 GB, free: 144 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001776/6.425, allocations: 57.62 kB / 2.768 GB, free: 144 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003293/6.428, allocations: 1.272 MB / 2.769 GB, free: 143.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.91e-07/6.428, allocations: 0 / 2.769 GB, free: 143.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01058/6.438, allocations: 1.959 MB / 2.771 GB, free: 143.5 MB / 1.167 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.005787/6.444, allocations: 1.736 MB / 2.773 GB, free: 143.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006509/6.451, allocations: 3.426 MB / 2.776 GB, free: 141.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/6.451, allocations: 3.969 kB / 2.776 GB, free: 141.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001891/6.453, allocations: 1.166 MB / 2.777 GB, free: 141.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007818/6.461, allocations: 1.136 MB / 2.778 GB, free: 141.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/6.471, allocations: 3.991 MB / 2.782 GB, free: 140.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002452/6.474, allocations: 1.806 MB / 2.784 GB, free: 139.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.005015/6.479, allocations: 0.7355 MB / 2.785 GB, free: 139.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005991/6.48, allocations: 157.4 kB / 2.785 GB, free: 139.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.653e-06/6.48, allocations: 0 / 2.785 GB, free: 139.7 MB / 1.167 GB Notification: Performance of Templates: time 0.1081/6.588, allocations: 57.33 MB / 2.841 GB, free: 136.5 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile clang -Os -fPIC -falign-functions -mfpmath=sse "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_9_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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.o Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.c clang -Os -fPIC -falign-functions -mfpmath=sse "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_9_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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.o Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.c Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.c:1060: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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.o] Error 1