Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") translateModel(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7863/0.7863, allocations: 141.8 MB / 149.1 MB, free: 13.27 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009969/0.0009969, allocations: 178.1 kB / 181.9 MB, free: 9.941 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.205/1.205, allocations: 221.4 MB / 436 MB, free: 2.414 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009419/0.0009419, allocations: 91.91 kB / 0.507 GB, free: 11.13 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001764/0.001764, allocations: 287.5 kB / 0.5884 GB, free: 7.984 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 5.48e-06/5.58e-06, allocations: 0 / 0.6759 GB, free: 14.36 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.3857, allocations: 82.76 MB / 0.7567 GB, free: 139.2 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1168/0.5025, allocations: 109.4 MB / 0.8636 GB, free: 29.57 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.5029, allocations: 76.39 kB / 0.8636 GB, free: 29.5 MB / 0.5575 GB Notification: Performance of FrontEnd: time 0.009208/0.5121, allocations: 3.225 MB / 0.8668 GB, free: 26.32 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.5121, allocations: 0.6562 kB / 0.8668 GB, free: 26.32 MB / 0.5575 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.000554/0.5127, allocations: 440.8 kB / 0.8672 GB, free: 25.85 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.5127, allocations: 10.5 kB / 0.8672 GB, free: 25.84 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.295e-05/0.5128, allocations: 11.81 kB / 0.8672 GB, free: 25.83 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.513, allocations: 194 kB / 0.8674 GB, free: 25.6 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.513, allocations: 8.531 kB / 0.8674 GB, free: 25.59 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.5131, allocations: 0 / 0.8674 GB, free: 25.59 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001213/0.5132, allocations: 47.94 kB / 0.8675 GB, free: 25.55 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.5133, allocations: 74.31 kB / 0.8675 GB, free: 25.47 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.5133, allocations: 0 / 0.8675 GB, free: 25.47 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.5134, allocations: 7.922 kB / 0.8676 GB, free: 25.46 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.5134, allocations: 0 / 0.8676 GB, free: 25.46 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005507/0.5139, allocations: 353.1 kB / 0.8679 GB, free: 25.08 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.561e-05/0.514, allocations: 58.56 kB / 0.8679 GB, free: 25.01 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.446e-05/0.5141, allocations: 32.91 kB / 0.868 GB, free: 24.98 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.5141, allocations: 0 / 0.868 GB, free: 24.98 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001021/0.5142, allocations: 75.39 kB / 0.8681 GB, free: 24.89 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.5142, allocations: 0 / 0.8681 GB, free: 24.89 MB / 0.5575 GB Notification: Performance of matching and sorting (n=9): time 0.0002458/0.5145, allocations: 105.5 kB / 0.8682 GB, free: 24.78 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.019e-05/0.5145, allocations: 55.41 kB / 0.8682 GB, free: 24.71 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.659e-05/0.5146, allocations: 128.9 kB / 0.8683 GB, free: 24.58 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.5146, allocations: 25.7 kB / 0.8684 GB, free: 24.55 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 3.442e-05/0.5147, allocations: 96.06 kB / 0.8684 GB, free: 24.45 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.5147, allocations: 23.62 kB / 0.8685 GB, free: 24.43 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.126e-06/0.5147, allocations: 0 / 0.8685 GB, free: 24.43 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 5.652e-05/0.5148, allocations: 318.8 kB / 0.8688 GB, free: 24.11 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.476e-05/0.5148, allocations: 35.98 kB / 0.8688 GB, free: 24.07 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.067e-05/0.5149, allocations: 32 kB / 0.8688 GB, free: 24.04 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.201e-05/0.515, allocations: 37.11 kB / 0.8689 GB, free: 24.01 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.515, allocations: 4 kB / 0.8689 GB, free: 24 MB / 0.5575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001828/0.5152, allocations: 113.5 kB / 0.869 GB, free: 23.89 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.5152, allocations: 11.91 kB / 0.869 GB, free: 23.88 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.5152, allocations: 3.984 kB / 0.869 GB, free: 23.87 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.5152, allocations: 0 / 0.869 GB, free: 23.87 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.5154, allocations: 31.97 kB / 0.869 GB, free: 23.84 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.5154, allocations: 0 / 0.869 GB, free: 23.84 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.5156, allocations: 19.92 kB / 0.869 GB, free: 23.82 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.5156, allocations: 8 kB / 0.8691 GB, free: 23.81 MB / 0.5575 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 5.853e-05/0.5157, allocations: 114.1 kB / 0.8692 GB, free: 23.7 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.5157, allocations: 15.83 kB / 0.8692 GB, free: 23.68 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002156/0.5159, allocations: 114.3 kB / 0.8693 GB, free: 23.56 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.5159, allocations: 0 / 0.8693 GB, free: 23.56 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5159, allocations: 4 kB / 0.8693 GB, free: 23.55 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.5159, allocations: 4 kB / 0.8693 GB, free: 23.55 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.516, allocations: 174.2 kB / 0.8695 GB, free: 23.34 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.5161, allocations: 4 kB / 0.8695 GB, free: 23.34 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.5162, allocations: 39.84 kB / 0.8695 GB, free: 23.3 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.5162, allocations: 0 / 0.8695 GB, free: 23.3 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.5162, allocations: 0 / 0.8695 GB, free: 23.3 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.5162, allocations: 0 / 0.8695 GB, free: 23.3 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5162, allocations: 0 / 0.8695 GB, free: 23.3 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001667/0.5164, allocations: 132.9 kB / 0.8696 GB, free: 23.15 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.569e-05/0.5164, allocations: 85.02 kB / 0.8697 GB, free: 23.05 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.5165, allocations: 4 kB / 0.8697 GB, free: 23.05 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.5166, allocations: 23.88 kB / 0.8697 GB, free: 23.02 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.206e-05/0.5167, allocations: 11.98 kB / 0.8698 GB, free: 23.01 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.5167, allocations: 7.984 kB / 0.8698 GB, free: 23 MB / 0.5575 GB Notification: Performance of sort global known variables: time 4.266e-05/0.5167, allocations: 109.6 kB / 0.8699 GB, free: 22.9 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0002432/0.517, allocations: 43.92 kB / 0.8699 GB, free: 22.86 MB / 0.5575 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.0001503/0.5172, allocations: 111.2 kB / 0.87 GB, free: 22.74 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.0001925/0.5174, allocations: 139.4 kB / 0.8701 GB, free: 22.59 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.5174, allocations: 0 / 0.8701 GB, free: 22.59 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 8.028e-05/0.5174, allocations: 73.62 kB / 0.8702 GB, free: 22.51 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.5176, allocations: 8 kB / 0.8702 GB, free: 22.5 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003648/0.518, allocations: 143.4 kB / 0.8704 GB, free: 22.34 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.5182, allocations: 0.7114 MB / 0.8711 GB, free: 21.6 MB / 0.5575 GB Notification: Performance of SimCode: time 2.9e-07/0.5182, allocations: 3.938 kB / 0.8711 GB, free: 21.6 MB / 0.5575 GB Notification: Performance of Templates: time 0.003354/0.5215, allocations: 1.464 MB / 0.8725 GB, free: 20.16 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)