Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.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.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.589/1.589, allocations: 289.9 MB / 297.4 MB, free: 6.387 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.001081/0.001081, allocations: 184.9 kB / 366.7 MB, free: 1.688 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.506/1.506, allocations: 205.2 MB / 0.626 GB, free: 7.121 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.0008657/0.0008657, allocations: 88.98 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.016e-05/2.027e-05, allocations: 4 kB / 0.8597 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6915/0.6915, allocations: 116.3 MB / 0.9733 GB, free: 76.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.116/1.807, allocations: 429.4 MB / 1.393 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003443/1.808, allocations: 125 kB / 1.393 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.099/5.906, allocations: 1.015 GB / 2.407 GB, free: 118.5 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.423e-06/5.906, allocations: 1.625 kB / 2.407 GB, free: 118.5 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0005803/5.907, allocations: 78.14 kB / 2.408 GB, free: 118.5 MB / 0.9636 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.01209/5.919, allocations: 3.052 MB / 2.411 GB, free: 117.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.947e-05/5.919, allocations: 15.25 kB / 2.411 GB, free: 117.4 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002743/5.922, allocations: 374.4 kB / 2.411 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01042/5.932, allocations: 2.897 MB / 2.414 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001797/5.933, allocations: 65.53 kB / 2.414 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009368/5.934, allocations: 134.7 kB / 2.414 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005289/5.939, allocations: 1.454 MB / 2.415 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006585/5.945, allocations: 1.785 MB / 2.417 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001145/5.946, allocations: 1.344 kB / 2.417 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003851/5.946, allocations: 13.23 kB / 2.417 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.742e-05/5.946, allocations: 53.5 kB / 2.417 GB, free: 116.5 MB / 0.9636 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.01573/5.962, allocations: 8.439 MB / 2.425 GB, free: 113.8 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/5.964, allocations: 1.272 MB / 2.427 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000941/5.965, allocations: 0.7739 MB / 2.427 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001934/5.966, allocations: 2.92 MB / 2.43 GB, free: 110.3 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.69e-05/5.967, allocations: 47.38 kB / 2.43 GB, free: 110.3 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=148): time 4.368e-06/5.967, allocations: 7.531 kB / 2.43 GB, free: 110.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=148): time 0.004086/5.971, allocations: 1.634 MB / 2.432 GB, free: 110 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/5.971, allocations: 92.92 kB / 2.432 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002664/5.973, allocations: 1.691 MB / 2.434 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001793/5.974, allocations: 25.7 kB / 2.434 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008148/5.974, allocations: 1.213 MB / 2.435 GB, free: 109.3 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004293/5.975, allocations: 0.4934 MB / 2.435 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-05/5.975, allocations: 0 / 2.435 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001067/5.975, allocations: 374.4 kB / 2.436 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006892/5.976, allocations: 493 kB / 2.436 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008777/5.977, allocations: 0.8419 MB / 2.437 GB, free: 108.3 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001898/5.978, allocations: 0.8125 MB / 2.438 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/5.978, allocations: 3.906 kB / 2.438 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.004185/5.983, allocations: 1.975 MB / 2.44 GB, free: 108 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005832/5.983, allocations: 2.691 MB / 2.442 GB, free: 105.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.771e-05/5.983, allocations: 10.06 kB / 2.442 GB, free: 105.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000493/5.984, allocations: 203.1 kB / 2.443 GB, free: 105.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/5.985, allocations: 353 kB / 2.443 GB, free: 105.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004122/5.989, allocations: 6.892 MB / 2.45 GB, free: 98.92 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003049/5.992, allocations: 220.3 kB / 2.45 GB, free: 98.85 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002004/5.992, allocations: 71.55 kB / 2.45 GB, free: 98.85 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/5.992, allocations: 3 kB / 2.45 GB, free: 98.85 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003514/5.996, allocations: 1.669 MB / 2.452 GB, free: 98.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/5.996, allocations: 12.16 kB / 2.452 GB, free: 98.75 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004547/5.996, allocations: 217.8 kB / 2.452 GB, free: 98.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/5.997, allocations: 342.6 kB / 2.452 GB, free: 98.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005192/6.003, allocations: 8.646 MB / 2.461 GB, free: 91.06 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002874/6.006, allocations: 202.7 kB / 2.461 GB, free: 90.99 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000196/6.006, allocations: 75.69 kB / 2.461 GB, free: 90.99 MB / 0.9636 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.0004633/6.006, allocations: 147.3 kB / 2.461 GB, free: 90.88 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005963/6.007, allocations: 236.1 kB / 2.461 GB, free: 90.76 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004309/6.011, allocations: 2.005 MB / 2.463 GB, free: 90.57 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/6.011, allocations: 21.83 kB / 2.463 GB, free: 90.57 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/6.011, allocations: 3.719 kB / 2.463 GB, free: 90.57 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002721/6.014, allocations: 1.681 MB / 2.465 GB, free: 90.23 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008487/6.022, allocations: 4.265 MB / 2.469 GB, free: 89.61 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/6.022, allocations: 0 / 2.469 GB, free: 89.61 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/6.024, allocations: 276.9 kB / 2.469 GB, free: 89.61 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00038/6.024, allocations: 187.6 kB / 2.469 GB, free: 89.56 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.573e-05/6.024, allocations: 19.55 kB / 2.469 GB, free: 89.56 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003572/6.028, allocations: 6.846 MB / 2.476 GB, free: 83.42 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/6.028, allocations: 7.672 kB / 2.476 GB, free: 83.41 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004881/6.032, allocations: 2.719 MB / 2.479 GB, free: 82.9 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001574/6.034, allocations: 0.5521 MB / 2.479 GB, free: 82.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002942/6.034, allocations: 5.875 kB / 2.479 GB, free: 82.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/6.036, allocations: 129.8 kB / 2.479 GB, free: 82.65 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/6.036, allocations: 106.9 kB / 2.48 GB, free: 82.65 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.985e-05/6.036, allocations: 54.44 kB / 2.48 GB, free: 82.65 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001926/6.038, allocations: 1.264 MB / 2.481 GB, free: 82.5 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.6e-07/6.038, allocations: 1.125 kB / 2.481 GB, free: 82.5 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.007817/6.046, allocations: 1.969 MB / 2.483 GB, free: 82.15 MB / 0.9636 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.004346/6.05, allocations: 1.757 MB / 2.484 GB, free: 81.71 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005134/6.055, allocations: 3.431 MB / 2.488 GB, free: 80.56 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/6.055, allocations: 4 kB / 2.488 GB, free: 80.56 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001355/6.057, allocations: 1.161 MB / 2.489 GB, free: 80.14 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006476/6.063, allocations: 1.138 MB / 2.49 GB, free: 80.13 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006803/6.07, allocations: 3.981 MB / 2.494 GB, free: 79.07 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001229/6.071, allocations: 1.8 MB / 2.496 GB, free: 78.34 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003079/6.074, allocations: 0.7285 MB / 2.496 GB, free: 78.32 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003364/6.075, allocations: 156.2 kB / 2.497 GB, free: 78.32 MB / 0.9636 GB Notification: Performance of SimCode: time 2.305e-06/6.075, allocations: 1.156 kB / 2.497 GB, free: 78.32 MB / 0.9636 GB Notification: Performance of Templates: time 0.09321/6.168, allocations: 57.6 MB / 2.553 GB, free: 74.57 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.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_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_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.o Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.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_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_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.o Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.c Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.c:1098: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.InternalHEXTwoUTube_functions.o] Error 1