Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") [: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.405/2.405, allocations: 253.1 MB / 260.4 MB, free: 0.5977 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.001786/0.001785, allocations: 187.6 kB / 319.6 MB, free: 7.703 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.424/2.424, allocations: 205.4 MB / 0.5704 GB, free: 25.82 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.001353/0.001352, allocations: 85.22 kB / 0.6746 GB, free: 3.316 MB / 0.4949 GB Notification: Performance of FrontEnd - loaded program: time 1.665e-05/1.682e-05, allocations: 4 kB / 0.7843 GB, free: 2.922 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7225/0.7226, allocations: 106.2 MB / 0.8881 GB, free: 77.15 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2448/0.9675, allocations: 130.7 MB / 1.016 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/0.9679, allocations: 67.95 kB / 1.016 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.004492/0.9724, allocations: 0.6581 MB / 1.016 GB, free: 9.527 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.9725, allocations: 0 / 1.016 GB, free: 9.527 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000665/0.9732, allocations: 358.3 kB / 1.017 GB, free: 9.133 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.9732, allocations: 8.031 kB / 1.017 GB, free: 9.125 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.334e-05/0.9733, allocations: 7.906 kB / 1.017 GB, free: 9.117 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.9735, allocations: 171 kB / 1.017 GB, free: 8.91 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.9735, allocations: 0 / 1.017 GB, free: 8.91 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.9736, allocations: 0 / 1.017 GB, free: 8.91 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001374/0.9737, allocations: 27.98 kB / 1.017 GB, free: 8.883 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.9739, allocations: 49.59 kB / 1.017 GB, free: 8.828 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.9739, allocations: 7.984 kB / 1.017 GB, free: 8.82 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.9739, allocations: 0 / 1.017 GB, free: 8.82 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.974, allocations: 0 / 1.017 GB, free: 8.82 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006435/0.9747, allocations: 265.2 kB / 1.017 GB, free: 8.523 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.9748, allocations: 42.56 kB / 1.017 GB, free: 8.473 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.096e-05/0.9749, allocations: 20.89 kB / 1.017 GB, free: 8.449 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.9749, allocations: 3.938 kB / 1.017 GB, free: 8.445 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.975, allocations: 38.69 kB / 1.017 GB, free: 8.398 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=4): time 2.425e-06/0.975, allocations: 0 / 1.017 GB, free: 8.398 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4): time 0.0002793/0.9753, allocations: 61.53 kB / 1.017 GB, free: 8.332 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.9754, allocations: 55.41 kB / 1.017 GB, free: 8.266 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.9755, allocations: 101 kB / 1.018 GB, free: 8.16 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.9755, allocations: 25.7 kB / 1.018 GB, free: 8.129 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 6.262e-05/0.9756, allocations: 88.12 kB / 1.018 GB, free: 8.039 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.9756, allocations: 7.812 kB / 1.018 GB, free: 8.031 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/0.9756, allocations: 0 / 1.018 GB, free: 8.031 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.9758, allocations: 318.8 kB / 1.018 GB, free: 7.711 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.564e-05/0.9759, allocations: 8 kB / 1.018 GB, free: 7.703 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.941e-05/0.976, allocations: 12 kB / 1.018 GB, free: 7.691 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.11e-05/0.976, allocations: 11.98 kB / 1.018 GB, free: 7.68 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.976, allocations: 0 / 1.018 GB, free: 7.68 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001822/0.9762, allocations: 61.83 kB / 1.018 GB, free: 7.613 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.9763, allocations: 11.91 kB / 1.018 GB, free: 7.602 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.9763, allocations: 48 / 1.018 GB, free: 7.602 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.9763, allocations: 3.984 kB / 1.018 GB, free: 7.598 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/0.9766, allocations: 19.92 kB / 1.018 GB, free: 7.578 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.9766, allocations: 0 / 1.018 GB, free: 7.578 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.9768, allocations: 15.98 kB / 1.018 GB, free: 7.562 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.9768, allocations: 0 / 1.018 GB, free: 7.562 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesThr.u,intLesThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001112/0.9769, allocations: 108.9 kB / 1.018 GB, free: 7.449 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.615e-05/0.977, allocations: 3.906 kB / 1.018 GB, free: 7.445 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.613e-05/0.977, allocations: 15.92 kB / 1.018 GB, free: 7.426 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.977, allocations: 4 kB / 1.018 GB, free: 7.422 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.977, allocations: 0 / 1.018 GB, free: 7.422 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.9771, allocations: 0 / 1.018 GB, free: 7.422 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.9773, allocations: 150.2 kB / 1.018 GB, free: 7.238 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.9773, allocations: 4 kB / 1.018 GB, free: 7.234 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.9775, allocations: 15.98 kB / 1.018 GB, free: 7.219 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.9775, allocations: 0 / 1.018 GB, free: 7.219 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.9776, allocations: 3.984 kB / 1.018 GB, free: 7.215 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.9776, allocations: 0 / 1.018 GB, free: 7.215 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.9776, allocations: 0 / 1.018 GB, free: 7.215 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002701/0.9779, allocations: 163.4 kB / 1.019 GB, free: 7.039 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 6.52e-05/0.9779, allocations: 77.11 kB / 1.019 GB, free: 6.945 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.978, allocations: 3.906 kB / 1.019 GB, free: 6.941 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.9782, allocations: 15.98 kB / 1.019 GB, free: 6.926 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.511e-05/0.9783, allocations: 7.984 kB / 1.019 GB, free: 6.918 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.9783, allocations: 4 kB / 1.019 GB, free: 6.914 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.353e-05/0.9784, allocations: 95.2 kB / 1.019 GB, free: 6.82 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000332/0.9788, allocations: 8 kB / 1.019 GB, free: 6.812 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesThr.u,intLesThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0002243/0.979, allocations: 103.2 kB / 1.019 GB, free: 6.703 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001796/0.9792, allocations: 27.98 kB / 1.019 GB, free: 6.676 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.9792, allocations: 0 / 1.019 GB, free: 6.676 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 7.897e-05/0.9793, allocations: 19.94 kB / 1.019 GB, free: 6.656 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.9797, allocations: 6.578 kB / 1.019 GB, free: 6.652 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000431/0.9801, allocations: 83.62 kB / 1.019 GB, free: 6.547 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004397/0.9806, allocations: 0.6954 MB / 1.02 GB, free: 5.828 MB / 0.6667 GB Notification: Performance of SimCode: time 1.162e-06/0.9806, allocations: 3.938 kB / 1.02 GB, free: 5.824 MB / 0.6667 GB Notification: Performance of Templates: time 0.0043/0.9849, allocations: 0.8025 MB / 1.02 GB, free: 5.035 MB / 0.6667 GB