Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json 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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009325/0.0009325, allocations: 169.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8686/0.8686, allocations: 130.7 MB / 138.7 MB, free: 3.605 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 221.5 MB / 391.8 MB, free: 14.22 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008605/0.0008607, allocations: 93.59 kB / 473.9 MB, free: 4.488 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.137e-05/2.139e-05, allocations: 4 kB / 0.5486 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5011/0.5011, allocations: 81.57 MB / 0.6282 GB, free: 43 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9207/1.422, allocations: 385.3 MB / 1.005 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004917/1.423, allocations: 121.6 kB / 1.005 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.22/3.643, allocations: 481.8 MB / 1.475 GB, free: 84.68 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.874e-06/3.643, allocations: 0 / 1.475 GB, free: 84.68 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003274/3.643, allocations: 46.7 kB / 1.475 GB, free: 84.64 MB / 0.6667 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.007966/3.651, allocations: 1.934 MB / 1.477 GB, free: 82.67 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 7.67e-05/3.651, allocations: 8.031 kB / 1.477 GB, free: 82.66 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001593/3.653, allocations: 210.3 kB / 1.477 GB, free: 82.45 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005417/3.658, allocations: 1.702 MB / 1.479 GB, free: 80.74 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.106e-05/3.658, allocations: 32 kB / 1.479 GB, free: 80.71 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003362/3.658, allocations: 68 kB / 1.479 GB, free: 80.64 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001783/3.66, allocations: 0.7148 MB / 1.48 GB, free: 79.93 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/3.662, allocations: 0.9044 MB / 1.481 GB, free: 78.97 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.593e-05/3.662, allocations: 0 / 1.481 GB, free: 78.97 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/3.662, allocations: 6.188 kB / 1.481 GB, free: 78.96 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/3.662, allocations: 27.84 kB / 1.481 GB, free: 78.94 MB / 0.6667 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.008458/3.671, allocations: 6.236 MB / 1.487 GB, free: 72.2 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007778/3.672, allocations: 0.5264 MB / 1.487 GB, free: 71.66 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000384/3.672, allocations: 317.3 kB / 1.488 GB, free: 71.35 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009307/3.673, allocations: 1.269 MB / 1.489 GB, free: 69.8 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/3.673, allocations: 43.08 kB / 1.489 GB, free: 69.75 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=68): time 2.524e-06/3.673, allocations: 4 kB / 1.489 GB, free: 69.75 MB / 0.6667 GB Notification: Performance of matching and sorting (n=68): time 0.001999/3.675, allocations: 0.741 MB / 1.49 GB, free: 68.99 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/3.675, allocations: 85.67 kB / 1.49 GB, free: 68.89 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001888/3.677, allocations: 1.133 MB / 1.491 GB, free: 67.75 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.265e-05/3.677, allocations: 25.7 kB / 1.491 GB, free: 67.72 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000503/3.678, allocations: 0.7194 MB / 1.492 GB, free: 66.99 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001969/3.678, allocations: 236.5 kB / 1.492 GB, free: 66.76 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/3.678, allocations: 0 / 1.492 GB, free: 66.76 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.326e-05/3.678, allocations: 338 kB / 1.492 GB, free: 66.42 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/3.678, allocations: 254.6 kB / 1.492 GB, free: 66.17 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004627/3.679, allocations: 457.4 kB / 1.493 GB, free: 65.64 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/3.68, allocations: 416.5 kB / 1.493 GB, free: 65.23 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/3.68, allocations: 0 / 1.493 GB, free: 65.23 MB / 0.6667 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002032/3.682, allocations: 0.9801 MB / 1.494 GB, free: 64.24 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003253/3.682, allocations: 1.346 MB / 1.495 GB, free: 62.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/3.682, allocations: 11.95 kB / 1.495 GB, free: 62.81 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002844/3.683, allocations: 69.53 kB / 1.495 GB, free: 62.74 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005968/3.683, allocations: 179.8 kB / 1.496 GB, free: 62.56 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/3.685, allocations: 2.877 MB / 1.498 GB, free: 59.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/3.686, allocations: 95.23 kB / 1.499 GB, free: 59.37 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/3.687, allocations: 43.98 kB / 1.499 GB, free: 59.33 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.138e-06/3.687, allocations: 4 kB / 1.499 GB, free: 59.32 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001699/3.688, allocations: 0.8004 MB / 1.499 GB, free: 58.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/3.688, allocations: 8 kB / 1.499 GB, free: 58.51 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001255/3.688, allocations: 70.06 kB / 1.499 GB, free: 58.43 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005724/3.689, allocations: 175.8 kB / 1.5 GB, free: 58.26 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/3.691, allocations: 2.888 MB / 1.502 GB, free: 55.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/3.692, allocations: 83.39 kB / 1.503 GB, free: 55.07 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.976e-05/3.692, allocations: 39.98 kB / 1.503 GB, free: 55.04 MB / 0.6667 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.0002214/3.692, allocations: 128.5 kB / 1.503 GB, free: 54.9 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003781/3.693, allocations: 142.2 kB / 1.503 GB, free: 54.76 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00221/3.695, allocations: 0.96 MB / 1.504 GB, free: 53.78 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/3.695, allocations: 15.94 kB / 1.504 GB, free: 53.77 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/3.695, allocations: 0 / 1.504 GB, free: 53.77 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001315/3.696, allocations: 0.7896 MB / 1.505 GB, free: 52.94 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004905/3.701, allocations: 2.473 MB / 1.507 GB, free: 50.35 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.076e-06/3.701, allocations: 4 kB / 1.507 GB, free: 50.35 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005465/3.702, allocations: 135.8 kB / 1.507 GB, free: 50.21 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002241/3.702, allocations: 61.69 kB / 1.507 GB, free: 50.15 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.458e-05/3.702, allocations: 16.38 kB / 1.507 GB, free: 50.13 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001768/3.704, allocations: 2.874 MB / 1.51 GB, free: 47.04 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/3.704, allocations: 4 kB / 1.51 GB, free: 47.04 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0024/3.706, allocations: 1.534 MB / 1.511 GB, free: 45.35 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008783/3.707, allocations: 351 kB / 1.512 GB, free: 44.99 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004311/3.708, allocations: 11.94 kB / 1.512 GB, free: 44.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009835/3.709, allocations: 39.81 kB / 1.512 GB, free: 44.94 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.886e-05/3.709, allocations: 56.44 kB / 1.512 GB, free: 44.88 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-05/3.709, allocations: 35.97 kB / 1.512 GB, free: 44.84 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001634/3.71, allocations: 0.8521 MB / 1.513 GB, free: 43.99 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.81e-07/3.71, allocations: 0 / 1.513 GB, free: 43.99 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004994/3.715, allocations: 1.185 MB / 1.514 GB, free: 42.8 MB / 0.6667 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.003702/3.719, allocations: 1.267 MB / 1.515 GB, free: 41.66 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002543/3.722, allocations: 1.591 MB / 1.517 GB, free: 40.02 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/3.722, allocations: 4 kB / 1.517 GB, free: 40.01 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006382/3.722, allocations: 0.5418 MB / 1.517 GB, free: 39.45 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0036/3.726, allocations: 0.6148 MB / 1.518 GB, free: 38.86 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0048/3.731, allocations: 2.223 MB / 1.52 GB, free: 36.61 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/3.732, allocations: 1.311 MB / 1.521 GB, free: 35.26 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002351/3.734, allocations: 447.8 kB / 1.522 GB, free: 34.85 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002579/3.735, allocations: 91.36 kB / 1.522 GB, free: 34.76 MB / 0.6667 GB Notification: Performance of SimCode: time 1.022e-06/3.735, allocations: 4 kB / 1.522 GB, free: 34.75 MB / 0.6667 GB Notification: Performance of Templates: time 0.05896/3.794, allocations: 33.85 MB / 1.555 GB, free: 1.285 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile make -j1 -f IDEAS_IDEAS.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@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=IDEAS_IDEAS_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 IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.o IDEAS_IDEAS.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@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=IDEAS_IDEAS_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 IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.c IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.c:1175: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: *** [: IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o] Error 1