Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.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.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker") [: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.324/1.324, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0009483/0.0009483, allocations: 173.3 kB / 361.1 MB, free: 7.117 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.026/1.026, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0007933/0.0007933, allocations: 91.89 kB / 0.7326 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.561e-06/5.57e-06, allocations: 0 / 0.8511 GB, free: 3.02 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4287/0.4287, allocations: 115.3 MB / 0.9637 GB, free: 78.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1317/0.5605, allocations: 138.8 MB / 1.099 GB, free: 1.199 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.5607, allocations: 68.62 kB / 1.099 GB, free: 1.133 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.009676/0.5704, allocations: 3.16 MB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.5705, allocations: 8 kB / 1.102 GB, free: 14.03 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005547/0.571, allocations: 443.9 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.951e-05/0.5711, allocations: 8.031 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.328e-05/0.5711, allocations: 13.44 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.5713, allocations: 198.8 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.5713, allocations: 4 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.5713, allocations: 0 / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001172/0.5715, allocations: 39.98 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.5716, allocations: 80.12 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.5716, allocations: 3.984 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.5716, allocations: 0 / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.5717, allocations: 3.938 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005642/0.5722, allocations: 353.2 kB / 1.103 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.253e-05/0.5723, allocations: 50.58 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.747e-05/0.5724, allocations: 40.91 kB / 1.104 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.5724, allocations: 0 / 1.104 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001181/0.5725, allocations: 83.31 kB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.5726, allocations: 0 / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.000236/0.5728, allocations: 102.7 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.5728, allocations: 55.41 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.108e-05/0.5729, allocations: 124.6 kB / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.573, allocations: 29.7 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.875e-05/0.573, allocations: 99.97 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.573, allocations: 23.7 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-06/0.573, allocations: 0 / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.95e-05/0.5731, allocations: 318.8 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.968e-05/0.5732, allocations: 31.98 kB / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.582e-05/0.5733, allocations: 34.72 kB / 1.104 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.639e-05/0.5734, allocations: 37.23 kB / 1.104 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.5734, allocations: 0 / 1.104 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002196/0.5736, allocations: 121.5 kB / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.5736, allocations: 8 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.5736, allocations: 3.984 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.5736, allocations: 0 / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.5738, allocations: 22.05 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.5738, allocations: 7.938 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.574, allocations: 23.92 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.574, allocations: 11.89 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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.12e-05/0.5741, allocations: 105 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.5741, allocations: 11.91 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002212/0.5743, allocations: 118.1 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.5743, allocations: 0 / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.5743, allocations: 3.906 kB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.5743, allocations: 4 kB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.5745, allocations: 178.1 kB / 1.105 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.5745, allocations: 4 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.5746, allocations: 23.98 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.5746, allocations: 2.062 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.5747, allocations: 3.984 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.5747, allocations: 3.906 kB / 1.105 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.5747, allocations: 0 / 1.105 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001923/0.5749, allocations: 131 kB / 1.105 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-05/0.5749, allocations: 89 kB / 1.105 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.5749, allocations: 7.906 kB / 1.105 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.5751, allocations: 15.98 kB / 1.105 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.666e-05/0.5752, allocations: 19.97 kB / 1.105 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.5752, allocations: 0 / 1.105 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.283e-05/0.5752, allocations: 109.7 kB / 1.105 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002157/0.5755, allocations: 36 kB / 1.105 GB, free: 10.58 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 2 * 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.000178/0.5756, allocations: 123 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001943/0.5758, allocations: 141.6 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.5758, allocations: 0 / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.38e-05/0.5759, allocations: 69.69 kB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.5761, allocations: 17.45 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003581/0.5765, allocations: 140.1 kB / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002869/0.5768, allocations: 0.72 MB / 1.107 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.5768, allocations: 0 / 1.107 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of Templates: time 0.003417/0.5802, allocations: 1.455 MB / 1.108 GB, free: 7.891 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)