Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.269/2.269, allocations: 253.1 MB / 260.6 MB, free: 7.453 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001476/0.001475, allocations: 180.8 kB / 319.9 MB, free: 3.086 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.037/2.037, allocations: 205.6 MB / 0.5708 GB, free: 15.27 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 88.83 kB / 0.6751 GB, free: 4.629 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.493e-05/2.489e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1971, allocations: 106.3 MB / 0.8887 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.885/2.082, allocations: 423 MB / 1.302 GB, free: 259.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004661/2.082, allocations: 120.3 kB / 1.302 GB, free: 259.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.769/7.852, allocations: 1.014 GB / 2.316 GB, free: 111.7 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.254e-06/7.852, allocations: 0 / 2.316 GB, free: 111.7 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0005128/7.852, allocations: 82.14 kB / 2.316 GB, free: 111.7 MB / 0.9011 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.01102/7.863, allocations: 3.053 MB / 2.319 GB, free: 110.7 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/7.863, allocations: 9.75 kB / 2.319 GB, free: 110.7 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002392/7.866, allocations: 377.7 kB / 2.32 GB, free: 110.5 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01036/7.876, allocations: 2.9 MB / 2.323 GB, free: 110 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/7.876, allocations: 66.41 kB / 2.323 GB, free: 110 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007547/7.877, allocations: 132.3 kB / 2.323 GB, free: 110 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005048/7.882, allocations: 1.457 MB / 2.324 GB, free: 110 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005903/7.888, allocations: 1.783 MB / 2.326 GB, free: 109.7 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.472e-05/7.888, allocations: 7.688 kB / 2.326 GB, free: 109.7 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002856/7.889, allocations: 0 / 2.326 GB, free: 109.7 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.674e-05/7.889, allocations: 50.66 kB / 2.326 GB, free: 109.7 MB / 0.9011 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.02003/7.909, allocations: 8.452 MB / 2.334 GB, free: 107.1 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002655/7.911, allocations: 1.273 MB / 2.335 GB, free: 106.8 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/7.913, allocations: 0.7659 MB / 2.336 GB, free: 106.8 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00284/7.916, allocations: 2.92 MB / 2.339 GB, free: 103.5 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.252e-05/7.916, allocations: 54.55 kB / 2.339 GB, free: 103.5 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=148): time 4.298e-06/7.916, allocations: 2.062 kB / 2.339 GB, free: 103.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=148): time 0.006836/7.923, allocations: 1.644 MB / 2.341 GB, free: 103.2 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/7.923, allocations: 95.39 kB / 2.341 GB, free: 103.2 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003996/7.927, allocations: 1.682 MB / 2.342 GB, free: 102.9 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0004063/7.927, allocations: 29.14 kB / 2.342 GB, free: 102.9 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001228/7.929, allocations: 1.201 MB / 2.344 GB, free: 102.5 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008742/7.93, allocations: 0.5015 MB / 2.344 GB, free: 102.1 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/7.93, allocations: 1.875 kB / 2.344 GB, free: 102.1 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001392/7.93, allocations: 367.1 kB / 2.345 GB, free: 101.8 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/7.931, allocations: 494.2 kB / 2.345 GB, free: 101.8 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001619/7.933, allocations: 0.8405 MB / 2.346 GB, free: 101.5 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003554/7.936, allocations: 0.8098 MB / 2.347 GB, free: 101.5 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.543e-05/7.936, allocations: 7.672 kB / 2.347 GB, free: 101.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.007597/7.944, allocations: 1.977 MB / 2.349 GB, free: 101.2 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005999/7.945, allocations: 2.688 MB / 2.351 GB, free: 98.35 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-05/7.945, allocations: 10.97 kB / 2.351 GB, free: 98.35 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008882/7.946, allocations: 203.3 kB / 2.351 GB, free: 98.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002552/7.948, allocations: 363.7 kB / 2.352 GB, free: 98.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005692/7.954, allocations: 6.879 MB / 2.358 GB, free: 92.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003794/7.958, allocations: 218.6 kB / 2.359 GB, free: 92.09 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004759/7.958, allocations: 72.78 kB / 2.359 GB, free: 92.09 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/7.958, allocations: 4 kB / 2.359 GB, free: 92.09 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00604/7.964, allocations: 1.673 MB / 2.36 GB, free: 91.98 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.843e-05/7.965, allocations: 10.5 kB / 2.36 GB, free: 91.98 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007889/7.965, allocations: 207.2 kB / 2.361 GB, free: 91.93 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00247/7.968, allocations: 348.7 kB / 2.361 GB, free: 91.93 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007661/7.976, allocations: 8.658 MB / 2.369 GB, free: 84.28 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003913/7.98, allocations: 196.9 kB / 2.37 GB, free: 84.22 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004851/7.98, allocations: 70.55 kB / 2.37 GB, free: 84.22 MB / 0.9011 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.0005035/7.981, allocations: 145.1 kB / 2.37 GB, free: 84.11 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000866/7.981, allocations: 232.7 kB / 2.37 GB, free: 83.98 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006729/7.988, allocations: 2.009 MB / 2.372 GB, free: 83.79 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.641e-05/7.988, allocations: 21.91 kB / 2.372 GB, free: 83.79 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/7.988, allocations: 0 / 2.372 GB, free: 83.79 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005018/7.993, allocations: 1.685 MB / 2.374 GB, free: 83.44 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01408/8.007, allocations: 4.261 MB / 2.378 GB, free: 82.83 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/8.008, allocations: 3.281 kB / 2.378 GB, free: 82.83 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002161/8.01, allocations: 272.1 kB / 2.378 GB, free: 82.83 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006627/8.01, allocations: 189.5 kB / 2.378 GB, free: 82.78 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001612/8.011, allocations: 22.88 kB / 2.378 GB, free: 82.78 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005751/8.016, allocations: 6.858 MB / 2.385 GB, free: 76.64 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/8.016, allocations: 3.844 kB / 2.385 GB, free: 76.64 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008017/8.024, allocations: 2.708 MB / 2.388 GB, free: 76.12 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002109/8.027, allocations: 0.5573 MB / 2.388 GB, free: 75.88 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005812/8.027, allocations: 10.42 kB / 2.388 GB, free: 75.88 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002611/8.03, allocations: 127.2 kB / 2.388 GB, free: 75.86 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002451/8.03, allocations: 109 kB / 2.388 GB, free: 75.86 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001796/8.03, allocations: 57.38 kB / 2.388 GB, free: 75.86 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.002692/8.033, allocations: 1.261 MB / 2.39 GB, free: 75.72 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6.11e-07/8.033, allocations: 1.531 kB / 2.39 GB, free: 75.72 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.009989/8.043, allocations: 1.964 MB / 2.392 GB, free: 75.37 MB / 0.9011 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.004942/8.048, allocations: 1.759 MB / 2.393 GB, free: 74.93 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.006842/8.055, allocations: 3.428 MB / 2.397 GB, free: 73.78 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/8.055, allocations: 6.844 kB / 2.397 GB, free: 73.78 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002123/8.057, allocations: 1.17 MB / 2.398 GB, free: 73.36 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009913/8.067, allocations: 1.138 MB / 2.399 GB, free: 73.34 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/8.078, allocations: 3.975 MB / 2.403 GB, free: 72.3 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001902/8.08, allocations: 1.799 MB / 2.405 GB, free: 71.56 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.00554/8.086, allocations: 0.7313 MB / 2.405 GB, free: 71.54 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006966/8.087, allocations: 156.8 kB / 2.405 GB, free: 71.53 MB / 0.9011 GB Notification: Performance of SimCode: time 1.432e-06/8.087, allocations: 0 / 2.405 GB, free: 71.53 MB / 0.9011 GB Notification: Performance of Templates: time 0.1627/8.249, allocations: 57.59 MB / 2.462 GB, free: 67.97 MB / 0.9011 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile b'clang -Os -fPIC -mfpmath=sse -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_7_0_0_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_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.o Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.c\nclang -Os -fPIC -mfpmath=sse -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_7_0_0_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_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.o Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.c\nBuildings_7.0.0_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\')\n copy_real_array_data(add_alloc_scalar_real_array(_TBor, &mul_alloc_real_matrix_product_smart(_R0, _QPip_flow)), &_TFlu);\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n1 error generated.\n: recipe for target \'Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.o\' failed\nmake: *** [Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.o] Error 1\n'