Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.177/2.177, allocations: 253.1 MB / 260.4 MB, free: 7.473 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00166/0.001659, allocations: 189.8 kB / 319.6 MB, free: 3.301 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.049/2.049, allocations: 205.4 MB / 0.5704 GB, free: 14.94 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001664/0.001663, allocations: 91.38 kB / 0.6746 GB, free: 4.281 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.256e-05/1.273e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2347, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7001/0.9349, allocations: 133.1 MB / 1.018 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/0.9353, allocations: 70.28 kB / 1.018 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.009819/0.9451, allocations: 1.597 MB / 1.02 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.634e-05/0.9452, allocations: 4 kB / 1.02 GB, free: 3.863 MB / 0.6355 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.001011/0.9462, allocations: 479.7 kB / 1.02 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.9463, allocations: 8.031 kB / 1.02 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.88e-05/0.9463, allocations: 15.89 kB / 1.02 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.9467, allocations: 197.7 kB / 1.02 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.9468, allocations: 0 / 1.02 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/0.9468, allocations: 12.75 kB / 1.02 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00025/0.9471, allocations: 68.66 kB / 1.02 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.9474, allocations: 93.02 kB / 1.02 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.9474, allocations: 0 / 1.02 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.9474, allocations: 0 / 1.02 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.9474, allocations: 11.98 kB / 1.021 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.9484, allocations: 340.4 kB / 1.021 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.9487, allocations: 91.23 kB / 1.021 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.9489, allocations: 80.81 kB / 1.021 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.9489, allocations: 0 / 1.021 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002429/0.9492, allocations: 107.7 kB / 1.021 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.773e-06/0.9492, allocations: 0 / 1.021 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0004585/0.9497, allocations: 141.3 kB / 1.021 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.9498, allocations: 93.08 kB / 1.021 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.95, allocations: 133.5 kB / 1.021 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.95, allocations: 25.7 kB / 1.021 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.9501, allocations: 99.16 kB / 1.022 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.845e-05/0.9502, allocations: 34.8 kB / 1.022 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.859e-05/0.9502, allocations: 4 kB / 1.022 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.9504, allocations: 314.7 kB / 1.022 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.9505, allocations: 56.72 kB / 1.022 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.9507, allocations: 55.98 kB / 1.022 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.9509, allocations: 49.22 kB / 1.022 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.9509, allocations: 0 / 1.022 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000431/0.9513, allocations: 160 kB / 1.022 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.9514, allocations: 4 kB / 1.022 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.9514, allocations: 8 kB / 1.022 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.9514, allocations: 4 kB / 1.022 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003259/0.9517, allocations: 23.97 kB / 1.022 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.9518, allocations: 0 / 1.022 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003639/0.9521, allocations: 43.81 kB / 1.022 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.557e-05/0.9522, allocations: 7.984 kB / 1.022 GB, free: 1.219 MB / 0.6355 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.0001745/0.9524, allocations: 137.9 kB / 1.022 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.964e-05/0.9524, allocations: 15.89 kB / 1.022 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.827e-05/0.9525, allocations: 12.19 kB / 1.022 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.9525, allocations: 4 kB / 1.022 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.9525, allocations: 7.844 kB / 1.022 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.9526, allocations: 192 / 1.022 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.9528, allocations: 177.2 kB / 1.023 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.9528, allocations: 3.938 kB / 1.023 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002254/0.953, allocations: 23.98 kB / 1.023 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.9531, allocations: 0 / 1.023 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.689e-05/0.9531, allocations: 7.984 kB / 1.023 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/0.9531, allocations: 3.906 kB / 1.023 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.9531, allocations: 3.938 kB / 1.023 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004596/0.9536, allocations: 185.3 kB / 1.023 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.85e-05/0.9537, allocations: 92.91 kB / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.888e-05/0.9537, allocations: 7.562 kB / 1.023 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003342/0.9541, allocations: 31.97 kB / 1.023 GB, free: 500 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.9542, allocations: 23.45 kB / 1.023 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/0.9543, allocations: 4 kB / 1.023 GB, free: 476 kB / 0.6355 GB Notification: Performance of sort global known variables: time 9.542e-05/0.9544, allocations: 109.8 kB / 1.023 GB, free: 376 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003386/0.9547, allocations: 24.12 kB / 1.023 GB, free: 352 kB / 0.6355 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.0002394/0.955, allocations: 99.19 kB / 1.023 GB, free: 244 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005107/0.9555, allocations: 220.4 kB / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.9556, allocations: 0 / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003095/0.9559, allocations: 136.5 kB / 1.024 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.9562, allocations: 12 kB / 1.024 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008224/0.957, allocations: 217.3 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004568/0.9575, allocations: 0.7187 MB / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of SimCode: time 1.012e-06/0.9575, allocations: 3.938 kB / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of Templates: time 0.006162/0.9636, allocations: 1.579 MB / 1.026 GB, free: 13.43 MB / 0.6511 GB