Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.284/2.284, allocations: 284.9 MB / 292.2 MB, free: 10.8 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001653/0.001652, allocations: 189.2 kB / 360.4 MB, free: 7.52 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.767/1.767, allocations: 205.2 MB / 0.6188 GB, free: 12.43 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001943/0.001942, allocations: 87.81 kB / 0.7318 GB, free: 45.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.626e-05/1.635e-05, allocations: 8 kB / 0.8503 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6882/0.6883, allocations: 115.3 MB / 0.9628 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2755/0.9638, allocations: 147.8 MB / 1.107 GB, free: 3.535 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004363/0.9643, allocations: 111.9 kB / 1.107 GB, free: 3.426 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.09874/1.063, allocations: 21.65 MB / 1.128 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.504e-05/1.063, allocations: 12 kB / 1.128 GB, free: 13.68 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001864/1.065, allocations: 0.763 MB / 1.129 GB, free: 12.87 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/1.065, allocations: 12.03 kB / 1.129 GB, free: 12.86 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002187/1.065, allocations: 83.05 kB / 1.129 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009869/1.066, allocations: 428.8 kB / 1.13 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/1.066, allocations: 16 kB / 1.13 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/1.066, allocations: 32 kB / 1.13 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001053/1.068, allocations: 302 kB / 1.13 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/1.069, allocations: 332.5 kB / 1.13 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.15e-05/1.069, allocations: 7.938 kB / 1.13 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.47e-05/1.069, allocations: 0 / 1.13 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.672e-05/1.069, allocations: 12 kB / 1.13 GB, free: 11.62 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003753/1.072, allocations: 1.448 MB / 1.132 GB, free: 10.12 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006389/1.073, allocations: 250.2 kB / 1.132 GB, free: 9.867 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000687/1.074, allocations: 281.1 kB / 1.132 GB, free: 9.59 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.877e-05/1.074, allocations: 4 kB / 1.132 GB, free: 9.586 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/1.074, allocations: 30.56 kB / 1.132 GB, free: 9.547 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=42): time 5.51e-06/1.074, allocations: 0 / 1.132 GB, free: 9.547 MB / 0.8386 GB Notification: Performance of matching and sorting (n=42): time 0.001041/1.075, allocations: 321.4 kB / 1.133 GB, free: 9.227 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/1.075, allocations: 55.41 kB / 1.133 GB, free: 9.16 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007933/1.076, allocations: 365.2 kB / 1.133 GB, free: 8.797 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/1.076, allocations: 25.7 kB / 1.133 GB, free: 8.766 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/1.076, allocations: 216.2 kB / 1.133 GB, free: 8.551 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/1.076, allocations: 141.8 kB / 1.133 GB, free: 8.41 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/1.076, allocations: 0 / 1.133 GB, free: 8.41 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001895/1.077, allocations: 358.7 kB / 1.134 GB, free: 8.051 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003262/1.077, allocations: 96.75 kB / 1.134 GB, free: 7.953 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000315/1.077, allocations: 100.5 kB / 1.134 GB, free: 7.859 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003616/1.078, allocations: 121.8 kB / 1.134 GB, free: 7.742 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/1.078, allocations: 0.7656 kB / 1.134 GB, free: 7.742 MB / 0.8386 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009631/1.079, allocations: 337 kB / 1.134 GB, free: 7.406 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/1.079, allocations: 8 kB / 1.134 GB, free: 7.398 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/1.079, allocations: 0 / 1.134 GB, free: 7.398 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/1.079, allocations: 4 kB / 1.134 GB, free: 7.395 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/1.08, allocations: 123.9 kB / 1.134 GB, free: 7.273 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/1.08, allocations: 4 kB / 1.134 GB, free: 7.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005456/1.08, allocations: 47.59 kB / 1.135 GB, free: 7.223 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.944e-05/1.08, allocations: 12 kB / 1.135 GB, free: 7.211 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001521/1.081, allocations: 112.8 kB / 1.135 GB, free: 7.094 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/1.081, allocations: 43.44 kB / 1.135 GB, free: 7.051 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/1.081, allocations: 52.66 kB / 1.135 GB, free: 7 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/1.081, allocations: 4 kB / 1.135 GB, free: 6.996 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/1.081, allocations: 0 / 1.135 GB, free: 6.996 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/1.081, allocations: 7.969 kB / 1.135 GB, free: 6.988 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/1.082, allocations: 0.5052 MB / 1.135 GB, free: 6.445 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.082, allocations: 0 / 1.135 GB, free: 6.445 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/1.083, allocations: 127.9 kB / 1.135 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/1.083, allocations: 4 kB / 1.135 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.625e-05/1.083, allocations: 0 / 1.135 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.15e-05/1.083, allocations: 8 kB / 1.135 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.016e-05/1.083, allocations: 3.984 kB / 1.135 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001387/1.085, allocations: 0.5766 MB / 1.136 GB, free: 5.711 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002413/1.085, allocations: 132.4 kB / 1.136 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/1.085, allocations: 3.984 kB / 1.136 GB, free: 5.559 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004704/1.086, allocations: 23.89 kB / 1.136 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.927e-05/1.086, allocations: 19.97 kB / 1.136 GB, free: 5.516 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.812e-05/1.086, allocations: 8 kB / 1.136 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0007067/1.086, allocations: 295.2 kB / 1.136 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006762/1.087, allocations: 135.5 kB / 1.137 GB, free: 5.086 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000519/1.088, allocations: 256.8 kB / 1.137 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000772/1.088, allocations: 272 kB / 1.137 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.088, allocations: 3.938 kB / 1.137 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000394/1.089, allocations: 167.9 kB / 1.137 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00083/1.09, allocations: 85.53 kB / 1.137 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002989/1.093, allocations: 0.8851 MB / 1.138 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000838/1.094, allocations: 0.9245 MB / 1.139 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of SimCode: time 1.343e-06/1.094, allocations: 0 / 1.139 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of Templates: time 0.01878/1.112, allocations: 5.32 MB / 1.144 GB, free: 13.19 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)