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.Less.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.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Less") [: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.341/2.341, allocations: 253.1 MB / 260.4 MB, free: 7.57 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.001734/0.001733, allocations: 192.9 kB / 319.6 MB, free: 3.32 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.122/2.122, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.001294/0.001293, allocations: 94.83 kB / 0.6746 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.2e-05/1.212e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2458, allocations: 106.3 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8315/1.077, allocations: 135.4 MB / 1.02 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/1.078, allocations: 79.19 kB / 1.02 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.04874/1.126, allocations: 10.12 MB / 1.03 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.077e-05/1.127, allocations: 4 kB / 1.03 GB, free: 10.58 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001096/1.128, allocations: 0.5297 MB / 1.031 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/1.128, allocations: 8.031 kB / 1.031 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/1.128, allocations: 35.47 kB / 1.031 GB, free: 9.98 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/1.129, allocations: 369.8 kB / 1.031 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/1.129, allocations: 7.906 kB / 1.031 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/1.129, allocations: 11.98 kB / 1.031 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002222/1.129, allocations: 53.61 kB / 1.031 GB, free: 9.57 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/1.13, allocations: 105.2 kB / 1.031 GB, free: 9.48 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/1.13, allocations: 0 / 1.031 GB, free: 9.48 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/1.13, allocations: 0 / 1.031 GB, free: 9.48 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/1.13, allocations: 0 / 1.031 GB, free: 9.48 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/1.131, allocations: 480.2 kB / 1.032 GB, free: 9.051 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003294/1.131, allocations: 118.6 kB / 1.032 GB, free: 8.957 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/1.131, allocations: 46.97 kB / 1.032 GB, free: 8.922 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.048e-05/1.131, allocations: 160 / 1.032 GB, free: 8.922 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002439/1.132, allocations: 102.7 kB / 1.032 GB, free: 8.828 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 2.555e-06/1.132, allocations: 0 / 1.032 GB, free: 8.828 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0005463/1.132, allocations: 154.9 kB / 1.032 GB, free: 8.695 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/1.132, allocations: 55.41 kB / 1.032 GB, free: 8.629 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009205/1.133, allocations: 445.4 kB / 1.033 GB, free: 8.281 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.678e-05/1.133, allocations: 29.7 kB / 1.033 GB, free: 8.246 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/1.133, allocations: 122.9 kB / 1.033 GB, free: 8.133 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.27e-05/1.133, allocations: 31.05 kB / 1.033 GB, free: 8.105 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/1.134, allocations: 4 kB / 1.033 GB, free: 8.102 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000178/1.134, allocations: 349 kB / 1.033 GB, free: 7.766 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002975/1.134, allocations: 110.9 kB / 1.033 GB, free: 7.691 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000318/1.134, allocations: 135.9 kB / 1.033 GB, free: 7.59 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/1.135, allocations: 119.9 kB / 1.033 GB, free: 7.508 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/1.135, allocations: 3.938 kB / 1.033 GB, free: 7.504 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009322/1.136, allocations: 337.1 kB / 1.034 GB, free: 7.242 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/1.136, allocations: 8 kB / 1.034 GB, free: 7.234 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/1.136, allocations: 0 / 1.034 GB, free: 7.234 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/1.136, allocations: 0 / 1.034 GB, free: 7.234 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000465/1.136, allocations: 52.12 kB / 1.034 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/1.136, allocations: 0 / 1.034 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003419/1.137, allocations: 23.77 kB / 1.034 GB, free: 7.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.519e-05/1.137, allocations: 15.88 kB / 1.034 GB, free: 7.148 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intLes.u1,intLes.u2,intLes.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001533/1.137, allocations: 120.9 kB / 1.034 GB, free: 7.023 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.914e-05/1.137, allocations: 31.62 kB / 1.034 GB, free: 6.992 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005789/1.138, allocations: 167.4 kB / 1.034 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/1.138, allocations: 4 kB / 1.034 GB, free: 6.859 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.138, allocations: 0 / 1.034 GB, free: 6.859 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/1.138, allocations: 0 / 1.034 GB, free: 6.859 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004067/1.138, allocations: 278.3 kB / 1.034 GB, free: 6.594 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/1.138, allocations: 3.984 kB / 1.034 GB, free: 6.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/1.138, allocations: 16 kB / 1.035 GB, free: 6.574 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.166e-05/1.138, allocations: 8 kB / 1.035 GB, free: 6.566 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/1.138, allocations: 3.984 kB / 1.035 GB, free: 6.562 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/1.138, allocations: 0 / 1.035 GB, free: 6.562 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.138, allocations: 3.906 kB / 1.035 GB, free: 6.559 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004711/1.139, allocations: 185.5 kB / 1.035 GB, free: 6.391 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/1.139, allocations: 120.2 kB / 1.035 GB, free: 6.258 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.696e-05/1.139, allocations: 0 / 1.035 GB, free: 6.258 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/1.139, allocations: 12 kB / 1.035 GB, free: 6.246 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/1.139, allocations: 15.84 kB / 1.035 GB, free: 6.234 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/1.139, allocations: 15.73 kB / 1.035 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0005353/1.14, allocations: 287.4 kB / 1.035 GB, free: 6.004 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005488/1.141, allocations: 59.81 kB / 1.035 GB, free: 5.949 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intLes.u1,intLes.u2,intLes.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009418/1.141, allocations: 320.2 kB / 1.035 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000567/1.142, allocations: 187.4 kB / 1.036 GB, free: 5.59 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/1.142, allocations: 0 / 1.036 GB, free: 5.59 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001834/1.142, allocations: 66.41 kB / 1.036 GB, free: 5.539 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008156/1.143, allocations: 85.3 kB / 1.036 GB, free: 5.473 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/1.145, allocations: 426.5 kB / 1.036 GB, free: 5.082 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006516/1.145, allocations: 0.8204 MB / 1.037 GB, free: 4.242 MB / 0.6511 GB Notification: Performance of SimCode: time 1.022e-06/1.145, allocations: 0 / 1.037 GB, free: 4.242 MB / 0.6511 GB Notification: Performance of Templates: time 0.01714/1.162, allocations: 3.454 MB / 1.04 GB, free: 0.8281 MB / 0.6511 GB