Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") [: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/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 191.1 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4442/0.4442, allocations: 90.85 MB / 99.08 MB, free: 14.96 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 221.4 MB / 342.7 MB, free: 5.352 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009979/0.0009977, allocations: 91.09 kB / 415.5 MB, free: 9.887 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.123e-06/7.163e-06, allocations: 0 / 493.9 MB, free: 11.6 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3381, allocations: 72.31 MB / 0.5529 GB, free: 44.82 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1242/0.4623, allocations: 107.3 MB / 0.6577 GB, free: 1.371 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.4626, allocations: 87.94 kB / 0.6578 GB, free: 1.285 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.02345/0.4861, allocations: 7.904 MB / 0.6655 GB, free: 9.387 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.4861, allocations: 4 kB / 0.6655 GB, free: 9.383 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007811/0.4869, allocations: 0.4902 MB / 0.666 GB, free: 8.844 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.487, allocations: 8.031 kB / 0.666 GB, free: 8.836 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005193/0.4875, allocations: 103.7 kB / 0.6661 GB, free: 8.734 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.4876, allocations: 178.9 kB / 0.6662 GB, free: 8.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.853e-05/0.4877, allocations: 46.19 kB / 0.6663 GB, free: 8.469 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.4877, allocations: 8 kB / 0.6663 GB, free: 8.461 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002676/0.488, allocations: 140 kB / 0.6664 GB, free: 8.324 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.4883, allocations: 141.6 kB / 0.6666 GB, free: 8.18 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.4883, allocations: 0 / 0.6666 GB, free: 8.18 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.4883, allocations: 0 / 0.6666 GB, free: 8.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.4883, allocations: 4.562 kB / 0.6666 GB, free: 8.176 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.4896, allocations: 0.9036 MB / 0.6674 GB, free: 7.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.4899, allocations: 122.7 kB / 0.6676 GB, free: 7.031 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.867e-05/0.49, allocations: 63.23 kB / 0.6676 GB, free: 6.969 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006843/0.4907, allocations: 0.522 MB / 0.6681 GB, free: 6.336 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.4907, allocations: 39.25 kB / 0.6682 GB, free: 6.289 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.4907, allocations: 0 / 0.6682 GB, free: 6.289 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006475/0.4914, allocations: 177.5 kB / 0.6683 GB, free: 6.109 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.4914, allocations: 55.31 kB / 0.6684 GB, free: 6.043 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.185e-05/0.4915, allocations: 113.2 kB / 0.6685 GB, free: 5.926 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.4915, allocations: 25.7 kB / 0.6685 GB, free: 5.895 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.321e-05/0.4916, allocations: 124.1 kB / 0.6686 GB, free: 5.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.4917, allocations: 43.34 kB / 0.6687 GB, free: 5.727 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.107e-05/0.4917, allocations: 2.906 kB / 0.6687 GB, free: 5.727 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.4918, allocations: 318.8 kB / 0.669 GB, free: 5.406 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.4919, allocations: 67.98 kB / 0.6691 GB, free: 5.34 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.492, allocations: 71.78 kB / 0.6691 GB, free: 5.266 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004243/0.4925, allocations: 87.91 kB / 0.6692 GB, free: 5.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4925, allocations: 4 kB / 0.6692 GB, free: 5.176 MB / 490.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006106/0.4931, allocations: 220.7 kB / 0.6694 GB, free: 4.957 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.4931, allocations: 7.938 kB / 0.6694 GB, free: 4.949 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.4931, allocations: 4 kB / 0.6694 GB, free: 4.945 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.4931, allocations: 4.031 kB / 0.6694 GB, free: 4.941 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/0.4934, allocations: 47.91 kB / 0.6695 GB, free: 4.895 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.4934, allocations: 0 / 0.6695 GB, free: 4.895 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.4936, allocations: 23.83 kB / 0.6695 GB, free: 4.871 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.4937, allocations: 11.98 kB / 0.6695 GB, free: 4.859 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.com.isOn,com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 8.824e-05/0.4938, allocations: 105 kB / 0.6696 GB, free: 4.75 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.439e-05/0.4938, allocations: 11.81 kB / 0.6696 GB, free: 4.738 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006284/0.4944, allocations: 202.6 kB / 0.6698 GB, free: 4.535 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.4945, allocations: 4 kB / 0.6698 GB, free: 4.531 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.4945, allocations: 4 kB / 0.6698 GB, free: 4.527 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4945, allocations: 0 / 0.6698 GB, free: 4.527 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/0.496, allocations: 0.9433 MB / 0.6707 GB, free: 3.441 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.496, allocations: 7.906 kB / 0.6708 GB, free: 3.434 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.4962, allocations: 40.03 kB / 0.6708 GB, free: 3.395 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.4963, allocations: 3.938 kB / 0.6708 GB, free: 3.391 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.4963, allocations: 0 / 0.6708 GB, free: 3.391 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.4963, allocations: 4 kB / 0.6708 GB, free: 3.387 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.4963, allocations: 0 / 0.6708 GB, free: 3.387 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005748/0.4969, allocations: 323.1 kB / 0.6711 GB, free: 3.039 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.757e-05/0.4969, allocations: 85.02 kB / 0.6712 GB, free: 2.938 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.791e-05/0.497, allocations: 7.984 kB / 0.6712 GB, free: 2.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.4972, allocations: 15.98 kB / 0.6712 GB, free: 2.914 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.4973, allocations: 14.05 kB / 0.6712 GB, free: 2.902 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.4973, allocations: 4 kB / 0.6712 GB, free: 2.898 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.601e-05/0.4973, allocations: 99.27 kB / 0.6713 GB, free: 2.801 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004946/0.4978, allocations: 135.7 kB / 0.6715 GB, free: 2.668 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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 Backend phase and start with SimCode phase: time 0.0005261/0.4984, allocations: 242.9 kB / 0.6717 GB, free: 2.422 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002917/0.4987, allocations: 139.9 kB / 0.6718 GB, free: 2.285 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4987, allocations: 0 / 0.6718 GB, free: 2.285 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.4988, allocations: 67.94 kB / 0.6719 GB, free: 2.219 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.4991, allocations: 26.97 kB / 0.6719 GB, free: 2.195 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.5006, allocations: 317.2 kB / 0.6722 GB, free: 1.855 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004641/0.5011, allocations: 0.7391 MB / 0.6729 GB, free: 1.09 MB / 490.7 MB Notification: Performance of SimCode: time 1.803e-06/0.5011, allocations: 0 / 0.6729 GB, free: 1.09 MB / 490.7 MB Notification: Performance of Templates: time 0.007537/0.5086, allocations: 4.071 MB / 0.6769 GB, free: 13.07 MB / 0.4948 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)