Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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 1.6.0+build.1/package.mo): time 0.4841/0.4841, allocations: 94.73 MB / 102 MB, free: 10.37 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001196/0.001196, allocations: 181.5 kB / 125.3 MB, free: 11.99 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.317/1.317, allocations: 170.5 MB / 319 MB, free: 9.355 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001737/0.001738, allocations: 104.5 kB / 381 MB, free: 18.18 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.143e-06/7.163e-06, allocations: 0 / 448.6 MB, free: 2.125 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1399, allocations: 61.51 MB / 0.4981 GB, free: 4.523 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3483/0.4882, allocations: 94.28 MB / 0.5902 GB, free: 8.055 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002022/0.4885, allocations: 71.95 kB / 0.5903 GB, free: 7.984 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.006007/0.4945, allocations: 1.574 MB / 0.5918 GB, free: 6.473 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.4946, allocations: 0 / 0.5918 GB, free: 6.473 MB / 410.7 MB 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.0007732/0.4953, allocations: 469.9 kB / 0.5922 GB, free: 5.961 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.4954, allocations: 8.781 kB / 0.5923 GB, free: 5.953 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.809e-05/0.4955, allocations: 11.81 kB / 0.5923 GB, free: 5.941 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003258/0.4958, allocations: 204.9 kB / 0.5925 GB, free: 5.707 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.4958, allocations: 4 kB / 0.5925 GB, free: 5.703 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.4959, allocations: 8.5 kB / 0.5925 GB, free: 5.695 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001601/0.496, allocations: 59.98 kB / 0.5925 GB, free: 5.637 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.4962, allocations: 101.6 kB / 0.5926 GB, free: 5.531 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.4962, allocations: 0 / 0.5926 GB, free: 5.531 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.4963, allocations: 4 kB / 0.5926 GB, free: 5.527 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.4963, allocations: 8.922 kB / 0.5926 GB, free: 5.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006661/0.497, allocations: 353.2 kB / 0.593 GB, free: 5.137 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.4971, allocations: 82.56 kB / 0.5931 GB, free: 5.047 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.4973, allocations: 72.91 kB / 0.5931 GB, free: 4.973 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.4973, allocations: 4 kB / 0.5931 GB, free: 4.969 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.4975, allocations: 103.4 kB / 0.5932 GB, free: 4.855 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.582e-06/0.4975, allocations: 0 / 0.5932 GB, free: 4.855 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003611/0.4979, allocations: 153 kB / 0.5934 GB, free: 4.703 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.874e-05/0.498, allocations: 93.09 kB / 0.5935 GB, free: 4.594 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.4981, allocations: 123.3 kB / 0.5936 GB, free: 4.461 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.4981, allocations: 29.7 kB / 0.5936 GB, free: 4.426 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.895e-05/0.4982, allocations: 92.22 kB / 0.5937 GB, free: 4.332 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.075e-05/0.4983, allocations: 42.06 kB / 0.5937 GB, free: 4.293 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.055e-05/0.4983, allocations: 0 / 0.5937 GB, free: 4.293 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.4985, allocations: 322.8 kB / 0.594 GB, free: 3.969 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.814e-05/0.4986, allocations: 47.98 kB / 0.5941 GB, free: 3.922 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.207e-05/0.4987, allocations: 55.97 kB / 0.5941 GB, free: 3.867 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.4988, allocations: 49.59 kB / 0.5942 GB, free: 3.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.4988, allocations: 0 / 0.5942 GB, free: 3.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002682/0.4991, allocations: 157.5 kB / 0.5943 GB, free: 3.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.4991, allocations: 8 kB / 0.5943 GB, free: 3.652 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.4991, allocations: 4 kB / 0.5944 GB, free: 3.648 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.4991, allocations: 0 / 0.5944 GB, free: 3.648 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.4993, allocations: 23.89 kB / 0.5944 GB, free: 3.625 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.4993, allocations: 4 kB / 0.5944 GB, free: 3.621 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.4995, allocations: 35.95 kB / 0.5944 GB, free: 3.586 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.518e-05/0.4996, allocations: 4 kB / 0.5944 GB, free: 3.582 MB / 410.7 MB 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.0001153/0.4997, allocations: 150.5 kB / 0.5946 GB, free: 3.422 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.4997, allocations: 15.84 kB / 0.5946 GB, free: 3.406 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.858e-05/0.4998, allocations: 20.48 kB / 0.5946 GB, free: 3.387 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.4998, allocations: 0 / 0.5946 GB, free: 3.387 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4998, allocations: 0.6094 kB / 0.5946 GB, free: 3.387 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.4998, allocations: 0 / 0.5946 GB, free: 3.387 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.4999, allocations: 182.1 kB / 0.5948 GB, free: 3.172 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5, allocations: 4 kB / 0.5948 GB, free: 3.168 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.5001, allocations: 29 kB / 0.5948 GB, free: 3.141 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.5001, allocations: 0 / 0.5948 GB, free: 3.141 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.5001, allocations: 0 / 0.5948 GB, free: 3.141 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5001, allocations: 4 kB / 0.5948 GB, free: 3.137 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.5001, allocations: 0 / 0.5948 GB, free: 3.137 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002865/0.5004, allocations: 193.3 kB / 0.595 GB, free: 2.934 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.5005, allocations: 105.6 kB / 0.5951 GB, free: 2.812 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.5006, allocations: 7.891 kB / 0.5951 GB, free: 2.805 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.5008, allocations: 41.78 kB / 0.5951 GB, free: 2.766 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.5009, allocations: 19.97 kB / 0.5952 GB, free: 2.746 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.5009, allocations: 7.984 kB / 0.5952 GB, free: 2.738 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.466e-05/0.501, allocations: 106.1 kB / 0.5953 GB, free: 2.637 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002101/0.5012, allocations: 23.98 kB / 0.5953 GB, free: 2.613 MB / 410.7 MB 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.0001259/0.5014, allocations: 99.25 kB / 0.5954 GB, free: 2.508 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003236/0.5017, allocations: 215.3 kB / 0.5956 GB, free: 2.285 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.5017, allocations: 0 / 0.5956 GB, free: 2.285 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.5019, allocations: 133.7 kB / 0.5957 GB, free: 2.148 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/0.5021, allocations: 18.92 kB / 0.5957 GB, free: 2.133 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005269/0.5026, allocations: 207.5 kB / 0.5959 GB, free: 1.914 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003399/0.503, allocations: 0.7265 MB / 0.5966 GB, free: 1.164 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.503, allocations: 0 / 0.5966 GB, free: 1.164 MB / 410.7 MB Notification: Performance of Templates: time 0.004523/0.5075, allocations: 1.572 MB / 0.5982 GB, free: 15.63 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)