Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_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_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.639/1.639, allocations: 289.9 MB / 297.4 MB, free: 6.375 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001079/0.001078, allocations: 176.9 kB / 366.7 MB, free: 1.648 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.3 MB / 0.626 GB, free: 7.16 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008142/0.0008141, allocations: 80.86 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.143e-05/2.146e-05, allocations: 8 kB / 0.8597 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6973/0.6973, allocations: 116.3 MB / 0.9733 GB, free: 76.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.084/1.781, allocations: 412.5 MB / 1.376 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/1.782, allocations: 122.5 kB / 1.376 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.695/3.477, allocations: 472.4 MB / 1.838 GB, free: 155 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.793e-06/3.477, allocations: 0 / 1.838 GB, free: 155 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003802/3.477, allocations: 43.12 kB / 1.838 GB, free: 155 MB / 0.948 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.008113/3.485, allocations: 1.936 MB / 1.839 GB, free: 153 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.242e-05/3.485, allocations: 15.98 kB / 1.839 GB, free: 153 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001281/3.487, allocations: 209.6 kB / 1.84 GB, free: 152.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005037/3.492, allocations: 1.693 MB / 1.841 GB, free: 151 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-05/3.492, allocations: 32 kB / 1.841 GB, free: 151 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003845/3.492, allocations: 67.95 kB / 1.841 GB, free: 150.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001768/3.494, allocations: 0.7188 MB / 1.842 GB, free: 150.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/3.495, allocations: 0.9014 MB / 1.843 GB, free: 149.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.201e-05/3.495, allocations: 4 kB / 1.843 GB, free: 149.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.549e-05/3.496, allocations: 0 / 1.843 GB, free: 149.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/3.496, allocations: 27.94 kB / 1.843 GB, free: 149.2 MB / 0.948 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.006947/3.503, allocations: 6.246 MB / 1.849 GB, free: 142.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006923/3.503, allocations: 0.5202 MB / 1.85 GB, free: 141.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003547/3.504, allocations: 318 kB / 1.85 GB, free: 141.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008901/3.505, allocations: 1.273 MB / 1.851 GB, free: 140.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/3.505, allocations: 39.38 kB / 1.851 GB, free: 140 MB / 0.948 GB Notification: Performance of pre-optimization done (n=68): time 2.405e-06/3.505, allocations: 0 / 1.851 GB, free: 140 MB / 0.948 GB Notification: Performance of matching and sorting (n=68): time 0.00165/3.506, allocations: 0.741 MB / 1.852 GB, free: 139.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/3.506, allocations: 85.67 kB / 1.852 GB, free: 139.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/3.508, allocations: 1.125 MB / 1.853 GB, free: 138 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.212e-05/3.508, allocations: 29.7 kB / 1.853 GB, free: 138 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004249/3.508, allocations: 0.7193 MB / 1.854 GB, free: 137.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/3.508, allocations: 232.5 kB / 1.854 GB, free: 137 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/3.508, allocations: 0 / 1.854 GB, free: 137 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.542e-05/3.508, allocations: 345.9 kB / 1.854 GB, free: 136.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003135/3.509, allocations: 242.6 kB / 1.855 GB, free: 136.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004371/3.509, allocations: 479.9 kB / 1.855 GB, free: 135.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009181/3.51, allocations: 420.2 kB / 1.855 GB, free: 135.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/3.51, allocations: 0 / 1.855 GB, free: 135.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001618/3.512, allocations: 0.9839 MB / 1.856 GB, free: 134.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002935/3.512, allocations: 1.335 MB / 1.858 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/3.512, allocations: 7.984 kB / 1.858 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002399/3.512, allocations: 77.62 kB / 1.858 GB, free: 133 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005574/3.513, allocations: 171.8 kB / 1.858 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00167/3.514, allocations: 2.877 MB / 1.861 GB, free: 129.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009948/3.515, allocations: 103.2 kB / 1.861 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.798e-05/3.516, allocations: 39.98 kB / 1.861 GB, free: 129.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.316e-06/3.516, allocations: 4 kB / 1.861 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001457/3.517, allocations: 0.8006 MB / 1.862 GB, free: 128.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/3.517, allocations: 7.938 kB / 1.862 GB, free: 128.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001122/3.517, allocations: 65.69 kB / 1.862 GB, free: 128.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005349/3.518, allocations: 184.1 kB / 1.862 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/3.519, allocations: 2.874 MB / 1.865 GB, free: 125.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008244/3.52, allocations: 91.5 kB / 1.865 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.436e-05/3.52, allocations: 39.98 kB / 1.865 GB, free: 125.3 MB / 0.948 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.0001936/3.52, allocations: 124.7 kB / 1.865 GB, free: 125.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/3.521, allocations: 138.2 kB / 1.865 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/3.522, allocations: 0.9529 MB / 1.866 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/3.522, allocations: 11.98 kB / 1.866 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/3.522, allocations: 0 / 1.866 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001162/3.524, allocations: 0.7856 MB / 1.867 GB, free: 123.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003573/3.527, allocations: 2.484 MB / 1.869 GB, free: 120.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/3.527, allocations: 4 kB / 1.869 GB, free: 120.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004701/3.528, allocations: 127.8 kB / 1.869 GB, free: 120.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001716/3.528, allocations: 65.69 kB / 1.869 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-05/3.528, allocations: 15.98 kB / 1.87 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001455/3.529, allocations: 2.882 MB / 1.872 GB, free: 117.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/3.529, allocations: 4 kB / 1.872 GB, free: 117.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/3.531, allocations: 1.529 MB / 1.874 GB, free: 115.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004547/3.532, allocations: 351.1 kB / 1.874 GB, free: 115.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/3.532, allocations: 4 kB / 1.874 GB, free: 115.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005879/3.532, allocations: 39.89 kB / 1.874 GB, free: 115.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.427e-05/3.532, allocations: 64.39 kB / 1.874 GB, free: 115.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.807e-05/3.533, allocations: 27.98 kB / 1.874 GB, free: 115.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009717/3.534, allocations: 0.8517 MB / 1.875 GB, free: 114.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.5e-07/3.534, allocations: 0 / 1.875 GB, free: 114.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003613/3.537, allocations: 1.2 MB / 1.876 GB, free: 113 MB / 0.948 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.002357/3.54, allocations: 1.29 MB / 1.878 GB, free: 111.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001987/3.542, allocations: 1.597 MB / 1.879 GB, free: 110.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/3.542, allocations: 4 kB / 1.879 GB, free: 110.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004893/3.542, allocations: 0.5406 MB / 1.88 GB, free: 109.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002644/3.545, allocations: 0.6172 MB / 1.88 GB, free: 109 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003343/3.548, allocations: 2.22 MB / 1.882 GB, free: 106.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006364/3.549, allocations: 1.307 MB / 1.884 GB, free: 105.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00154/3.55, allocations: 439.6 kB / 1.884 GB, free: 104.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/3.55, allocations: 99.28 kB / 1.884 GB, free: 104.8 MB / 0.948 GB Notification: Performance of SimCode: time 6.51e-07/3.55, allocations: 0 / 1.884 GB, free: 104.8 MB / 0.948 GB Notification: Performance of Templates: time 0.05461/3.605, allocations: 34.12 MB / 1.918 GB, free: 71 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile make -j1 -f Buildings_8_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_8_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_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.o Buildings_8_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_8_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_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.c Buildings_8_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_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o] Error 1