Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.54/1.54, allocations: 289.8 MB / 297.1 MB, free: 6.699 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.00117/0.00117, allocations: 175.9 kB / 366.3 MB, free: 2.008 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.602/1.602, allocations: 205.1 MB / 0.6256 GB, free: 5.855 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.001066/0.001066, allocations: 87.25 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.859e-06/9.989e-06, allocations: 0 / 0.859 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6404/0.6404, allocations: 116.3 MB / 0.9726 GB, free: 68.22 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1749/0.8154, allocations: 144.7 MB / 1.114 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/0.8157, allocations: 84.75 kB / 1.114 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02495/0.8407, allocations: 7.768 MB / 1.122 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.8407, allocations: 7.938 kB / 1.122 GB, free: 11.96 MB / 0.7292 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.0008525/0.8416, allocations: 490 kB / 1.122 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.8416, allocations: 16.03 kB / 1.122 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005503/0.8422, allocations: 95.72 kB / 1.122 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.8424, allocations: 172.6 kB / 1.122 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.8425, allocations: 45.69 kB / 1.122 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.8426, allocations: 11.91 kB / 1.122 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002967/0.8429, allocations: 140 kB / 1.123 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.8431, allocations: 153.4 kB / 1.123 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.8432, allocations: 0 / 1.123 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.8432, allocations: 0 / 1.123 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.8432, allocations: 4 kB / 1.123 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.8447, allocations: 0.8901 MB / 1.124 GB, free: 9.758 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.845, allocations: 118.6 kB / 1.124 GB, free: 9.633 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.8451, allocations: 56.86 kB / 1.124 GB, free: 9.574 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006968/0.8458, allocations: 0.522 MB / 1.124 GB, free: 8.941 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.8458, allocations: 34.56 kB / 1.124 GB, free: 8.898 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 1.974e-06/0.8458, allocations: 0 / 1.124 GB, free: 8.898 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.0006728/0.8465, allocations: 173.5 kB / 1.124 GB, free: 8.723 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.8465, allocations: 56 kB / 1.124 GB, free: 8.656 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.8467, allocations: 130.8 kB / 1.125 GB, free: 8.523 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.8467, allocations: 29.7 kB / 1.125 GB, free: 8.488 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.8468, allocations: 120 kB / 1.125 GB, free: 8.367 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.06e-05/0.8469, allocations: 43.36 kB / 1.125 GB, free: 8.324 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/0.8469, allocations: 0 / 1.125 GB, free: 8.324 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.847, allocations: 322.8 kB / 1.125 GB, free: 8 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.8471, allocations: 60.7 kB / 1.125 GB, free: 7.941 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.8473, allocations: 80.39 kB / 1.125 GB, free: 7.859 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004615/0.8477, allocations: 95.92 kB / 1.125 GB, free: 7.766 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.8477, allocations: 0 / 1.125 GB, free: 7.766 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006535/0.8484, allocations: 209.5 kB / 1.125 GB, free: 7.555 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.8484, allocations: 8 kB / 1.126 GB, free: 7.547 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.8484, allocations: 3.984 kB / 1.126 GB, free: 7.543 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.8485, allocations: 7.891 kB / 1.126 GB, free: 7.535 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.8488, allocations: 44.61 kB / 1.126 GB, free: 7.492 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.8488, allocations: 3.984 kB / 1.126 GB, free: 7.488 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.849, allocations: 23.83 kB / 1.126 GB, free: 7.465 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.849, allocations: 4 kB / 1.126 GB, free: 7.461 MB / 0.7292 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 9.659e-05/0.8491, allocations: 104.9 kB / 1.126 GB, free: 7.352 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.53e-05/0.8492, allocations: 11.91 kB / 1.126 GB, free: 7.34 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006478/0.8498, allocations: 205.9 kB / 1.126 GB, free: 7.133 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.8498, allocations: 4.656 kB / 1.126 GB, free: 7.129 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.8498, allocations: 3.984 kB / 1.126 GB, free: 7.125 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.8499, allocations: 0 / 1.126 GB, free: 7.125 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.8514, allocations: 0.9534 MB / 1.127 GB, free: 6.031 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.8514, allocations: 0 / 1.127 GB, free: 6.031 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.8517, allocations: 36.03 kB / 1.127 GB, free: 5.996 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.8517, allocations: 3.938 kB / 1.127 GB, free: 5.992 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.8517, allocations: 4.75 kB / 1.127 GB, free: 5.988 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.8517, allocations: 0 / 1.127 GB, free: 5.988 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.8517, allocations: 3.906 kB / 1.127 GB, free: 5.984 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006329/0.8524, allocations: 320.1 kB / 1.127 GB, free: 5.641 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.063e-05/0.8524, allocations: 96.91 kB / 1.127 GB, free: 5.527 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.485e-05/0.8525, allocations: 0 / 1.127 GB, free: 5.527 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.8527, allocations: 15.98 kB / 1.127 GB, free: 5.512 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.8528, allocations: 11.97 kB / 1.127 GB, free: 5.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.8528, allocations: 8.656 kB / 1.127 GB, free: 5.492 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.089e-05/0.8529, allocations: 95.28 kB / 1.127 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005779/0.8535, allocations: 135.7 kB / 1.128 GB, free: 5.266 MB / 0.7292 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.0007112/0.8542, allocations: 242.9 kB / 1.128 GB, free: 5.02 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003179/0.8545, allocations: 146.8 kB / 1.128 GB, free: 4.879 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.8545, allocations: 0 / 1.128 GB, free: 4.879 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.8546, allocations: 63.94 kB / 1.128 GB, free: 4.816 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.8549, allocations: 20.64 kB / 1.128 GB, free: 4.797 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.8566, allocations: 326 kB / 1.128 GB, free: 4.449 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005894/0.8572, allocations: 0.743 MB / 1.129 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of SimCode: time 5.31e-07/0.8572, allocations: 0 / 1.129 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of Templates: time 0.008834/0.866, allocations: 4.066 MB / 1.133 GB, free: 15.67 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)