Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7814/0.7814, allocations: 141.8 MB / 149.1 MB, free: 1.012 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 173.3 kB / 181.9 MB, free: 280 kB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 221.4 MB / 436 MB, free: 4.973 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 96.56 kB / 0.507 GB, free: 1.637 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001814/0.001814, allocations: 267.7 kB / 0.5884 GB, free: 46.82 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 9.267e-06/9.287e-06, allocations: 2.688 kB / 0.6759 GB, free: 59.45 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1764, allocations: 82.78 MB / 0.7567 GB, free: 264 kB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5011/0.6775, allocations: 114.4 MB / 0.8685 GB, free: 110 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003316/0.6779, allocations: 84.83 kB / 0.8685 GB, free: 110 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.02728/0.7052, allocations: 7.899 MB / 0.8763 GB, free: 109.3 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.364e-05/0.7053, allocations: 2.188 kB / 0.8763 GB, free: 109.3 MB / 0.5419 GB 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.001111/0.7064, allocations: 0.4913 MB / 0.8767 GB, free: 108.9 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.7064, allocations: 10.34 kB / 0.8767 GB, free: 108.9 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006307/0.7071, allocations: 102.8 kB / 0.8768 GB, free: 108.8 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.7073, allocations: 171.4 kB / 0.877 GB, free: 108.6 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.7074, allocations: 42.38 kB / 0.8771 GB, free: 108.6 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.812e-05/0.7074, allocations: 8.031 kB / 0.8771 GB, free: 108.6 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003439/0.7078, allocations: 152.7 kB / 0.8772 GB, free: 108.6 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.708, allocations: 150.3 kB / 0.8773 GB, free: 108.5 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.7081, allocations: 0 / 0.8773 GB, free: 108.5 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.7081, allocations: 0.625 kB / 0.8773 GB, free: 108.5 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.7081, allocations: 4.469 kB / 0.8774 GB, free: 108.5 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.7095, allocations: 0.8878 MB / 0.8782 GB, free: 107.7 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.7098, allocations: 123.5 kB / 0.8783 GB, free: 107.7 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.7099, allocations: 57.7 kB / 0.8784 GB, free: 107.7 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006446/0.7106, allocations: 0.5202 MB / 0.8789 GB, free: 107.1 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.7106, allocations: 35.81 kB / 0.8789 GB, free: 107.1 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=14): time 2.164e-06/0.7106, allocations: 0 / 0.8789 GB, free: 107.1 MB / 0.5419 GB Notification: Performance of matching and sorting (n=14): time 0.0007273/0.7114, allocations: 179.9 kB / 0.8791 GB, free: 107 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.027e-05/0.7114, allocations: 52.97 kB / 0.8792 GB, free: 106.9 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.702e-05/0.7115, allocations: 122 kB / 0.8793 GB, free: 106.9 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.7115, allocations: 26.7 kB / 0.8793 GB, free: 106.8 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 5.381e-05/0.7116, allocations: 129.9 kB / 0.8794 GB, free: 106.7 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/0.7116, allocations: 44.61 kB / 0.8795 GB, free: 106.7 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-05/0.7117, allocations: 4.906 kB / 0.8795 GB, free: 106.7 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 5.834e-05/0.7117, allocations: 324.5 kB / 0.8798 GB, free: 106.3 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.7118, allocations: 60.64 kB / 0.8798 GB, free: 106.3 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.712, allocations: 70.28 kB / 0.8799 GB, free: 106.3 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005115/0.7125, allocations: 96.97 kB / 0.88 GB, free: 106.3 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.7125, allocations: 4 kB / 0.88 GB, free: 106.3 MB / 0.5419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006609/0.7132, allocations: 210.2 kB / 0.8802 GB, free: 106.2 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.7132, allocations: 5.219 kB / 0.8802 GB, free: 106.2 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.7132, allocations: 1.375 kB / 0.8802 GB, free: 106.2 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.7132, allocations: 1.281 kB / 0.8802 GB, free: 106.2 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002894/0.7135, allocations: 42.72 kB / 0.8802 GB, free: 106.2 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.7135, allocations: 5.188 kB / 0.8803 GB, free: 106.2 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.7137, allocations: 26.08 kB / 0.8803 GB, free: 106.2 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.7138, allocations: 12.95 kB / 0.8803 GB, free: 106.2 MB / 0.5419 GB 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 7.512e-05/0.7139, allocations: 105.9 kB / 0.8804 GB, free: 106.1 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-05/0.7139, allocations: 8.688 kB / 0.8804 GB, free: 106.1 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006965/0.7147, allocations: 202.1 kB / 0.8806 GB, free: 106 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.7147, allocations: 5.094 kB / 0.8806 GB, free: 106 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.7147, allocations: 0.5312 kB / 0.8806 GB, free: 106 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.7147, allocations: 4.547 kB / 0.8806 GB, free: 106 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00148/0.7162, allocations: 0.9468 MB / 0.8815 GB, free: 105.1 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.7162, allocations: 1.5 kB / 0.8815 GB, free: 105.1 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002292/0.7164, allocations: 40.34 kB / 0.8816 GB, free: 105.1 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.7164, allocations: 1.094 kB / 0.8816 GB, free: 105.1 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.7165, allocations: 0.9688 kB / 0.8816 GB, free: 105.1 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.7165, allocations: 6.406 kB / 0.8816 GB, free: 105.1 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.7165, allocations: 0 / 0.8816 GB, free: 105.1 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006114/0.7171, allocations: 312.5 kB / 0.8819 GB, free: 104.9 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.169e-05/0.7172, allocations: 100.8 kB / 0.882 GB, free: 104.8 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.806e-05/0.7172, allocations: 1.344 kB / 0.882 GB, free: 104.8 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.7175, allocations: 14.92 kB / 0.882 GB, free: 104.8 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.7175, allocations: 12.36 kB / 0.882 GB, free: 104.8 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.7175, allocations: 12.36 kB / 0.882 GB, free: 104.8 MB / 0.5419 GB Notification: Performance of sort global known variables: time 4.885e-05/0.7176, allocations: 95.72 kB / 0.8821 GB, free: 104.7 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0006549/0.7182, allocations: 138.5 kB / 0.8822 GB, free: 104.7 MB / 0.5419 GB 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.000676/0.7189, allocations: 239.7 kB / 0.8825 GB, free: 104.5 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0002933/0.7192, allocations: 142.7 kB / 0.8826 GB, free: 104.5 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.7192, allocations: 5.094 kB / 0.8826 GB, free: 104.5 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.7194, allocations: 65.12 kB / 0.8827 GB, free: 104.5 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.7196, allocations: 22.08 kB / 0.8827 GB, free: 104.5 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.7212, allocations: 322.3 kB / 0.883 GB, free: 104.3 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002847/0.7215, allocations: 0.7406 MB / 0.8837 GB, free: 103.6 MB / 0.5419 GB Notification: Performance of SimCode: time 3.4e-07/0.7215, allocations: 4 kB / 0.8837 GB, free: 103.6 MB / 0.5419 GB Notification: Performance of Templates: time 0.009663/0.7312, allocations: 4.073 MB / 0.8877 GB, free: 101.5 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)