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.Equal.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.Equal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") [: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.249/2.249, allocations: 253.1 MB / 260.4 MB, free: 7.562 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.01258/0.01258, allocations: 173.3 kB / 319.6 MB, free: 3.305 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.172/2.172, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001908/0.001907, allocations: 102.5 kB / 0.6746 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.622e-05/1.649e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.2998, allocations: 106.2 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7834/1.083, allocations: 135.4 MB / 1.02 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000412/1.084, allocations: 77.7 kB / 1.02 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.04651/1.13, allocations: 10.11 MB / 1.03 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.866e-05/1.13, allocations: 4 kB / 1.03 GB, free: 10.53 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.0009984/1.131, allocations: 0.5195 MB / 1.031 GB, free: 9.977 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/1.132, allocations: 8.031 kB / 1.031 GB, free: 9.969 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/1.132, allocations: 39.52 kB / 1.031 GB, free: 9.93 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009913/1.133, allocations: 371.3 kB / 1.031 GB, free: 9.574 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.933e-05/1.133, allocations: 7.906 kB / 1.031 GB, free: 9.566 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.311e-05/1.133, allocations: 8 kB / 1.031 GB, free: 9.559 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002233/1.133, allocations: 58.41 kB / 1.031 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/1.133, allocations: 102.7 kB / 1.031 GB, free: 9.434 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/1.133, allocations: 0 / 1.031 GB, free: 9.434 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/1.133, allocations: 0 / 1.031 GB, free: 9.434 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/1.133, allocations: 4 kB / 1.031 GB, free: 9.43 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/1.134, allocations: 480 kB / 1.032 GB, free: 9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003174/1.135, allocations: 118.5 kB / 1.032 GB, free: 8.906 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/1.135, allocations: 42.17 kB / 1.032 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/1.135, allocations: 160 / 1.032 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002367/1.135, allocations: 110.4 kB / 1.032 GB, free: 8.777 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 2.174e-06/1.135, allocations: 0 / 1.032 GB, free: 8.777 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0005317/1.136, allocations: 153 kB / 1.032 GB, free: 8.645 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/1.136, allocations: 51.41 kB / 1.032 GB, free: 8.582 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008707/1.137, allocations: 448.4 kB / 1.033 GB, free: 8.23 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/1.137, allocations: 29.7 kB / 1.033 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.976e-05/1.137, allocations: 119 kB / 1.033 GB, free: 8.086 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.877e-05/1.137, allocations: 38.84 kB / 1.033 GB, free: 8.055 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/1.137, allocations: 8 kB / 1.033 GB, free: 8.047 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001632/1.137, allocations: 345.1 kB / 1.033 GB, free: 7.715 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/1.137, allocations: 108.5 kB / 1.033 GB, free: 7.641 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/1.138, allocations: 134.1 kB / 1.033 GB, free: 7.543 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003422/1.138, allocations: 119.2 kB / 1.033 GB, free: 7.461 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/1.138, allocations: 0 / 1.033 GB, free: 7.461 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009414/1.139, allocations: 343.7 kB / 1.034 GB, free: 7.191 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/1.139, allocations: 4 kB / 1.034 GB, free: 7.188 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/1.139, allocations: 0 / 1.034 GB, free: 7.188 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/1.139, allocations: 4 kB / 1.034 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004601/1.14, allocations: 52.06 kB / 1.034 GB, free: 7.133 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/1.14, allocations: 4 kB / 1.034 GB, free: 7.129 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002982/1.14, allocations: 15.78 kB / 1.034 GB, free: 7.113 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.689e-05/1.14, allocations: 19.3 kB / 1.034 GB, free: 7.098 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,intEqu.u1,intEqu.u2,intEqu.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.0001442/1.14, allocations: 120.3 kB / 1.034 GB, free: 6.977 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.255e-05/1.14, allocations: 31.62 kB / 1.034 GB, free: 6.945 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005848/1.141, allocations: 165.2 kB / 1.034 GB, free: 6.816 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/1.141, allocations: 8 kB / 1.034 GB, free: 6.809 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/1.141, allocations: 0 / 1.034 GB, free: 6.809 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/1.141, allocations: 0 / 1.034 GB, free: 6.809 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004244/1.141, allocations: 277.4 kB / 1.034 GB, free: 6.543 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/1.142, allocations: 7.938 kB / 1.034 GB, free: 6.535 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/1.142, allocations: 15.98 kB / 1.034 GB, free: 6.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-06/1.142, allocations: 0 / 1.034 GB, free: 6.52 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/1.142, allocations: 4 kB / 1.034 GB, free: 6.516 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/1.142, allocations: 0 / 1.034 GB, free: 6.516 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/1.142, allocations: 3.906 kB / 1.034 GB, free: 6.512 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004906/1.142, allocations: 179.1 kB / 1.035 GB, free: 6.348 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/1.142, allocations: 127.8 kB / 1.035 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.662e-05/1.143, allocations: 4 kB / 1.035 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/1.143, allocations: 7.984 kB / 1.035 GB, free: 6.199 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/1.143, allocations: 15.73 kB / 1.035 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/1.143, allocations: 11.3 kB / 1.035 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0005473/1.144, allocations: 290.1 kB / 1.035 GB, free: 5.957 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005452/1.144, allocations: 59.11 kB / 1.035 GB, free: 5.902 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,intEqu.u1,intEqu.u2,intEqu.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.001027/1.145, allocations: 328.3 kB / 1.035 GB, free: 5.664 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007128/1.146, allocations: 189.7 kB / 1.036 GB, free: 5.531 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/1.146, allocations: 0 / 1.036 GB, free: 5.531 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001881/1.146, allocations: 58.23 kB / 1.036 GB, free: 5.488 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008299/1.147, allocations: 79.77 kB / 1.036 GB, free: 5.426 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/1.148, allocations: 429.1 kB / 1.036 GB, free: 5.035 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006962/1.149, allocations: 0.8266 MB / 1.037 GB, free: 4.191 MB / 0.6511 GB Notification: Performance of SimCode: time 1.102e-06/1.149, allocations: 0 / 1.037 GB, free: 4.191 MB / 0.6511 GB Notification: Performance of Templates: time 0.01317/1.162, allocations: 3.449 MB / 1.04 GB, free: 0.7812 MB / 0.6511 GB