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.Change.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.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change") [: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.353/2.353, allocations: 253.1 MB / 260.4 MB, free: 7.477 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.001781/0.00178, allocations: 185.2 kB / 319.6 MB, free: 3.324 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.217/2.217, allocations: 205.4 MB / 0.5704 GB, free: 15.08 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.001362/0.001362, allocations: 96.66 kB / 0.6746 GB, free: 4.445 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.407e-05/1.425e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2486, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.811/1.06, allocations: 135.8 MB / 1.021 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000327/1.06, allocations: 78.77 kB / 1.021 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.03165/1.092, allocations: 6.454 MB / 1.027 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.174e-05/1.092, allocations: 7.125 kB / 1.027 GB, free: 13.24 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001123/1.093, allocations: 0.4919 MB / 1.028 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/1.093, allocations: 12.02 kB / 1.028 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/1.093, allocations: 23.72 kB / 1.028 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006882/1.094, allocations: 288.8 kB / 1.028 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/1.094, allocations: 4 kB / 1.028 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.584e-05/1.094, allocations: 4 kB / 1.028 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002411/1.094, allocations: 65.03 kB / 1.028 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/1.095, allocations: 112.9 kB / 1.028 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/1.095, allocations: 0 / 1.028 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/1.095, allocations: 0 / 1.028 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/1.095, allocations: 8 kB / 1.028 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/1.096, allocations: 0.5154 MB / 1.029 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003587/1.096, allocations: 103.1 kB / 1.029 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/1.096, allocations: 46.8 kB / 1.029 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/1.096, allocations: 0 / 1.029 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002564/1.097, allocations: 91.88 kB / 1.029 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 1.944e-06/1.097, allocations: 0 / 1.029 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0005059/1.097, allocations: 148.2 kB / 1.029 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/1.097, allocations: 55.41 kB / 1.029 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005616/1.098, allocations: 290.3 kB / 1.029 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/1.098, allocations: 29.02 kB / 1.029 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/1.098, allocations: 115.4 kB / 1.029 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.185e-05/1.098, allocations: 45.09 kB / 1.029 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.088e-05/1.098, allocations: 0 / 1.029 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001865/1.098, allocations: 341.2 kB / 1.03 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/1.099, allocations: 74.92 kB / 1.03 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/1.099, allocations: 128.6 kB / 1.03 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/1.099, allocations: 81.77 kB / 1.03 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.099, allocations: 0 / 1.03 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007211/1.1, allocations: 261.5 kB / 1.03 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/1.1, allocations: 4 kB / 1.03 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/1.1, allocations: 4 kB / 1.03 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/1.1, allocations: 4 kB / 1.03 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004306/1.1, allocations: 43.91 kB / 1.03 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/1.1, allocations: 11.92 kB / 1.03 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000372/1.101, allocations: 43.44 kB / 1.03 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-05/1.101, allocations: 8 kB / 1.03 GB, free: 10.04 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.cha.y,$PRE.decreaseSampler.y,decreaseSampler.y,$PRE.increaseSampler.y,increaseSampler.y,$PRE.changeSampler.y,changeSampler.y,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition1,$PRE.cha.u,cha.u,cha.y,cha.up,cha.down,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,cha.u_start) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0001594/1.101, allocations: 120.8 kB / 1.03 GB, free: 9.918 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.074e-05/1.101, allocations: 19.72 kB / 1.03 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005049/1.102, allocations: 155.2 kB / 1.031 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/1.102, allocations: 4 kB / 1.031 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/1.102, allocations: 0 / 1.031 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/1.102, allocations: 0 / 1.031 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000985/1.103, allocations: 498.2 kB / 1.031 GB, free: 9.309 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/1.103, allocations: 0 / 1.031 GB, free: 9.309 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/1.103, allocations: 23.98 kB / 1.031 GB, free: 9.285 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/1.103, allocations: 0 / 1.031 GB, free: 9.285 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/1.103, allocations: 0 / 1.031 GB, free: 9.285 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/1.103, allocations: 4 kB / 1.031 GB, free: 9.281 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.103, allocations: 0 / 1.031 GB, free: 9.281 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004488/1.103, allocations: 246.9 kB / 1.031 GB, free: 9.055 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/1.104, allocations: 104.8 kB / 1.031 GB, free: 8.934 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.241e-05/1.104, allocations: 7 kB / 1.031 GB, free: 8.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000287/1.104, allocations: 15.98 kB / 1.032 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.82e-05/1.104, allocations: 18.94 kB / 1.032 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/1.104, allocations: 8 kB / 1.032 GB, free: 8.891 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003289/1.104, allocations: 202.3 kB / 1.032 GB, free: 8.727 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005819/1.105, allocations: 50.31 kB / 1.032 GB, free: 8.68 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: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0009656/1.106, allocations: 325.9 kB / 1.032 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005167/1.107, allocations: 148.5 kB / 1.032 GB, free: 8.34 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.107, allocations: 384 / 1.032 GB, free: 8.34 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001779/1.107, allocations: 70.33 kB / 1.032 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005993/1.107, allocations: 39.78 kB / 1.032 GB, free: 8.258 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/1.108, allocations: 295.9 kB / 1.033 GB, free: 7.98 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006591/1.109, allocations: 0.7773 MB / 1.033 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of SimCode: time 1.433e-06/1.109, allocations: 0 / 1.033 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of Templates: time 0.01055/1.12, allocations: 2.678 MB / 1.036 GB, free: 4.539 MB / 0.6511 GB