Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.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.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad") translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad") [: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.265/2.265, allocations: 284.9 MB / 292.2 MB, free: 10.67 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.001641/0.00164, allocations: 187.9 kB / 360.4 MB, free: 7.469 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.78/1.78, allocations: 205.1 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.001334/0.001333, allocations: 88.03 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.084e-05/1.098e-05, allocations: 4 kB / 0.8502 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.641/0.641, allocations: 115.2 MB / 0.9628 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.114/1.755, allocations: 452.6 MB / 1.405 GB, free: 111.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/1.755, allocations: 93.81 kB / 1.405 GB, free: 111.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.898/6.653, allocations: 1.098 GB / 2.503 GB, free: 145.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003624/6.654, allocations: 51.08 kB / 2.503 GB, free: 145.4 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 313 * Number of variables: 313 Notification: Performance of Generate backend data structure: time 0.007959/6.662, allocations: 2.207 MB / 2.505 GB, free: 144.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/6.662, allocations: 10.62 kB / 2.505 GB, free: 144.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01158/6.673, allocations: 1.141 MB / 2.506 GB, free: 144.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01148/6.685, allocations: 2.641 MB / 2.509 GB, free: 143.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008788/6.686, allocations: 182 kB / 2.509 GB, free: 143.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005334/6.687, allocations: 75.97 kB / 2.509 GB, free: 143.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00483/6.691, allocations: 1.455 MB / 2.51 GB, free: 143.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00498/6.696, allocations: 1.472 MB / 2.512 GB, free: 143.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.858e-05/6.696, allocations: 7.891 kB / 2.512 GB, free: 143.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002385/6.697, allocations: 0 / 2.512 GB, free: 143.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.184e-05/6.697, allocations: 30.03 kB / 2.512 GB, free: 143.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02399/6.721, allocations: 8.125 MB / 2.52 GB, free: 139.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003754/6.725, allocations: 1.23 MB / 2.521 GB, free: 139.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/6.726, allocations: 0.5312 MB / 2.521 GB, free: 139.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009218/6.735, allocations: 3.531 MB / 2.525 GB, free: 138.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/6.735, allocations: 40.44 kB / 2.525 GB, free: 138.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=62): time 4.498e-06/6.736, allocations: 0 / 2.525 GB, free: 138.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=62): time 0.005899/6.741, allocations: 1.407 MB / 2.526 GB, free: 138.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/6.742, allocations: 58.53 kB / 2.526 GB, free: 138 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004027/6.746, allocations: 1.452 MB / 2.528 GB, free: 137.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000374/6.746, allocations: 28.36 kB / 2.528 GB, free: 137.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005765/6.747, allocations: 0.6231 MB / 2.528 GB, free: 137.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004578/6.747, allocations: 204.5 kB / 2.529 GB, free: 137.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/6.747, allocations: 0 / 2.529 GB, free: 137.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001014/6.747, allocations: 345.9 kB / 2.529 GB, free: 137 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/6.749, allocations: 0.5047 MB / 2.529 GB, free: 137 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001763/6.751, allocations: 0.8782 MB / 2.53 GB, free: 136.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003101/6.754, allocations: 0.6575 MB / 2.531 GB, free: 136.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.374e-05/6.754, allocations: 3.469 kB / 2.531 GB, free: 136.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00653/6.76, allocations: 1.702 MB / 2.533 GB, free: 136.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00089/6.761, allocations: 3.74 MB / 2.536 GB, free: 132.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.804e-05/6.761, allocations: 15.5 kB / 2.536 GB, free: 132.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002314/6.764, allocations: 0.6662 MB / 2.537 GB, free: 132.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002953/6.767, allocations: 308.7 kB / 2.537 GB, free: 132.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00413/6.771, allocations: 1.335 MB / 2.539 GB, free: 131.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004323/6.775, allocations: 269.8 kB / 2.539 GB, free: 131.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004207/6.776, allocations: 84.25 kB / 2.539 GB, free: 131.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/6.776, allocations: 3.375 kB / 2.539 GB, free: 131.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009704/6.785, allocations: 1.593 MB / 2.54 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.952e-05/6.786, allocations: 9.844 kB / 2.54 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003502/6.789, allocations: 0.6684 MB / 2.541 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004693/6.794, allocations: 297.2 kB / 2.541 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004235/6.798, allocations: 1.335 MB / 2.543 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004005/6.802, allocations: 235 kB / 2.543 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003792/6.803, allocations: 78.92 kB / 2.543 GB, free: 130.3 MB / 0.948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real chi.Q2_flow:VARIABLE(unit = "W" ) "Heat flow rate into medium 2" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 95 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005265/6.803, allocations: 141.8 kB / 2.543 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006526/6.804, allocations: 177.2 kB / 2.543 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00655/6.81, allocations: 1.699 MB / 2.545 GB, free: 129.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.261e-05/6.81, allocations: 7.062 kB / 2.545 GB, free: 129.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/6.81, allocations: 0 / 2.545 GB, free: 129.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/6.81, allocations: 4.219 kB / 2.545 GB, free: 129.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01218/6.823, allocations: 3.381 MB / 2.548 GB, free: 128.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/6.823, allocations: 0 / 2.548 GB, free: 128.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002211/6.825, allocations: 205.1 kB / 2.548 GB, free: 128.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001818/6.827, allocations: 0.6347 MB / 2.549 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002328/6.827, allocations: 24 kB / 2.549 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003931/6.831, allocations: 1.318 MB / 2.55 GB, free: 127.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/6.831, allocations: 0.5625 kB / 2.55 GB, free: 127.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006046/6.837, allocations: 1.706 MB / 2.552 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001609/6.839, allocations: 456.9 kB / 2.552 GB, free: 125.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005561/6.839, allocations: 3.562 kB / 2.552 GB, free: 125.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003569/6.843, allocations: 184.4 kB / 2.553 GB, free: 125.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001994/6.843, allocations: 41.97 kB / 2.553 GB, free: 125.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002294/6.843, allocations: 53.84 kB / 2.553 GB, free: 125.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.00259/6.846, allocations: 1.11 MB / 2.554 GB, free: 125.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005486/6.852, allocations: 1.078 MB / 2.555 GB, free: 125.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.00298/6.855, allocations: 1.195 MB / 2.556 GB, free: 124.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008539/6.863, allocations: 2.084 MB / 2.558 GB, free: 124.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/6.863, allocations: 4.359 kB / 2.558 GB, free: 124.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003029/6.866, allocations: 0.6759 MB / 2.559 GB, free: 124.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006387/6.873, allocations: 0.6756 MB / 2.559 GB, free: 123.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/6.884, allocations: 2.647 MB / 2.562 GB, free: 122.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002732/6.887, allocations: 1.678 MB / 2.564 GB, free: 122.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.433e-06/6.887, allocations: 2.844 kB / 2.564 GB, free: 122.1 MB / 0.948 GB Notification: Performance of Templates: time 0.123/7.01, allocations: 47.7 MB / 2.61 GB, free: 95.63 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & ./Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1)