Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.442/2.442, allocations: 284.9 MB / 292.2 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001702/0.001701, allocations: 173.3 kB / 360.4 MB, free: 7.453 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.919/1.919, allocations: 205.1 MB / 0.6188 GB, free: 12.37 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001251/0.00125, allocations: 84.94 kB / 0.7318 GB, free: 44.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.02e-05/1.03e-05, allocations: 0 / 0.8502 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6898/0.6899, allocations: 115.2 MB / 0.9628 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2353/0.9252, allocations: 143.6 MB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003563/0.9256, allocations: 87.03 kB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.04115/0.9668, allocations: 7.766 MB / 1.111 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.37e-05/0.9668, allocations: 4 kB / 1.111 GB, free: 5.34 MB / 0.7136 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.001171/0.968, allocations: 494 kB / 1.111 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.9681, allocations: 8.531 kB / 1.111 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009321/0.969, allocations: 107.7 kB / 1.111 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.9692, allocations: 171 kB / 1.111 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.9693, allocations: 45.62 kB / 1.111 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.431e-05/0.9694, allocations: 11.91 kB / 1.111 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004931/0.9699, allocations: 140 kB / 1.112 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004226/0.9703, allocations: 148.6 kB / 1.112 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.9704, allocations: 0 / 1.112 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.252e-05/0.9704, allocations: 0 / 1.112 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.9704, allocations: 4 kB / 1.112 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002203/0.9726, allocations: 0.8902 MB / 1.113 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000362/0.973, allocations: 118.7 kB / 1.113 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.9732, allocations: 64.84 kB / 1.113 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/0.9744, allocations: 0.522 MB / 1.113 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.9744, allocations: 40.12 kB / 1.113 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 4.688e-06/0.9744, allocations: 0 / 1.113 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.000988/0.9754, allocations: 177.5 kB / 1.114 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.9755, allocations: 59.34 kB / 1.114 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.9756, allocations: 118.6 kB / 1.114 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.9757, allocations: 25.7 kB / 1.114 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.547e-05/0.9758, allocations: 128.1 kB / 1.114 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.58e-05/0.9758, allocations: 39.36 kB / 1.114 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.741e-05/0.9759, allocations: 0 / 1.114 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.976, allocations: 322.8 kB / 1.114 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.9763, allocations: 56 kB / 1.114 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.9765, allocations: 79.25 kB / 1.114 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006759/0.9772, allocations: 91 kB / 1.114 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.9772, allocations: 4 kB / 1.114 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001012/0.9782, allocations: 219 kB / 1.115 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.9782, allocations: 4.781 kB / 1.115 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.9783, allocations: 0 / 1.115 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.9783, allocations: 10.06 kB / 1.115 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004862/0.9788, allocations: 39.97 kB / 1.115 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.528e-05/0.9788, allocations: 4 kB / 1.115 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003326/0.9792, allocations: 23.86 kB / 1.115 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.9792, allocations: 4 kB / 1.115 GB, free: 0.8398 MB / 0.7136 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 0.0001263/0.9793, allocations: 112.7 kB / 1.115 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.983e-05/0.9794, allocations: 7.906 kB / 1.115 GB, free: 0.7148 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/0.9805, allocations: 212.7 kB / 1.115 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.9805, allocations: 1.562 kB / 1.115 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.9805, allocations: 0 / 1.115 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.9805, allocations: 4 kB / 1.115 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002556/0.9831, allocations: 0.9518 MB / 1.116 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.9831, allocations: 0 / 1.116 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004191/0.9836, allocations: 35.92 kB / 1.116 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/0.9836, allocations: 4 kB / 1.116 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.9836, allocations: 3.984 kB / 1.116 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.9836, allocations: 8.062 kB / 1.116 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.9837, allocations: 3.906 kB / 1.116 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009972/0.9847, allocations: 311.6 kB / 1.116 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.579e-05/0.9848, allocations: 95.42 kB / 1.116 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.143e-05/0.9848, allocations: 4 kB / 1.116 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000405/0.9852, allocations: 15.97 kB / 1.116 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.559e-05/0.9853, allocations: 11.98 kB / 1.116 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.672e-05/0.9854, allocations: 6.25 kB / 1.116 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.794e-05/0.9854, allocations: 99.27 kB / 1.117 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007102/0.9862, allocations: 139.7 kB / 1.117 GB, free: 14.63 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.0007645/0.9869, allocations: 238.9 kB / 1.117 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004638/0.9874, allocations: 135.9 kB / 1.117 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.9874, allocations: 8 kB / 1.117 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.9877, allocations: 67.92 kB / 1.117 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.988, allocations: 21.23 kB / 1.117 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.9907, allocations: 318.4 kB / 1.117 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005169/0.9912, allocations: 0.7352 MB / 1.118 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of SimCode: time 1.262e-06/0.9913, allocations: 4 kB / 1.118 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of Templates: time 0.01252/1.004, allocations: 4.066 MB / 1.122 GB, free: 9.082 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)