Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.228/2.228, allocations: 390.5 MB / 398 MB, free: 10.9 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.00113/0.00113, allocations: 180.8 kB / 491.2 MB, free: 1.543 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.62/1.62, allocations: 221.5 MB / 0.7868 GB, free: 13.26 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009271/0.0009275, allocations: 103.5 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.585e-05/2.606e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3214, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.285/1.606, allocations: 424.5 MB / 1.627 GB, free: 5.391 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003595/1.607, allocations: 121.8 kB / 1.627 GB, free: 5.32 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 1.813/3.42, allocations: 487.9 MB / 2.103 GB, free: 95 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.984e-06/3.42, allocations: 0 / 2.103 GB, free: 95 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002849/3.42, allocations: 47.98 kB / 2.103 GB, free: 94.96 MB / 1.151 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.005934/3.426, allocations: 1.927 MB / 2.105 GB, free: 92.98 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/3.426, allocations: 8.031 kB / 2.105 GB, free: 92.97 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/3.427, allocations: 221.5 kB / 2.106 GB, free: 92.75 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004452/3.432, allocations: 1.704 MB / 2.107 GB, free: 90.99 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.154e-05/3.432, allocations: 32 kB / 2.107 GB, free: 90.96 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000318/3.432, allocations: 64 kB / 2.107 GB, free: 90.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001697/3.434, allocations: 0.7187 MB / 2.108 GB, free: 90.18 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/3.435, allocations: 0.9017 MB / 2.109 GB, free: 89.22 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.366e-05/3.436, allocations: 11.94 kB / 2.109 GB, free: 89.21 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.508e-05/3.436, allocations: 7.891 kB / 2.109 GB, free: 89.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/3.436, allocations: 24 kB / 2.109 GB, free: 89.18 MB / 1.151 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.006974/3.443, allocations: 6.236 MB / 2.115 GB, free: 82.34 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000694/3.443, allocations: 0.5129 MB / 2.116 GB, free: 81.82 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003565/3.444, allocations: 315.8 kB / 2.116 GB, free: 81.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008224/3.445, allocations: 1.267 MB / 2.117 GB, free: 79.96 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/3.445, allocations: 43.12 kB / 2.117 GB, free: 79.91 MB / 1.151 GB Notification: Performance of pre-optimization done (n=68): time 3.126e-06/3.445, allocations: 3.984 kB / 2.117 GB, free: 79.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=68): time 0.001678/3.446, allocations: 0.7487 MB / 2.118 GB, free: 79.14 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/3.446, allocations: 85.61 kB / 2.118 GB, free: 79.04 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/3.448, allocations: 1.129 MB / 2.119 GB, free: 77.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.359e-05/3.448, allocations: 29.7 kB / 2.119 GB, free: 77.87 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004509/3.448, allocations: 0.7194 MB / 2.12 GB, free: 77.14 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/3.448, allocations: 236.5 kB / 2.12 GB, free: 76.91 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/3.448, allocations: 0 / 2.12 GB, free: 76.91 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.483e-05/3.448, allocations: 334 kB / 2.12 GB, free: 76.57 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003179/3.449, allocations: 250.6 kB / 2.121 GB, free: 76.33 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004427/3.449, allocations: 457.5 kB / 2.121 GB, free: 75.81 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/3.45, allocations: 420.3 kB / 2.121 GB, free: 75.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/3.45, allocations: 0 / 2.121 GB, free: 75.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001746/3.452, allocations: 0.9803 MB / 2.122 GB, free: 74.41 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003016/3.452, allocations: 1.343 MB / 2.124 GB, free: 72.99 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/3.452, allocations: 4 kB / 2.124 GB, free: 72.98 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002696/3.453, allocations: 65.69 kB / 2.124 GB, free: 72.91 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005877/3.453, allocations: 187.7 kB / 2.124 GB, free: 72.73 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00174/3.455, allocations: 2.882 MB / 2.127 GB, free: 69.62 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/3.456, allocations: 107.3 kB / 2.127 GB, free: 69.51 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.649e-05/3.456, allocations: 35.98 kB / 2.127 GB, free: 69.48 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/3.456, allocations: 4 kB / 2.127 GB, free: 69.47 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001492/3.458, allocations: 0.7968 MB / 2.128 GB, free: 68.67 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/3.458, allocations: 8 kB / 2.128 GB, free: 68.66 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001115/3.458, allocations: 61.69 kB / 2.128 GB, free: 68.59 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005426/3.458, allocations: 179.7 kB / 2.128 GB, free: 68.42 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/3.46, allocations: 2.875 MB / 2.131 GB, free: 65.31 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009252/3.461, allocations: 87.38 kB / 2.131 GB, free: 65.23 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.98e-05/3.461, allocations: 43.94 kB / 2.131 GB, free: 65.18 MB / 1.151 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.0002113/3.461, allocations: 128.7 kB / 2.131 GB, free: 65.05 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002019/3.461, allocations: 138.2 kB / 2.131 GB, free: 64.91 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001981/3.463, allocations: 0.9491 MB / 2.132 GB, free: 63.94 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/3.463, allocations: 15.98 kB / 2.132 GB, free: 63.93 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/3.463, allocations: 4 kB / 2.132 GB, free: 63.92 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00125/3.465, allocations: 0.7856 MB / 2.133 GB, free: 63.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004701/3.469, allocations: 2.483 MB / 2.135 GB, free: 60.48 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/3.469, allocations: 4 kB / 2.135 GB, free: 60.48 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005477/3.47, allocations: 140.2 kB / 2.135 GB, free: 60.34 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002342/3.47, allocations: 73.62 kB / 2.135 GB, free: 60.27 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.342e-05/3.47, allocations: 8 kB / 2.135 GB, free: 60.26 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/3.472, allocations: 2.872 MB / 2.138 GB, free: 57.16 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/3.472, allocations: 7.953 kB / 2.138 GB, free: 57.15 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002505/3.475, allocations: 1.53 MB / 2.14 GB, free: 55.47 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007818/3.475, allocations: 347 kB / 2.14 GB, free: 55.11 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/3.475, allocations: 11.98 kB / 2.14 GB, free: 55.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006764/3.476, allocations: 39.81 kB / 2.14 GB, free: 55.06 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.808e-05/3.476, allocations: 56.39 kB / 2.14 GB, free: 55 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.189e-05/3.476, allocations: 40.11 kB / 2.14 GB, free: 54.96 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00138/3.478, allocations: 0.856 MB / 2.141 GB, free: 54.11 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.61e-07/3.478, allocations: 0 / 2.141 GB, free: 54.11 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003962/3.482, allocations: 1.193 MB / 2.142 GB, free: 52.91 MB / 1.151 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.002637/3.484, allocations: 1.262 MB / 2.143 GB, free: 51.65 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002198/3.487, allocations: 1.588 MB / 2.145 GB, free: 50.01 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/3.487, allocations: 5.188 kB / 2.145 GB, free: 50 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005363/3.487, allocations: 0.5492 MB / 2.146 GB, free: 49.44 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003175/3.49, allocations: 0.6105 MB / 2.146 GB, free: 48.84 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004315/3.495, allocations: 2.228 MB / 2.148 GB, free: 46.53 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/3.496, allocations: 1.299 MB / 2.15 GB, free: 45.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0029/3.499, allocations: 459.8 kB / 2.15 GB, free: 44.75 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003176/3.499, allocations: 91.36 kB / 2.15 GB, free: 44.66 MB / 1.151 GB Notification: Performance of SimCode: time 3.116e-06/3.499, allocations: 0 / 2.15 GB, free: 44.66 MB / 1.151 GB Notification: Performance of Templates: time 0.05784/3.557, allocations: 33.86 MB / 2.183 GB, free: 11.11 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.o Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.c Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.c:915: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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o] Error 1