Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.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.OBC.CDL.Continuous.Validation.SlewRateLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter") [: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.329/2.329, allocations: 253.1 MB / 260.4 MB, free: 7.504 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.001633/0.001633, allocations: 184.9 kB / 319.6 MB, free: 3.34 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.077/2.077, allocations: 205.4 MB / 0.5704 GB, free: 15.1 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.001463/0.001462, allocations: 97.44 kB / 0.6746 GB, free: 4.465 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.266e-05/1.31e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2407, allocations: 106.3 MB / 0.8881 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6917/0.9325, allocations: 132 MB / 1.017 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/0.9328, allocations: 71.77 kB / 1.017 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01632/0.9492, allocations: 2.906 MB / 1.02 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.313e-05/0.9493, allocations: 4 kB / 1.02 GB, free: 3.859 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.002035/0.9513, allocations: 0.6143 MB / 1.02 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.9514, allocations: 8.031 kB / 1.02 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.9515, allocations: 31.62 kB / 1.02 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004424/0.952, allocations: 231.3 kB / 1.021 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.952, allocations: 4 kB / 1.021 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.148e-05/0.952, allocations: 8 kB / 1.021 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004203/0.9525, allocations: 100.6 kB / 1.021 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004207/0.9529, allocations: 120.8 kB / 1.021 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.9529, allocations: 0 / 1.021 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.953, allocations: 0 / 1.021 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.953, allocations: 7.906 kB / 1.021 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002454/0.9555, allocations: 0.6256 MB / 1.022 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/0.9559, allocations: 132.1 kB / 1.022 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002207/0.9561, allocations: 60.3 kB / 1.022 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.907e-05/0.9562, allocations: 4 kB / 1.022 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.9562, allocations: 46.08 kB / 1.022 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=17): time 4.619e-06/0.9563, allocations: 0 / 1.022 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17): time 0.0006111/0.9569, allocations: 156.3 kB / 1.022 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.9569, allocations: 52.44 kB / 1.022 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.9572, allocations: 172.8 kB / 1.022 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.9573, allocations: 25.7 kB / 1.022 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.994e-05/0.9574, allocations: 115.4 kB / 1.022 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.664e-05/0.9575, allocations: 66.09 kB / 1.022 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/0.9575, allocations: 0 / 1.022 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001907/0.9577, allocations: 329.1 kB / 1.023 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.9579, allocations: 49 kB / 1.023 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.9581, allocations: 47.56 kB / 1.023 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.9583, allocations: 47.92 kB / 1.023 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.9583, allocations: 0 / 1.023 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005245/0.9589, allocations: 167.5 kB / 1.023 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.9589, allocations: 4 kB / 1.023 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.9589, allocations: 0.8125 kB / 1.023 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.9589, allocations: 4 kB / 1.023 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009886/0.9599, allocations: 115.5 kB / 1.023 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.96, allocations: 0 / 1.023 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007392/0.9607, allocations: 95.7 kB / 1.023 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-05/0.9608, allocations: 4 kB / 1.023 GB, free: 0.6758 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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.0001156/0.9609, allocations: 108.2 kB / 1.023 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.575e-05/0.961, allocations: 23.72 kB / 1.023 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.942e-05/0.9611, allocations: 28.45 kB / 1.023 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.9611, allocations: 4 kB / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.9611, allocations: 3.938 kB / 1.023 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.9611, allocations: 0 / 1.023 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004708/0.9616, allocations: 254.5 kB / 1.024 GB, free: 276 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.9616, allocations: 0 / 1.024 GB, free: 276 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009576/0.9626, allocations: 115.5 kB / 1.024 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/0.9626, allocations: 7.906 kB / 1.024 GB, free: 156 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.324e-05/0.9627, allocations: 3.984 kB / 1.024 GB, free: 152 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.9627, allocations: 0 / 1.024 GB, free: 152 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.9627, allocations: 0 / 1.024 GB, free: 152 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009431/0.9637, allocations: 347.3 kB / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.204e-05/0.9637, allocations: 96.98 kB / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.891e-05/0.9638, allocations: 8 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000796/0.9646, allocations: 83.61 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.9648, allocations: 23.27 kB / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-05/0.9648, allocations: 7.25 kB / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001804/0.965, allocations: 139.8 kB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004463/0.9655, allocations: 43.84 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (sleRatLim.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002304/0.9657, allocations: 107.2 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004992/0.9662, allocations: 118.7 kB / 1.025 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.9662, allocations: 3.938 kB / 1.025 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002623/0.9665, allocations: 74.8 kB / 1.025 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005003/0.967, allocations: 31.64 kB / 1.025 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.9681, allocations: 280.3 kB / 1.025 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005614/0.9687, allocations: 0.7706 MB / 1.026 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of SimCode: time 7.82e-07/0.9687, allocations: 0 / 1.026 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of Templates: time 0.009164/0.9779, allocations: 2.591 MB / 1.028 GB, free: 11.6 MB / 0.6511 GB