Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",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 7.0.3-maint.7.0.x/package.mo): time 1.225/1.225, allocations: 249.4 MB / 256.7 MB, free: 6.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009701/0.0009702, allocations: 185.2 kB / 316 MB, free: 3.527 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.134/1.134, allocations: 205.2 MB / 0.5667 GB, free: 15.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008133/0.0008133, allocations: 87.34 kB / 0.671 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.345/0.3459, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.5168, allocations: 106.3 MB / 0.8846 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.058/1.575, allocations: 406.3 MB / 1.281 GB, free: 326.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/1.576, allocations: 87.55 kB / 1.281 GB, free: 326.5 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 1.286/2.861, allocations: 0.541 GB / 1.823 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/2.861, allocations: 8 kB / 1.823 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003202/2.865, allocations: 0.6489 MB / 1.823 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002471/2.867, allocations: 1.586 MB / 1.825 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/2.867, allocations: 83.67 kB / 1.825 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/2.867, allocations: 62.84 kB / 1.825 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001544/2.869, allocations: 1.097 MB / 1.826 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/2.87, allocations: 1.08 MB / 1.827 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/2.87, allocations: 0 / 1.827 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.775e-05/2.87, allocations: 0 / 1.827 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.94e-05/2.87, allocations: 27.94 kB / 1.827 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006642/2.877, allocations: 5.455 MB / 1.832 GB, free: 111 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009992/2.878, allocations: 0.8458 MB / 1.833 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005223/2.879, allocations: 486.5 kB / 1.834 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005688/2.879, allocations: 1.079 MB / 1.835 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006167/2.88, allocations: 0.5439 MB / 1.835 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=60): time 2.866e-06/2.88, allocations: 0 / 1.835 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=60): time 0.001803/2.882, allocations: 0.9909 MB / 1.836 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/2.882, allocations: 59.91 kB / 1.836 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/2.883, allocations: 1.013 MB / 1.837 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.154e-05/2.883, allocations: 25.7 kB / 1.837 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000236/2.883, allocations: 447.8 kB / 1.838 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/2.883, allocations: 201 kB / 1.838 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.204e-05/2.883, allocations: 0 / 1.838 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.484e-05/2.883, allocations: 330 kB / 1.838 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004912/2.884, allocations: 421.4 kB / 1.839 GB, free: 104.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005795/2.884, allocations: 0.649 MB / 1.839 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000938/2.885, allocations: 461.3 kB / 1.84 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/2.885, allocations: 0 / 1.84 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001832/2.887, allocations: 1.118 MB / 1.841 GB, free: 102 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/2.887, allocations: 8 kB / 1.841 GB, free: 102 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/2.887, allocations: 4 kB / 1.841 GB, free: 102 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/2.887, allocations: 8 kB / 1.841 GB, free: 102 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/2.889, allocations: 285 kB / 1.841 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/2.889, allocations: 8 kB / 1.841 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/2.89, allocations: 191.5 kB / 1.841 GB, free: 101.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/2.89, allocations: 59.86 kB / 1.841 GB, free: 101.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,absIndSte.on,$PRE.onOff.pulseStart,onOff.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * 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.0001849/2.89, allocations: 128.1 kB / 1.841 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001846/2.891, allocations: 130.4 kB / 1.842 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002358/2.893, allocations: 1.216 MB / 1.843 GB, free: 100 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/2.893, allocations: 11.17 kB / 1.843 GB, free: 100 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/2.893, allocations: 0 / 1.843 GB, free: 100 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001547/2.895, allocations: 1.034 MB / 1.844 GB, free: 98.96 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004194/2.899, allocations: 2.649 MB / 1.846 GB, free: 96.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/2.899, allocations: 7.469 kB / 1.846 GB, free: 96.27 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/2.9, allocations: 237.8 kB / 1.847 GB, free: 96.04 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.184e-05/2.9, allocations: 4 kB / 1.847 GB, free: 96.04 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.057e-05/2.9, allocations: 23.88 kB / 1.847 GB, free: 96.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/2.9, allocations: 4 kB / 1.847 GB, free: 96.01 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/2.9, allocations: 4 kB / 1.847 GB, free: 96.01 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002641/2.903, allocations: 2.014 MB / 1.849 GB, free: 93.93 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003468/2.906, allocations: 3.113 MB / 1.852 GB, free: 90.74 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006548/2.907, allocations: 375.2 kB / 1.852 GB, free: 90.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002918/2.907, allocations: 6.781 kB / 1.852 GB, free: 90.35 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/2.909, allocations: 149.2 kB / 1.852 GB, free: 90.22 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/2.909, allocations: 40.44 kB / 1.852 GB, free: 90.18 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/2.909, allocations: 55.95 kB / 1.852 GB, free: 90.12 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001068/2.91, allocations: 0.7702 MB / 1.853 GB, free: 89.35 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002257/2.912, allocations: 0.5879 MB / 1.854 GB, free: 88.77 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (absIndSte.vol1.dynBal.U,absIndSte.vol2.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,absIndSte.on,onOff.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 1 * 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.001226/2.913, allocations: 0.6619 MB / 1.854 GB, free: 88.22 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001211/2.915, allocations: 0.9079 MB / 1.855 GB, free: 87.31 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/2.915, allocations: 7.984 kB / 1.855 GB, free: 87.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006167/2.915, allocations: 0.4893 MB / 1.856 GB, free: 86.82 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002381/2.918, allocations: 0.5177 MB / 1.856 GB, free: 86.34 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004274/2.922, allocations: 2.044 MB / 1.858 GB, free: 84.26 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001169/2.923, allocations: 1.407 MB / 1.859 GB, free: 82.82 MB / 0.8698 GB Notification: Performance of SimCode: time 7.42e-07/2.923, allocations: 0 / 1.859 GB, free: 82.82 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)