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.GreaterEqual.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.GreaterEqual,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual") [: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.304/2.304, allocations: 253.1 MB / 260.4 MB, free: 7.508 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.00176/0.001759, allocations: 181.3 kB / 319.6 MB, free: 3.309 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.131/2.131, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.002107/0.002106, allocations: 92.77 kB / 0.6746 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.794e-05/2.822e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2677, allocations: 106.3 MB / 0.8881 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7664/1.034, allocations: 135.4 MB / 1.02 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000335/1.035, allocations: 81.16 kB / 1.02 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.06105/1.096, allocations: 10.12 MB / 1.03 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.464e-05/1.096, allocations: 4 kB / 1.03 GB, free: 10.5 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.001554/1.097, allocations: 0.5187 MB / 1.031 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.448e-05/1.097, allocations: 12.03 kB / 1.031 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002179/1.098, allocations: 31.53 kB / 1.031 GB, free: 9.906 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/1.099, allocations: 375.8 kB / 1.031 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.463e-05/1.099, allocations: 7.906 kB / 1.031 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.095e-05/1.099, allocations: 4 kB / 1.031 GB, free: 9.531 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003444/1.1, allocations: 57.97 kB / 1.031 GB, free: 9.492 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003977/1.1, allocations: 102.9 kB / 1.031 GB, free: 9.406 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/1.1, allocations: 0 / 1.031 GB, free: 9.406 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.541e-05/1.1, allocations: 3.984 kB / 1.031 GB, free: 9.402 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/1.1, allocations: 3.984 kB / 1.031 GB, free: 9.398 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001727/1.102, allocations: 475.5 kB / 1.032 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005063/1.103, allocations: 120.9 kB / 1.032 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/1.103, allocations: 46.91 kB / 1.032 GB, free: 8.84 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/1.103, allocations: 4.156 kB / 1.032 GB, free: 8.836 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003419/1.103, allocations: 101.3 kB / 1.032 GB, free: 8.746 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 5.421e-06/1.103, allocations: 3.938 kB / 1.032 GB, free: 8.742 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0007812/1.104, allocations: 155.4 kB / 1.032 GB, free: 8.609 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/1.104, allocations: 55.41 kB / 1.032 GB, free: 8.543 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/1.106, allocations: 444.3 kB / 1.033 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.913e-05/1.106, allocations: 25.7 kB / 1.033 GB, free: 8.164 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000148/1.106, allocations: 126.4 kB / 1.033 GB, free: 8.047 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.347e-05/1.106, allocations: 34.67 kB / 1.033 GB, free: 8.02 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/1.106, allocations: 0 / 1.033 GB, free: 8.02 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002599/1.106, allocations: 348.6 kB / 1.033 GB, free: 7.684 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004454/1.107, allocations: 107.3 kB / 1.033 GB, free: 7.613 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004996/1.107, allocations: 139 kB / 1.033 GB, free: 7.508 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005317/1.108, allocations: 124.8 kB / 1.033 GB, free: 7.422 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/1.108, allocations: 0 / 1.033 GB, free: 7.422 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001411/1.109, allocations: 332.4 kB / 1.034 GB, free: 7.164 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.404e-05/1.109, allocations: 8 kB / 1.034 GB, free: 7.156 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/1.109, allocations: 0 / 1.034 GB, free: 7.156 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.016e-05/1.109, allocations: 0 / 1.034 GB, free: 7.156 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000704/1.11, allocations: 52.12 kB / 1.034 GB, free: 7.105 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/1.11, allocations: 0 / 1.034 GB, free: 7.105 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005304/1.111, allocations: 27.83 kB / 1.034 GB, free: 7.078 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.183e-05/1.111, allocations: 15.38 kB / 1.034 GB, free: 7.066 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,intGreEqu.u1,intGreEqu.u2,intGreEqu.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.0002144/1.111, allocations: 120.8 kB / 1.034 GB, free: 6.941 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/1.111, allocations: 31.5 kB / 1.034 GB, free: 6.914 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008529/1.112, allocations: 161 kB / 1.034 GB, free: 6.785 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/1.112, allocations: 0 / 1.034 GB, free: 6.785 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/1.112, allocations: 4 kB / 1.034 GB, free: 6.781 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/1.112, allocations: 7.984 kB / 1.034 GB, free: 6.773 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006307/1.113, allocations: 277.7 kB / 1.034 GB, free: 6.508 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/1.113, allocations: 0 / 1.034 GB, free: 6.508 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/1.113, allocations: 19.92 kB / 1.035 GB, free: 6.488 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.218e-06/1.113, allocations: 0 / 1.035 GB, free: 6.488 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.564e-05/1.113, allocations: 7.562 kB / 1.035 GB, free: 6.484 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.755e-06/1.113, allocations: 3.984 kB / 1.035 GB, free: 6.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/1.113, allocations: 3.906 kB / 1.035 GB, free: 6.477 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007901/1.114, allocations: 180.2 kB / 1.035 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002391/1.114, allocations: 124 kB / 1.035 GB, free: 6.176 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/1.114, allocations: 7.734 kB / 1.035 GB, free: 6.172 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003172/1.115, allocations: 4 kB / 1.035 GB, free: 6.168 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/1.115, allocations: 19.72 kB / 1.035 GB, free: 6.152 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/1.115, allocations: 4 kB / 1.035 GB, free: 6.148 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0008142/1.116, allocations: 292.7 kB / 1.035 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008408/1.117, allocations: 55.88 kB / 1.035 GB, free: 5.875 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,intGreEqu.u1,intGreEqu.u2,intGreEqu.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.001496/1.118, allocations: 335.9 kB / 1.035 GB, free: 5.629 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008806/1.119, allocations: 186.4 kB / 1.036 GB, free: 5.496 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/1.119, allocations: 0 / 1.036 GB, free: 5.496 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002722/1.119, allocations: 65.42 kB / 1.036 GB, free: 5.449 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/1.121, allocations: 80.25 kB / 1.036 GB, free: 5.391 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/1.123, allocations: 421.3 kB / 1.036 GB, free: 5.004 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001001/1.124, allocations: 0.8239 MB / 1.037 GB, free: 4.16 MB / 0.6511 GB Notification: Performance of SimCode: time 1.723e-06/1.124, allocations: 0 / 1.037 GB, free: 4.16 MB / 0.6511 GB Notification: Performance of Templates: time 0.02023/1.144, allocations: 3.443 MB / 1.04 GB, free: 0.7539 MB / 0.6511 GB