Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.346/1.346, allocations: 289.8 MB / 297.1 MB, free: 6.672 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.0009895/0.0009895, allocations: 184.2 kB / 366.3 MB, free: 1.969 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.097/1.097, allocations: 205.1 MB / 0.6256 GB, free: 5.816 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.0007753/0.0007754, allocations: 83.88 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.362e-06/6.462e-06, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4602/0.4603, allocations: 116.3 MB / 0.9725 GB, free: 68.27 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1448/0.605, allocations: 139.8 MB / 1.109 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002027/0.6053, allocations: 75.89 kB / 1.109 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.009823/0.6151, allocations: 3.161 MB / 1.112 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.6152, allocations: 4 kB / 1.112 GB, free: 5.543 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.0005647/0.6157, allocations: 443.8 kB / 1.113 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.6158, allocations: 8.031 kB / 1.113 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.688e-05/0.6158, allocations: 19.81 kB / 1.113 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.6161, allocations: 200 kB / 1.113 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.6161, allocations: 0 / 1.113 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.6161, allocations: 7.938 kB / 1.113 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001285/0.6162, allocations: 39.98 kB / 1.113 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.6164, allocations: 76.06 kB / 1.113 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.6164, allocations: 0.5625 kB / 1.113 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.6164, allocations: 0 / 1.113 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.6164, allocations: 7.984 kB / 1.113 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000635/0.6171, allocations: 353.2 kB / 1.113 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.879e-05/0.6172, allocations: 54.56 kB / 1.113 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.648e-05/0.6172, allocations: 28.92 kB / 1.113 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.6173, allocations: 5.125 kB / 1.113 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001173/0.6174, allocations: 83.31 kB / 1.114 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.6174, allocations: 4 kB / 1.114 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002393/0.6177, allocations: 105.5 kB / 1.114 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.6177, allocations: 52.44 kB / 1.114 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.147e-05/0.6178, allocations: 128.3 kB / 1.114 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.6178, allocations: 25.7 kB / 1.114 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.063e-05/0.6179, allocations: 95.98 kB / 1.114 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.6179, allocations: 23.7 kB / 1.114 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.296e-06/0.6179, allocations: 0 / 1.114 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.318e-05/0.618, allocations: 326.8 kB / 1.114 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.808e-05/0.6181, allocations: 28 kB / 1.114 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.202e-05/0.6182, allocations: 35.98 kB / 1.114 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.415e-05/0.6182, allocations: 36.03 kB / 1.114 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.6183, allocations: 1.406 kB / 1.114 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002045/0.6185, allocations: 117.5 kB / 1.114 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.6185, allocations: 4 kB / 1.114 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.6185, allocations: 0 / 1.114 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.6185, allocations: 0 / 1.114 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.6187, allocations: 35.92 kB / 1.114 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.6187, allocations: 0 / 1.114 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.6188, allocations: 31.91 kB / 1.115 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.6189, allocations: 7.906 kB / 1.115 GB, free: 3.008 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.263e-05/0.6189, allocations: 103.3 kB / 1.115 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.734e-05/0.619, allocations: 7.906 kB / 1.115 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.6192, allocations: 124 kB / 1.115 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.6192, allocations: 0 / 1.115 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.6192, allocations: 3.906 kB / 1.115 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.6192, allocations: 3.984 kB / 1.115 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.6194, allocations: 178.2 kB / 1.115 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.6194, allocations: 3.938 kB / 1.115 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.6195, allocations: 23.97 kB / 1.115 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.6195, allocations: 0 / 1.115 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.6195, allocations: 4 kB / 1.115 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.6195, allocations: 3.906 kB / 1.115 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.6196, allocations: 4 kB / 1.115 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001899/0.6197, allocations: 130.1 kB / 1.115 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.782e-05/0.6198, allocations: 85.02 kB / 1.115 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.6198, allocations: 3.906 kB / 1.115 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.62, allocations: 27.98 kB / 1.115 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.553e-05/0.62, allocations: 15.97 kB / 1.115 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.6201, allocations: 4 kB / 1.115 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.114e-05/0.6201, allocations: 99.27 kB / 1.115 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002183/0.6203, allocations: 36 kB / 1.115 GB, free: 2.078 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.0001718/0.6205, allocations: 127.2 kB / 1.115 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001973/0.6207, allocations: 141.2 kB / 1.116 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.6207, allocations: 0 / 1.116 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.633e-05/0.6208, allocations: 69.69 kB / 1.116 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.621, allocations: 7.984 kB / 1.116 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003666/0.6214, allocations: 140.5 kB / 1.116 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/0.6217, allocations: 0.7192 MB / 1.117 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.6217, allocations: 0 / 1.117 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of Templates: time 0.003467/0.6251, allocations: 1.455 MB / 1.118 GB, free: 15.39 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)