Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.392/1.392, allocations: 285.5 MB / 292.8 MB, free: 10.5 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.001051/0.001051, allocations: 181.3 kB / 361.1 MB, free: 7.09 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.114/1.114, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.0008469/0.0008471, allocations: 96.88 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2142/0.2151, allocations: 121.4 MB / 0.8511 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.546/0.7611, allocations: 115.3 MB / 0.9638 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.751/1.512, allocations: 452.8 MB / 1.406 GB, free: 115 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/1.512, allocations: 91.36 kB / 1.406 GB, free: 115 MB / 0.8542 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 3.073/4.585, allocations: 1.1 GB / 2.506 GB, free: 133.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/4.585, allocations: 9.016 kB / 2.506 GB, free: 133.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006365/4.592, allocations: 1.144 MB / 2.507 GB, free: 133.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007822/4.6, allocations: 2.646 MB / 2.51 GB, free: 132.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000533/4.6, allocations: 181.2 kB / 2.51 GB, free: 132.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004168/4.601, allocations: 80.91 kB / 2.51 GB, free: 132.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003067/4.604, allocations: 1.456 MB / 2.511 GB, free: 132 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002856/4.607, allocations: 1.471 MB / 2.513 GB, free: 131.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/4.607, allocations: 0 / 2.513 GB, free: 131.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001746/4.607, allocations: 3.875 kB / 2.513 GB, free: 131.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/4.607, allocations: 31.53 kB / 2.513 GB, free: 131.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0128/4.62, allocations: 8.111 MB / 2.521 GB, free: 126.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/4.621, allocations: 1.229 MB / 2.522 GB, free: 125.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000605/4.622, allocations: 0.5262 MB / 2.523 GB, free: 125.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004739/4.627, allocations: 3.531 MB / 2.526 GB, free: 123.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/4.627, allocations: 44.53 kB / 2.526 GB, free: 123.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=62): time 2.404e-06/4.627, allocations: 0 / 2.526 GB, free: 123.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=62): time 0.003035/4.63, allocations: 1.401 MB / 2.527 GB, free: 122.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.017e-05/4.63, allocations: 58.97 kB / 2.527 GB, free: 122.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002305/4.632, allocations: 1.456 MB / 2.529 GB, free: 121.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001113/4.632, allocations: 29.08 kB / 2.529 GB, free: 121.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003558/4.633, allocations: 0.6156 MB / 2.53 GB, free: 121.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002284/4.633, allocations: 209.1 kB / 2.53 GB, free: 121.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.44e-05/4.633, allocations: 0 / 2.53 GB, free: 121.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.294e-05/4.633, allocations: 345.4 kB / 2.53 GB, free: 120.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006334/4.634, allocations: 0.5056 MB / 2.531 GB, free: 120.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007847/4.634, allocations: 0.8818 MB / 2.531 GB, free: 120 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001682/4.636, allocations: 0.6546 MB / 2.532 GB, free: 119.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.922e-06/4.636, allocations: 3.281 kB / 2.532 GB, free: 119.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00337/4.639, allocations: 1.708 MB / 2.534 GB, free: 119.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006657/4.64, allocations: 3.735 MB / 2.537 GB, free: 115.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/4.64, allocations: 7.812 kB / 2.537 GB, free: 115.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001264/4.641, allocations: 0.6684 MB / 2.538 GB, free: 115.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/4.643, allocations: 305.6 kB / 2.538 GB, free: 115.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/4.645, allocations: 1.335 MB / 2.54 GB, free: 114.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002938/4.648, allocations: 277.9 kB / 2.54 GB, free: 114.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002048/4.648, allocations: 83.75 kB / 2.54 GB, free: 114.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/4.648, allocations: 6.625 kB / 2.54 GB, free: 114.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004319/4.653, allocations: 1.594 MB / 2.542 GB, free: 113.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/4.653, allocations: 11.25 kB / 2.542 GB, free: 113.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/4.654, allocations: 0.6598 MB / 2.542 GB, free: 113.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/4.655, allocations: 299.8 kB / 2.542 GB, free: 113.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/4.657, allocations: 1.337 MB / 2.544 GB, free: 112.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002207/4.659, allocations: 237.3 kB / 2.544 GB, free: 112.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001873/4.66, allocations: 76.94 kB / 2.544 GB, free: 112.8 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.0003615/4.66, allocations: 135.5 kB / 2.544 GB, free: 112.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005164/4.661, allocations: 177.2 kB / 2.544 GB, free: 112.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004043/4.665, allocations: 1.706 MB / 2.546 GB, free: 112 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/4.665, allocations: 12.08 kB / 2.546 GB, free: 112 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/4.665, allocations: 0 / 2.546 GB, free: 112 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/4.665, allocations: 3.375 kB / 2.546 GB, free: 112 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007982/4.673, allocations: 3.373 MB / 2.549 GB, free: 110.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/4.673, allocations: 1.344 kB / 2.549 GB, free: 110.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/4.674, allocations: 202.3 kB / 2.55 GB, free: 110.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001091/4.675, allocations: 0.6377 MB / 2.55 GB, free: 110.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/4.675, allocations: 23.66 kB / 2.55 GB, free: 110.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00208/4.677, allocations: 1.317 MB / 2.551 GB, free: 109.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/4.677, allocations: 1.625 kB / 2.551 GB, free: 109.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003706/4.681, allocations: 1.712 MB / 2.553 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003816/4.685, allocations: 2.186 MB / 2.555 GB, free: 107.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/4.686, allocations: 456 kB / 2.556 GB, free: 107.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005664/4.686, allocations: 5.609 kB / 2.556 GB, free: 107.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001971/4.688, allocations: 186 kB / 2.556 GB, free: 107.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.244e-05/4.688, allocations: 47.22 kB / 2.556 GB, free: 107.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/4.688, allocations: 52.12 kB / 2.556 GB, free: 107.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.002109/4.691, allocations: 1.114 MB / 2.557 GB, free: 106.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006036/4.697, allocations: 1.404 MB / 2.558 GB, free: 106 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.002305/4.699, allocations: 1.199 MB / 2.56 GB, free: 105.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004523/4.704, allocations: 2.091 MB / 2.562 GB, free: 105 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/4.704, allocations: 7.875 kB / 2.562 GB, free: 105 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001574/4.705, allocations: 0.6664 MB / 2.562 GB, free: 104.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003976/4.709, allocations: 0.6783 MB / 2.563 GB, free: 104.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007043/4.716, allocations: 2.651 MB / 2.566 GB, free: 103.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002233/4.718, allocations: 1.685 MB / 2.567 GB, free: 102.8 MB / 0.948 GB Notification: Performance of SimCode: time 6.01e-07/4.718, allocations: 2.906 kB / 2.567 GB, free: 102.8 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1)