Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_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_dev_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.001434/0.001434, allocations: 169 kB / 7.646 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7776/0.7776, allocations: 133.6 MB / 141.6 MB, free: 2.883 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.552/1.552, allocations: 221.5 MB / 395.5 MB, free: 10.85 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.0009586/0.0009585, allocations: 94.38 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.21e-05/2.232e-05, allocations: 4 kB / 0.5535 GB, free: 9.043 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5024/0.5025, allocations: 82.31 MB / 0.6339 GB, free: 40.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8875/1.39, allocations: 385.6 MB / 1.01 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003733/1.391, allocations: 126.6 kB / 1.011 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.052/3.442, allocations: 481.8 MB / 1.481 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.713e-06/3.442, allocations: 3.938 kB / 1.481 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003508/3.443, allocations: 46.36 kB / 1.481 GB, free: 115.5 MB / 0.6823 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.006725/3.45, allocations: 1.928 MB / 1.483 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/3.45, allocations: 12.02 kB / 1.483 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/3.451, allocations: 210.5 kB / 1.483 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005548/3.457, allocations: 1.709 MB / 1.485 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-05/3.457, allocations: 32 kB / 1.485 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004488/3.457, allocations: 69.5 kB / 1.485 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002087/3.459, allocations: 0.7226 MB / 1.486 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002248/3.461, allocations: 0.9051 MB / 1.487 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.289e-05/3.462, allocations: 3.062 kB / 1.487 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/3.462, allocations: 0 / 1.487 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/3.462, allocations: 24 kB / 1.487 GB, free: 109.8 MB / 0.6823 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.01157/3.473, allocations: 6.236 MB / 1.493 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/3.474, allocations: 0.5108 MB / 1.493 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005393/3.475, allocations: 323.6 kB / 1.493 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001265/3.476, allocations: 1.261 MB / 1.495 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.753e-05/3.476, allocations: 44.94 kB / 1.495 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=68): time 5.04e-06/3.476, allocations: 0 / 1.495 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.002749/3.479, allocations: 0.751 MB / 1.496 GB, free: 99.87 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/3.479, allocations: 85.67 kB / 1.496 GB, free: 99.77 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002778/3.482, allocations: 1.129 MB / 1.497 GB, free: 98.63 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001451/3.482, allocations: 25.7 kB / 1.497 GB, free: 98.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000746/3.483, allocations: 0.7233 MB / 1.497 GB, free: 97.87 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002685/3.483, allocations: 234.4 kB / 1.498 GB, free: 97.64 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.621e-05/3.483, allocations: 0 / 1.498 GB, free: 97.64 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001171/3.483, allocations: 337.9 kB / 1.498 GB, free: 97.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004108/3.484, allocations: 252.7 kB / 1.498 GB, free: 97.06 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005568/3.484, allocations: 463.7 kB / 1.499 GB, free: 96.53 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/3.486, allocations: 413.3 kB / 1.499 GB, free: 96.13 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/3.486, allocations: 1.906 kB / 1.499 GB, free: 96.13 MB / 0.6823 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00241/3.488, allocations: 0.981 MB / 1.5 GB, free: 95.14 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003776/3.488, allocations: 1.336 MB / 1.501 GB, free: 93.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.669e-05/3.488, allocations: 5.281 kB / 1.501 GB, free: 93.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003422/3.489, allocations: 80.11 kB / 1.501 GB, free: 93.65 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006492/3.489, allocations: 175.7 kB / 1.502 GB, free: 93.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/3.492, allocations: 2.876 MB / 1.504 GB, free: 90.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/3.493, allocations: 104.4 kB / 1.504 GB, free: 90.29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/3.494, allocations: 39.98 kB / 1.505 GB, free: 90.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/3.494, allocations: 5.25 kB / 1.505 GB, free: 90.25 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00207/3.496, allocations: 0.7977 MB / 1.505 GB, free: 89.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/3.496, allocations: 4 kB / 1.505 GB, free: 89.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001466/3.496, allocations: 69.48 kB / 1.505 GB, free: 89.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006036/3.497, allocations: 181.6 kB / 1.506 GB, free: 89.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002236/3.499, allocations: 2.872 MB / 1.508 GB, free: 86.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/3.5, allocations: 92.88 kB / 1.508 GB, free: 86.03 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/3.5, allocations: 39.98 kB / 1.508 GB, free: 85.99 MB / 0.6823 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.0003365/3.501, allocations: 122.6 kB / 1.509 GB, free: 85.86 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006066/3.501, allocations: 146.2 kB / 1.509 GB, free: 85.72 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002585/3.504, allocations: 0.9469 MB / 1.51 GB, free: 84.76 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/3.504, allocations: 11.98 kB / 1.51 GB, free: 84.75 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/3.504, allocations: 7.953 kB / 1.51 GB, free: 84.74 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001329/3.505, allocations: 0.7871 MB / 1.51 GB, free: 83.91 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005242/3.511, allocations: 2.481 MB / 1.513 GB, free: 81.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/3.511, allocations: 4 kB / 1.513 GB, free: 81.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005203/3.511, allocations: 131.8 kB / 1.513 GB, free: 81.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002235/3.511, allocations: 75.78 kB / 1.513 GB, free: 81.12 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-05/3.512, allocations: 15.98 kB / 1.513 GB, free: 81.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001757/3.513, allocations: 2.865 MB / 1.516 GB, free: 78.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/3.513, allocations: 7.938 kB / 1.516 GB, free: 78.02 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002331/3.516, allocations: 1.529 MB / 1.517 GB, free: 76.35 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000872/3.517, allocations: 351 kB / 1.518 GB, free: 75.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000415/3.517, allocations: 11.95 kB / 1.518 GB, free: 75.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009945/3.518, allocations: 42.7 kB / 1.518 GB, free: 75.94 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.466e-05/3.518, allocations: 51.88 kB / 1.518 GB, free: 75.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.776e-05/3.518, allocations: 35.98 kB / 1.518 GB, free: 75.85 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0018/3.52, allocations: 0.8521 MB / 1.519 GB, free: 75 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/3.52, allocations: 0 / 1.519 GB, free: 75 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005241/3.525, allocations: 1.193 MB / 1.52 GB, free: 73.8 MB / 0.6823 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.003923/3.529, allocations: 1.259 MB / 1.521 GB, free: 72.75 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002818/3.532, allocations: 1.594 MB / 1.523 GB, free: 71.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/3.532, allocations: 1.844 kB / 1.523 GB, free: 71.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006851/3.533, allocations: 0.5515 MB / 1.523 GB, free: 70.53 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003689/3.536, allocations: 0.6068 MB / 1.524 GB, free: 69.96 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005358/3.542, allocations: 2.223 MB / 1.526 GB, free: 67.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001482/3.543, allocations: 1.311 MB / 1.527 GB, free: 66.36 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002611/3.546, allocations: 453 kB / 1.528 GB, free: 65.94 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000295/3.546, allocations: 91.36 kB / 1.528 GB, free: 65.85 MB / 0.6823 GB Notification: Performance of SimCode: time 2.224e-06/3.546, allocations: 0 / 1.528 GB, free: 65.85 MB / 0.6823 GB Notification: Performance of Templates: time 0.05879/3.605, allocations: 33.86 MB / 1.561 GB, free: 32.72 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile make -j1 -f IDEAS_dev_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/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=IDEAS_dev_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_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.o IDEAS_dev_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/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=IDEAS_dev_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_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.c IDEAS_dev_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_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o] Error 1