Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.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.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.202/2.202, allocations: 284.9 MB / 292.2 MB, free: 9.84 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.001525/0.001525, allocations: 174.7 kB / 360.4 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205.2 MB / 0.6188 GB, free: 3.297 MB / 442.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001265/0.001265, allocations: 87.7 kB / 0.7318 GB, free: 1.68 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 8.777e-06/8.857e-06, allocations: 1.344 kB / 0.8502 GB, free: 150.2 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1925, allocations: 115.3 MB / 0.9628 GB, free: 57.01 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5934/0.7859, allocations: 138.4 MB / 1.098 GB, free: 45 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.7862, allocations: 71.16 kB / 1.098 GB, free: 45 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.008406/0.7946, allocations: 1.591 MB / 1.1 GB, free: 44.9 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.7947, allocations: 7.938 kB / 1.1 GB, free: 44.89 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000769/0.7955, allocations: 473.2 kB / 1.1 GB, free: 44.46 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.7955, allocations: 11.53 kB / 1.1 GB, free: 44.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.246e-05/0.7956, allocations: 11.69 kB / 1.1 GB, free: 44.45 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.7958, allocations: 203.4 kB / 1.1 GB, free: 44.25 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.7959, allocations: 0 / 1.1 GB, free: 44.25 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.7959, allocations: 3.75 kB / 1.1 GB, free: 44.25 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002177/0.7961, allocations: 67.91 kB / 1.1 GB, free: 44.25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.7964, allocations: 99.81 kB / 1.1 GB, free: 44.21 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.7964, allocations: 0 / 1.1 GB, free: 44.21 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.7964, allocations: 2.562 kB / 1.1 GB, free: 44.21 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.7964, allocations: 0 / 1.1 GB, free: 44.21 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008043/0.7973, allocations: 346.1 kB / 1.101 GB, free: 43.97 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.7975, allocations: 88.3 kB / 1.101 GB, free: 43.94 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.7976, allocations: 76.64 kB / 1.101 GB, free: 43.93 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.7977, allocations: 1.875 kB / 1.101 GB, free: 43.93 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001932/0.7979, allocations: 106.8 kB / 1.101 GB, free: 43.88 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.843e-06/0.7979, allocations: 0 / 1.101 GB, free: 43.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.000382/0.7983, allocations: 149 kB / 1.101 GB, free: 43.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.7983, allocations: 87.48 kB / 1.101 GB, free: 43.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.7985, allocations: 124.3 kB / 1.101 GB, free: 43.65 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.7985, allocations: 33.64 kB / 1.101 GB, free: 43.61 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.096e-05/0.7985, allocations: 99.22 kB / 1.101 GB, free: 43.52 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.7986, allocations: 24.2 kB / 1.102 GB, free: 43.51 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.604e-05/0.7986, allocations: 3.875 kB / 1.102 GB, free: 43.51 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.88e-05/0.7987, allocations: 324.3 kB / 1.102 GB, free: 43.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.7988, allocations: 50.11 kB / 1.102 GB, free: 43.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.799, allocations: 56.91 kB / 1.102 GB, free: 43.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.7991, allocations: 51.09 kB / 1.102 GB, free: 43.19 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.7991, allocations: 0.6562 kB / 1.102 GB, free: 43.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003593/0.7995, allocations: 159.6 kB / 1.102 GB, free: 43.15 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.7995, allocations: 7.312 kB / 1.102 GB, free: 43.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.7996, allocations: 2.938 kB / 1.102 GB, free: 43.15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.7996, allocations: 0 / 1.102 GB, free: 43.15 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/0.7998, allocations: 27.03 kB / 1.102 GB, free: 43.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.7999, allocations: 4.188 kB / 1.102 GB, free: 43.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003376/0.8002, allocations: 42.3 kB / 1.102 GB, free: 43.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/0.8003, allocations: 3.938 kB / 1.102 GB, free: 43.13 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: 2 * 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.0001199/0.8004, allocations: 149.5 kB / 1.102 GB, free: 42.99 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.15e-05/0.8004, allocations: 15.56 kB / 1.102 GB, free: 42.98 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.108e-05/0.8005, allocations: 8.25 kB / 1.102 GB, free: 42.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.8005, allocations: 6.125 kB / 1.102 GB, free: 42.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.8005, allocations: 0 / 1.102 GB, free: 42.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.8005, allocations: 0 / 1.102 GB, free: 42.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.8007, allocations: 180.2 kB / 1.103 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.8007, allocations: 0 / 1.103 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/0.8009, allocations: 34.81 kB / 1.103 GB, free: 42.81 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.801, allocations: 0 / 1.103 GB, free: 42.81 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.801, allocations: 3.703 kB / 1.103 GB, free: 42.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.801, allocations: 0 / 1.103 GB, free: 42.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.801, allocations: 3.875 kB / 1.103 GB, free: 42.81 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003825/0.8014, allocations: 190 kB / 1.103 GB, free: 42.73 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-05/0.8015, allocations: 84.89 kB / 1.103 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.465e-05/0.8015, allocations: 3.875 kB / 1.103 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003166/0.8018, allocations: 33.77 kB / 1.103 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.802, allocations: 33.73 kB / 1.103 GB, free: 42.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.802, allocations: 8.469 kB / 1.103 GB, free: 42.62 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.408e-05/0.8021, allocations: 103.4 kB / 1.103 GB, free: 42.55 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003155/0.8024, allocations: 27.09 kB / 1.103 GB, free: 42.55 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: 1 * Record equations: 0 * 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.0001222/0.8026, allocations: 104.7 kB / 1.103 GB, free: 42.46 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004104/0.803, allocations: 210 kB / 1.103 GB, free: 42.39 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.803, allocations: 0 / 1.103 GB, free: 42.39 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002465/0.8033, allocations: 145 kB / 1.103 GB, free: 42.36 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.8035, allocations: 10.22 kB / 1.103 GB, free: 42.36 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006643/0.8042, allocations: 204.1 kB / 1.104 GB, free: 42.28 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/0.8044, allocations: 0.7173 MB / 1.104 GB, free: 41.57 MB / 0.7136 GB Notification: Performance of SimCode: time 6.71e-07/0.8044, allocations: 0 / 1.104 GB, free: 41.57 MB / 0.7136 GB Notification: Performance of Templates: time 0.004975/0.8094, allocations: 1.583 MB / 1.106 GB, free: 41.46 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)