Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad") translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.585/1.585, allocations: 289.8 MB / 297.1 MB, free: 6.613 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 179.5 kB / 366.3 MB, free: 1.93 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.552/1.552, allocations: 205.1 MB / 0.6256 GB, free: 5.785 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009335/0.0009334, allocations: 83.34 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.418e-06/9.448e-06, allocations: 4 kB / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6896/0.6896, allocations: 116.3 MB / 0.9726 GB, free: 68.21 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9142/1.604, allocations: 453.8 MB / 1.416 GB, free: 36.48 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/1.604, allocations: 90.27 kB / 1.416 GB, free: 36.43 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.648/5.252, allocations: 1.098 GB / 2.514 GB, free: 128.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004045/5.253, allocations: 49.86 kB / 2.514 GB, free: 128.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.007701/5.26, allocations: 2.214 MB / 2.516 GB, free: 126.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/5.261, allocations: 10.97 kB / 2.516 GB, free: 126.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006661/5.267, allocations: 1.138 MB / 2.517 GB, free: 126.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007498/5.275, allocations: 2.646 MB / 2.52 GB, free: 124.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004327/5.275, allocations: 180 kB / 2.52 GB, free: 124.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002137/5.275, allocations: 78.16 kB / 2.52 GB, free: 124.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002504/5.278, allocations: 1.451 MB / 2.521 GB, free: 124 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002364/5.28, allocations: 1.479 MB / 2.523 GB, free: 123.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/5.28, allocations: 1.844 kB / 2.523 GB, free: 123.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001319/5.28, allocations: 5.25 kB / 2.523 GB, free: 123.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.203e-05/5.28, allocations: 30.78 kB / 2.523 GB, free: 123.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01345/5.294, allocations: 8.121 MB / 2.531 GB, free: 116.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/5.296, allocations: 1.227 MB / 2.532 GB, free: 115.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006842/5.296, allocations: 0.5282 MB / 2.532 GB, free: 115.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005106/5.302, allocations: 3.532 MB / 2.536 GB, free: 112.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/5.302, allocations: 42.16 kB / 2.536 GB, free: 112.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=62): time 4.799e-06/5.302, allocations: 0 / 2.536 GB, free: 112.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=62): time 0.00319/5.305, allocations: 1.4 MB / 2.537 GB, free: 111.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/5.305, allocations: 64.56 kB / 2.537 GB, free: 111.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002139/5.307, allocations: 1.449 MB / 2.539 GB, free: 111 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001036/5.307, allocations: 28.64 kB / 2.539 GB, free: 111 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003918/5.308, allocations: 0.6281 MB / 2.539 GB, free: 110.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002415/5.308, allocations: 208 kB / 2.54 GB, free: 110.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.002e-05/5.308, allocations: 0 / 2.54 GB, free: 110.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001089/5.308, allocations: 349.1 kB / 2.54 GB, free: 109.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007042/5.309, allocations: 0.5035 MB / 2.54 GB, free: 109.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009301/5.31, allocations: 0.879 MB / 2.541 GB, free: 108.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001835/5.312, allocations: 0.6502 MB / 2.542 GB, free: 108.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/5.312, allocations: 0 / 2.542 GB, free: 108.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003676/5.315, allocations: 1.712 MB / 2.544 GB, free: 107.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006822/5.316, allocations: 3.736 MB / 2.547 GB, free: 103.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/5.316, allocations: 10.47 kB / 2.547 GB, free: 103.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/5.317, allocations: 0.6638 MB / 2.548 GB, free: 103.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/5.319, allocations: 309.3 kB / 2.548 GB, free: 103.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002134/5.321, allocations: 1.338 MB / 2.549 GB, free: 102.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002361/5.323, allocations: 273.5 kB / 2.55 GB, free: 102.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001772/5.323, allocations: 81.88 kB / 2.55 GB, free: 102.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.187e-06/5.323, allocations: 2.625 kB / 2.55 GB, free: 102.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004267/5.328, allocations: 1.592 MB / 2.551 GB, free: 101.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/5.328, allocations: 12.81 kB / 2.551 GB, free: 101.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/5.329, allocations: 0.6632 MB / 2.552 GB, free: 101.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/5.33, allocations: 294.7 kB / 2.552 GB, free: 101.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/5.332, allocations: 1.344 MB / 2.554 GB, free: 100.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002369/5.335, allocations: 230.7 kB / 2.554 GB, free: 100.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/5.335, allocations: 79.91 kB / 2.554 GB, free: 100.2 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.0004476/5.335, allocations: 147.8 kB / 2.554 GB, free: 100 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003454/5.336, allocations: 178.1 kB / 2.554 GB, free: 99.95 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004003/5.34, allocations: 1.699 MB / 2.556 GB, free: 99.04 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/5.34, allocations: 6.562 kB / 2.556 GB, free: 99.04 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/5.34, allocations: 0 / 2.556 GB, free: 99.04 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/5.34, allocations: 13.17 kB / 2.556 GB, free: 99.03 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006924/5.347, allocations: 3.362 MB / 2.559 GB, free: 96.17 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/5.347, allocations: 0 / 2.559 GB, free: 96.17 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/5.348, allocations: 202.1 kB / 2.559 GB, free: 95.98 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009531/5.349, allocations: 0.6428 MB / 2.56 GB, free: 95.39 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.863e-05/5.349, allocations: 23.95 kB / 2.56 GB, free: 95.36 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002021/5.351, allocations: 1.309 MB / 2.561 GB, free: 94.05 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/5.351, allocations: 0 / 2.561 GB, free: 94.05 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003457/5.354, allocations: 1.712 MB / 2.563 GB, free: 92.26 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009461/5.355, allocations: 457.9 kB / 2.563 GB, free: 91.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000273/5.356, allocations: 0 / 2.563 GB, free: 91.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001677/5.357, allocations: 183.9 kB / 2.564 GB, free: 91.63 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/5.358, allocations: 40.58 kB / 2.564 GB, free: 91.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/5.358, allocations: 62.08 kB / 2.564 GB, free: 91.54 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001602/5.359, allocations: 1.112 MB / 2.565 GB, free: 90.41 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00363/5.363, allocations: 1.072 MB / 2.566 GB, free: 89.33 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.002055/5.365, allocations: 1.211 MB / 2.567 GB, free: 88.32 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004181/5.369, allocations: 2.087 MB / 2.569 GB, free: 86.27 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/5.369, allocations: 4 kB / 2.569 GB, free: 86.27 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001386/5.371, allocations: 0.6677 MB / 2.57 GB, free: 85.61 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00328/5.374, allocations: 0.6765 MB / 2.57 GB, free: 84.99 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006164/5.38, allocations: 2.643 MB / 2.573 GB, free: 82.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001431/5.382, allocations: 1.678 MB / 2.575 GB, free: 80.62 MB / 0.948 GB Notification: Performance of SimCode: time 8.32e-07/5.382, allocations: 0 / 2.575 GB, free: 80.62 MB / 0.948 GB Notification: Performance of Templates: time 0.06981/5.451, allocations: 47.7 MB / 2.621 GB, free: 34.18 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & ./Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1)