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.GreaterEqualThreshold.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.GreaterEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") [: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.228/2.228, allocations: 253.1 MB / 260.4 MB, free: 0.5391 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.00175/0.001749, allocations: 194 kB / 319.6 MB, free: 7.645 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.407/2.407, allocations: 205.4 MB / 0.5704 GB, free: 25.64 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.00129/0.00129, allocations: 101.1 kB / 0.6746 GB, free: 3.059 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 1.146e-05/1.161e-05, allocations: 0 / 0.7843 GB, free: 2.668 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6372/0.6372, allocations: 106.2 MB / 0.8881 GB, free: 77.09 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3284/0.9658, allocations: 130.7 MB / 1.016 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004117/0.9663, allocations: 67.95 kB / 1.016 GB, free: 10.12 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.004887/0.9712, allocations: 0.6542 MB / 1.016 GB, free: 9.465 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.417e-05/0.9713, allocations: 4 kB / 1.016 GB, free: 9.461 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.0007589/0.972, allocations: 350.3 kB / 1.017 GB, free: 9.074 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.068e-05/0.9721, allocations: 12.03 kB / 1.017 GB, free: 9.062 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.797e-05/0.9722, allocations: 3.906 kB / 1.017 GB, free: 9.059 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.9724, allocations: 175 kB / 1.017 GB, free: 8.848 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.9725, allocations: 0 / 1.017 GB, free: 8.848 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.9725, allocations: 4 kB / 1.017 GB, free: 8.844 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001698/0.9727, allocations: 23.98 kB / 1.017 GB, free: 8.82 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.9729, allocations: 49.59 kB / 1.017 GB, free: 8.766 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.9729, allocations: 0 / 1.017 GB, free: 8.766 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.973, allocations: 3.938 kB / 1.017 GB, free: 8.762 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.973, allocations: 4 kB / 1.017 GB, free: 8.758 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007796/0.9738, allocations: 265.3 kB / 1.017 GB, free: 8.461 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.974, allocations: 46.56 kB / 1.017 GB, free: 8.406 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.363e-05/0.9741, allocations: 20.88 kB / 1.017 GB, free: 8.383 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.9742, allocations: 0 / 1.017 GB, free: 8.383 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.631e-05/0.9742, allocations: 42.56 kB / 1.017 GB, free: 8.332 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=4): time 1.834e-06/0.9743, allocations: 0 / 1.017 GB, free: 8.332 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4): time 0.0003384/0.9746, allocations: 57.67 kB / 1.017 GB, free: 8.27 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/0.9747, allocations: 59.39 kB / 1.017 GB, free: 8.199 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.9748, allocations: 97 kB / 1.018 GB, free: 8.098 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.9749, allocations: 25.7 kB / 1.018 GB, free: 8.066 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 6.72e-05/0.975, allocations: 80.14 kB / 1.018 GB, free: 7.984 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.975, allocations: 15.8 kB / 1.018 GB, free: 7.969 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.658e-06/0.975, allocations: 4 kB / 1.018 GB, free: 7.965 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.9752, allocations: 314.8 kB / 1.018 GB, free: 7.648 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.477e-05/0.9753, allocations: 12 kB / 1.018 GB, free: 7.637 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.058e-05/0.9754, allocations: 8 kB / 1.018 GB, free: 7.629 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.619e-05/0.9755, allocations: 11.98 kB / 1.018 GB, free: 7.617 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.9755, allocations: 7.938 kB / 1.018 GB, free: 7.609 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002302/0.9757, allocations: 53.69 kB / 1.018 GB, free: 7.551 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.9758, allocations: 7.906 kB / 1.018 GB, free: 7.543 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.9758, allocations: 0 / 1.018 GB, free: 7.543 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.9758, allocations: 4 kB / 1.018 GB, free: 7.539 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/0.9761, allocations: 19.92 kB / 1.018 GB, free: 7.52 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.9762, allocations: 0 / 1.018 GB, free: 7.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.9764, allocations: 11.98 kB / 1.018 GB, free: 7.508 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.9764, allocations: 0 / 1.018 GB, free: 7.508 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 (intGreEquThr.u,intGreEquThr.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.0001286/0.9765, allocations: 116.9 kB / 1.018 GB, free: 7.387 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.85e-05/0.9766, allocations: 3.906 kB / 1.018 GB, free: 7.383 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.865e-05/0.9767, allocations: 8 kB / 1.018 GB, free: 7.371 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.9767, allocations: 0 / 1.018 GB, free: 7.371 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.9767, allocations: 3.984 kB / 1.018 GB, free: 7.367 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.9767, allocations: 0 / 1.018 GB, free: 7.367 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003302/0.9771, allocations: 150.1 kB / 1.018 GB, free: 7.184 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.9771, allocations: 4 kB / 1.018 GB, free: 7.18 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/0.9773, allocations: 19.98 kB / 1.018 GB, free: 7.16 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.84e-06/0.9774, allocations: 0 / 1.018 GB, free: 7.16 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.9774, allocations: 0 / 1.018 GB, free: 7.16 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.9774, allocations: 0 / 1.018 GB, free: 7.16 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.9774, allocations: 0 / 1.018 GB, free: 7.16 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003076/0.9777, allocations: 163.4 kB / 1.019 GB, free: 6.984 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 7.68e-05/0.9778, allocations: 77.11 kB / 1.019 GB, free: 6.891 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.89e-05/0.9779, allocations: 11.91 kB / 1.019 GB, free: 6.879 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/0.9782, allocations: 7.984 kB / 1.019 GB, free: 6.871 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.286e-05/0.9783, allocations: 11.98 kB / 1.019 GB, free: 6.859 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.9783, allocations: 4 kB / 1.019 GB, free: 6.855 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.083e-05/0.9784, allocations: 79.28 kB / 1.019 GB, free: 6.777 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000559/0.979, allocations: 15.98 kB / 1.019 GB, free: 6.762 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 (intGreEquThr.u,intGreEquThr.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.0002203/0.9792, allocations: 107.2 kB / 1.019 GB, free: 6.648 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001899/0.9794, allocations: 24.23 kB / 1.019 GB, free: 6.625 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.9794, allocations: 0 / 1.019 GB, free: 6.625 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.9796, allocations: 23.92 kB / 1.019 GB, free: 6.602 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.9799, allocations: 4 kB / 1.019 GB, free: 6.598 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004775/0.9804, allocations: 79.62 kB / 1.019 GB, free: 6.496 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005117/0.981, allocations: 0.7072 MB / 1.02 GB, free: 5.766 MB / 0.6667 GB Notification: Performance of SimCode: time 1.042e-06/0.981, allocations: 0 / 1.02 GB, free: 5.766 MB / 0.6667 GB Notification: Performance of Templates: time 0.02288/1.004, allocations: 0.7924 MB / 1.02 GB, free: 4.98 MB / 0.6667 GB