Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.666/1.666, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.00128/0.001279, allocations: 177.3 kB / 361.1 MB, free: 7.105 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.566/1.566, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.000926/0.0009261, allocations: 88.12 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.101e-05/1.11e-05, allocations: 4 kB / 0.8511 GB, free: 2.973 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6942/0.6943, allocations: 115.3 MB / 0.9637 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.186/0.8803, allocations: 143.8 MB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002007/0.8805, allocations: 83.09 kB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02427/0.9048, allocations: 7.776 MB / 1.112 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.9049, allocations: 4 kB / 1.112 GB, free: 4.48 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.0008245/0.9057, allocations: 496.6 kB / 1.112 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.9058, allocations: 8.531 kB / 1.112 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005796/0.9063, allocations: 103.7 kB / 1.112 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.9065, allocations: 171 kB / 1.112 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.246e-05/0.9066, allocations: 41.69 kB / 1.113 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/0.9067, allocations: 11.91 kB / 1.113 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003145/0.907, allocations: 143.9 kB / 1.113 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.9072, allocations: 148.9 kB / 1.113 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.9073, allocations: 0 / 1.113 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.9073, allocations: 0 / 1.113 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.9073, allocations: 4 kB / 1.113 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.9088, allocations: 0.8852 MB / 1.114 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.909, allocations: 122.6 kB / 1.114 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.9091, allocations: 60.84 kB / 1.114 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007408/0.9099, allocations: 0.5181 MB / 1.114 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.9099, allocations: 40.23 kB / 1.114 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.442e-06/0.9099, allocations: 0 / 1.114 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0006687/0.9106, allocations: 175.4 kB / 1.115 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.9106, allocations: 55.34 kB / 1.115 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.9108, allocations: 116.9 kB / 1.115 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.9108, allocations: 29.7 kB / 1.115 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.261e-05/0.9109, allocations: 124.1 kB / 1.115 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.791e-05/0.9109, allocations: 39.36 kB / 1.115 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.113e-05/0.9109, allocations: 3.938 kB / 1.115 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.9111, allocations: 322.8 kB / 1.115 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.9112, allocations: 59.95 kB / 1.115 GB, free: 480 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.9113, allocations: 79.02 kB / 1.115 GB, free: 396 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004269/0.9117, allocations: 91.91 kB / 1.115 GB, free: 304 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.9118, allocations: 4 kB / 1.115 GB, free: 300 kB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006146/0.9124, allocations: 216.4 kB / 1.116 GB, free: 80 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.9124, allocations: 6.969 kB / 1.116 GB, free: 76 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.9124, allocations: 0 / 1.116 GB, free: 76 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.9124, allocations: 7.906 kB / 1.116 GB, free: 68 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/0.9127, allocations: 39.91 kB / 1.116 GB, free: 28 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.9128, allocations: 4 kB / 1.116 GB, free: 24 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.913, allocations: 23.86 kB / 1.116 GB, free: 0 / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.521e-05/0.913, allocations: 4.047 kB / 1.116 GB, free: 15.99 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 0.0001034/0.9131, allocations: 108.9 kB / 1.116 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/0.9132, allocations: 7.906 kB / 1.116 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006476/0.9138, allocations: 218.9 kB / 1.116 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.9139, allocations: 2.625 kB / 1.116 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.9139, allocations: 4 kB / 1.116 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.9139, allocations: 0 / 1.116 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/0.9154, allocations: 0.9568 MB / 1.117 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.9155, allocations: 0 / 1.117 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/0.9157, allocations: 31.92 kB / 1.117 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.9157, allocations: 4 kB / 1.117 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.9157, allocations: 3.984 kB / 1.117 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.9158, allocations: 8.062 kB / 1.117 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.9158, allocations: 3.906 kB / 1.117 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006026/0.9164, allocations: 308.4 kB / 1.117 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.766e-05/0.9164, allocations: 92.92 kB / 1.117 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/0.9165, allocations: 9.688 kB / 1.117 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.9167, allocations: 15.97 kB / 1.117 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.9168, allocations: 11.92 kB / 1.117 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.9168, allocations: 4 kB / 1.117 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.843e-05/0.9169, allocations: 99.27 kB / 1.118 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005477/0.9174, allocations: 139.7 kB / 1.118 GB, free: 13.79 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.0005737/0.918, allocations: 238.7 kB / 1.118 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002779/0.9183, allocations: 139.9 kB / 1.118 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.9183, allocations: 4.062 kB / 1.118 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.9184, allocations: 71.92 kB / 1.118 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.9187, allocations: 15.98 kB / 1.118 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.9202, allocations: 326.6 kB / 1.118 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003691/0.9206, allocations: 0.736 MB / 1.119 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of SimCode: time 3.01e-07/0.9206, allocations: 4 kB / 1.119 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of Templates: time 0.007999/0.9286, allocations: 4.069 MB / 1.123 GB, free: 8.23 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)