Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad",fmuType="me",version="2.0",platforms={"static"}) [: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.0.0/package.mo): time 2.355/2.355, allocations: 284.8 MB / 292.1 MB, free: 9.898 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.001659/0.001658, allocations: 178.5 kB / 360.3 MB, free: 1 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.843/1.843, allocations: 205.1 MB / 0.6187 GB, free: 3.332 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001294/0.001294, allocations: 89.2 kB / 0.7317 GB, free: 1.82 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.5516/0.553, allocations: 121.4 MB / 0.8502 GB, free: 149.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.7924, allocations: 115.2 MB / 0.9627 GB, free: 57.01 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.118/1.911, allocations: 452.6 MB / 1.405 GB, free: 4.586 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/1.911, allocations: 94.19 kB / 1.405 GB, free: 4.539 MB / 0.9011 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 5.14/7.051, allocations: 1.1 GB / 2.505 GB, free: 28.87 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.414e-05/7.051, allocations: 8 kB / 2.505 GB, free: 28.86 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01416/7.065, allocations: 1.14 MB / 2.506 GB, free: 27.72 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01124/7.076, allocations: 2.644 MB / 2.509 GB, free: 25 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008889/7.077, allocations: 180 kB / 2.509 GB, free: 24.82 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006072/7.078, allocations: 76 kB / 2.509 GB, free: 24.74 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00504/7.083, allocations: 1.461 MB / 2.51 GB, free: 23.28 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004246/7.087, allocations: 1.468 MB / 2.512 GB, free: 21.73 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.314e-05/7.087, allocations: 0 / 2.512 GB, free: 21.73 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002324/7.087, allocations: 4 kB / 2.512 GB, free: 21.73 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.876e-05/7.087, allocations: 28 kB / 2.512 GB, free: 21.7 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02362/7.111, allocations: 8.139 MB / 2.52 GB, free: 13.12 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003671/7.115, allocations: 1.235 MB / 2.521 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001361/7.116, allocations: 0.5221 MB / 2.521 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008626/7.125, allocations: 3.543 MB / 2.525 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/7.125, allocations: 39.06 kB / 2.525 GB, free: 7.484 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=62): time 3.967e-06/7.125, allocations: 0 / 2.525 GB, free: 7.484 MB / 0.9636 GB Notification: Performance of matching and sorting (n=62): time 0.007891/7.133, allocations: 1.401 MB / 2.526 GB, free: 6.07 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/7.133, allocations: 59.91 kB / 2.526 GB, free: 6 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006393/7.139, allocations: 1.454 MB / 2.528 GB, free: 4.512 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0004794/7.14, allocations: 29.7 kB / 2.528 GB, free: 4.477 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008376/7.141, allocations: 0.6156 MB / 2.528 GB, free: 3.848 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007137/7.142, allocations: 209 kB / 2.529 GB, free: 3.641 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002174/7.142, allocations: 0 / 2.529 GB, free: 3.641 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001094/7.142, allocations: 341.8 kB / 2.529 GB, free: 3.301 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/7.143, allocations: 0.5018 MB / 2.529 GB, free: 2.801 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/7.145, allocations: 0.8861 MB / 2.53 GB, free: 1.742 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003141/7.148, allocations: 0.6537 MB / 2.531 GB, free: 1.09 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.77e-05/7.148, allocations: 4 kB / 2.531 GB, free: 1.086 MB / 0.9636 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.006689/7.155, allocations: 1.697 MB / 2.533 GB, free: 15.37 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001679/7.156, allocations: 3.742 MB / 2.536 GB, free: 11.35 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.418e-05/7.156, allocations: 12 kB / 2.536 GB, free: 11.34 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002477/7.159, allocations: 0.6642 MB / 2.537 GB, free: 10.67 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003015/7.162, allocations: 307.6 kB / 2.537 GB, free: 10.37 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004524/7.167, allocations: 1.333 MB / 2.538 GB, free: 9.012 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004336/7.171, allocations: 278.8 kB / 2.539 GB, free: 8.738 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004781/7.171, allocations: 87.86 kB / 2.539 GB, free: 8.652 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/7.172, allocations: 4 kB / 2.539 GB, free: 8.648 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00854/7.18, allocations: 1.592 MB / 2.54 GB, free: 7.055 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.658e-05/7.18, allocations: 11.91 kB / 2.54 GB, free: 7.043 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002379/7.183, allocations: 0.6616 MB / 2.541 GB, free: 6.379 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003001/7.186, allocations: 295.6 kB / 2.541 GB, free: 6.09 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004582/7.19, allocations: 1.339 MB / 2.543 GB, free: 4.727 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004326/7.195, allocations: 235.2 kB / 2.543 GB, free: 4.496 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004763/7.195, allocations: 79.89 kB / 2.543 GB, free: 4.418 MB / 0.9792 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.0006072/7.196, allocations: 145.4 kB / 2.543 GB, free: 4.27 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007535/7.197, allocations: 181.8 kB / 2.543 GB, free: 4.09 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007579/7.204, allocations: 1.701 MB / 2.545 GB, free: 2.383 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.06e-05/7.204, allocations: 8 kB / 2.545 GB, free: 2.375 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/7.204, allocations: 0 / 2.545 GB, free: 2.375 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/7.204, allocations: 3.984 kB / 2.545 GB, free: 2.371 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4454/7.65, allocations: 3.364 MB / 2.548 GB, free: 238.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.982e-05/7.65, allocations: 3.828 kB / 2.548 GB, free: 238.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003438/7.653, allocations: 200.9 kB / 2.548 GB, free: 238.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002763/7.656, allocations: 0.6327 MB / 2.549 GB, free: 238.3 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003685/7.656, allocations: 25.8 kB / 2.549 GB, free: 238.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006025/7.663, allocations: 1.31 MB / 2.55 GB, free: 237.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/7.663, allocations: 0 / 2.55 GB, free: 237.8 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009567/7.672, allocations: 1.704 MB / 2.552 GB, free: 237.5 MB / 0.9792 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01018/7.682, allocations: 2.189 MB / 2.554 GB, free: 236.8 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002321/7.685, allocations: 461.5 kB / 2.555 GB, free: 236.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009546/7.686, allocations: 6 kB / 2.555 GB, free: 236.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004452/7.69, allocations: 186.3 kB / 2.555 GB, free: 236.6 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002589/7.691, allocations: 46.53 kB / 2.555 GB, free: 236.6 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000274/7.691, allocations: 56.3 kB / 2.555 GB, free: 236.6 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.002798/7.694, allocations: 1.11 MB / 2.556 GB, free: 236.5 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0149/7.709, allocations: 1.408 MB / 2.557 GB, free: 236.4 MB / 0.9792 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.003331/7.712, allocations: 1.193 MB / 2.558 GB, free: 236.3 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.008056/7.72, allocations: 2.087 MB / 2.561 GB, free: 236.2 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/7.72, allocations: 3 kB / 2.561 GB, free: 236.2 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002797/7.723, allocations: 0.6759 MB / 2.561 GB, free: 236.2 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006238/7.729, allocations: 0.676 MB / 2.562 GB, free: 236.2 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/7.74, allocations: 2.64 MB / 2.564 GB, free: 235.5 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002684/7.743, allocations: 1.688 MB / 2.566 GB, free: 234.8 MB / 0.9792 GB Notification: Performance of SimCode: time 1.823e-06/7.743, allocations: 0 / 2.566 GB, free: 234.8 MB / 0.9792 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.fmu > Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1)