Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.6789/0.6789, allocations: 127.4 MB / 134.6 MB, free: 4.078 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 181.3 kB / 164.4 MB, free: 6.887 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.224/1.224, allocations: 205.1 MB / 399.1 MB, free: 6.055 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008767/0.0008767, allocations: 85.94 kB / 476.3 MB, free: 8.816 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 6.562e-06/6.582e-06, allocations: 4 kB / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1542, allocations: 76.75 MB / 0.6209 GB, free: 13.92 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3761/0.5304, allocations: 103.2 MB / 0.7217 GB, free: 9.195 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.5307, allocations: 71.95 kB / 0.7217 GB, free: 9.125 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.005963/0.5366, allocations: 1.596 MB / 0.7233 GB, free: 7.535 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.71e-05/0.5367, allocations: 4 kB / 0.7233 GB, free: 7.531 MB / 490.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.0006378/0.5373, allocations: 465.6 kB / 0.7237 GB, free: 7.02 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.5374, allocations: 19.95 kB / 0.7238 GB, free: 7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.462e-05/0.5374, allocations: 7.906 kB / 0.7238 GB, free: 6.992 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.5377, allocations: 206.7 kB / 0.724 GB, free: 6.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.5377, allocations: 4 kB / 0.724 GB, free: 6.746 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.5377, allocations: 11.98 kB / 0.724 GB, free: 6.734 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001629/0.5379, allocations: 59.98 kB / 0.724 GB, free: 6.676 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.5381, allocations: 93.64 kB / 0.7241 GB, free: 6.578 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.5381, allocations: 0 / 0.7241 GB, free: 6.578 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.5381, allocations: 4 kB / 0.7241 GB, free: 6.574 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.5382, allocations: 0 / 0.7241 GB, free: 6.574 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000658/0.5388, allocations: 357.1 kB / 0.7245 GB, free: 6.188 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.539, allocations: 90.55 kB / 0.7246 GB, free: 6.09 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.5391, allocations: 68.91 kB / 0.7246 GB, free: 6.02 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.5391, allocations: 0 / 0.7246 GB, free: 6.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/0.5393, allocations: 104.1 kB / 0.7247 GB, free: 5.906 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 2.665e-06/0.5393, allocations: 96 / 0.7247 GB, free: 5.906 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.000303/0.5396, allocations: 145.4 kB / 0.7249 GB, free: 5.758 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.295e-05/0.5397, allocations: 93.09 kB / 0.725 GB, free: 5.648 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.5398, allocations: 128 kB / 0.7251 GB, free: 5.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.5398, allocations: 25.7 kB / 0.7251 GB, free: 5.488 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.525e-05/0.5399, allocations: 96.06 kB / 0.7252 GB, free: 5.391 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.5399, allocations: 31.61 kB / 0.7252 GB, free: 5.359 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.979e-06/0.5399, allocations: 0 / 0.7252 GB, free: 5.359 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.5401, allocations: 322.8 kB / 0.7255 GB, free: 5.035 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.899e-05/0.5402, allocations: 47.98 kB / 0.7256 GB, free: 4.988 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.034e-05/0.5403, allocations: 63.86 kB / 0.7256 GB, free: 4.926 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.621e-05/0.5404, allocations: 53.59 kB / 0.7257 GB, free: 4.875 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.5404, allocations: 0 / 0.7257 GB, free: 4.875 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002801/0.5407, allocations: 157.6 kB / 0.7258 GB, free: 4.715 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.5407, allocations: 4 kB / 0.7258 GB, free: 4.711 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.5407, allocations: 4.625 kB / 0.7258 GB, free: 4.707 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.5407, allocations: 0 / 0.7258 GB, free: 4.707 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.5409, allocations: 31.28 kB / 0.7259 GB, free: 4.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.5409, allocations: 0 / 0.7259 GB, free: 4.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.5411, allocations: 43.81 kB / 0.7259 GB, free: 4.637 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.5411, allocations: 11.98 kB / 0.7259 GB, free: 4.625 MB / 490.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.0001257/0.5413, allocations: 146.6 kB / 0.7261 GB, free: 4.469 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.5413, allocations: 15.81 kB / 0.7261 GB, free: 4.453 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.207e-05/0.5414, allocations: 8.5 kB / 0.7261 GB, free: 4.449 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.5414, allocations: 0 / 0.7261 GB, free: 4.449 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5414, allocations: 0 / 0.7261 GB, free: 4.449 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.5414, allocations: 0 / 0.7261 GB, free: 4.449 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.5415, allocations: 182.1 kB / 0.7263 GB, free: 4.234 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.5415, allocations: 3.906 kB / 0.7263 GB, free: 4.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.5417, allocations: 23.98 kB / 0.7263 GB, free: 4.207 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.5417, allocations: 7.984 kB / 0.7263 GB, free: 4.199 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.5417, allocations: 3.984 kB / 0.7263 GB, free: 4.195 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.5417, allocations: 0 / 0.7263 GB, free: 4.195 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5417, allocations: 0 / 0.7263 GB, free: 4.195 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002843/0.542, allocations: 207.5 kB / 0.7265 GB, free: 3.977 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/0.5421, allocations: 84.95 kB / 0.7266 GB, free: 3.875 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/0.5421, allocations: 4 kB / 0.7266 GB, free: 3.871 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.5423, allocations: 35.95 kB / 0.7266 GB, free: 3.836 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.5424, allocations: 19.97 kB / 0.7266 GB, free: 3.816 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.5425, allocations: 4 kB / 0.7266 GB, free: 3.812 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.259e-05/0.5425, allocations: 106.4 kB / 0.7267 GB, free: 3.711 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002134/0.5428, allocations: 20 kB / 0.7268 GB, free: 3.691 MB / 490.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.0001286/0.5429, allocations: 107.2 kB / 0.7269 GB, free: 3.574 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003036/0.5432, allocations: 215.3 kB / 0.7271 GB, free: 3.352 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5432, allocations: 0 / 0.7271 GB, free: 3.352 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.5434, allocations: 137.6 kB / 0.7272 GB, free: 3.211 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.5436, allocations: 15.91 kB / 0.7272 GB, free: 3.195 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005098/0.5441, allocations: 211.2 kB / 0.7274 GB, free: 2.965 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002935/0.5444, allocations: 0.7192 MB / 0.7281 GB, free: 2.215 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5444, allocations: 0 / 0.7281 GB, free: 2.215 MB / 490.7 MB Notification: Performance of Templates: time 0.003987/0.5484, allocations: 1.579 MB / 0.7297 GB, free: 0.6484 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)