Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.325/1.325, allocations: 285.5 MB / 292.8 MB, free: 10.43 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008965/0.0008965, allocations: 181.2 kB / 361.1 MB, free: 7.074 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.037/1.037, allocations: 205.1 MB / 0.6195 GB, free: 10.29 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007909/0.0007909, allocations: 85.59 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.106e-06/8.116e-06, allocations: 4 kB / 0.8511 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4383/0.4383, allocations: 115.3 MB / 0.9637 GB, free: 78.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1395/0.5779, allocations: 141.2 MB / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002033/0.5781, allocations: 80.5 kB / 1.102 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01793/0.5961, allocations: 6.626 MB / 1.108 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.448e-05/0.5961, allocations: 4 kB / 1.108 GB, free: 8.23 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006817/0.5968, allocations: 0.4985 MB / 1.109 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.5968, allocations: 8.031 kB / 1.109 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.706e-05/0.5969, allocations: 27.62 kB / 1.109 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000473/0.5974, allocations: 295.5 kB / 1.109 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.5974, allocations: 7.984 kB / 1.109 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.5975, allocations: 12 kB / 1.109 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001373/0.5976, allocations: 56.36 kB / 1.109 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.5978, allocations: 90.95 kB / 1.109 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.5978, allocations: 0 / 1.109 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.5978, allocations: 4 kB / 1.109 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.5978, allocations: 5.938 kB / 1.109 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006783/0.5985, allocations: 441.5 kB / 1.109 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.5987, allocations: 106.6 kB / 1.11 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.844e-05/0.5988, allocations: 44.77 kB / 1.11 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.5988, allocations: 4.203 kB / 1.11 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001346/0.5989, allocations: 99.31 kB / 1.11 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.599, allocations: 0.5625 kB / 1.11 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0002886/0.5992, allocations: 140.4 kB / 1.11 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.5993, allocations: 59.41 kB / 1.11 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000307/0.5996, allocations: 293 kB / 1.11 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.5996, allocations: 29.7 kB / 1.11 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.465e-05/0.5997, allocations: 112.5 kB / 1.11 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.5997, allocations: 41.67 kB / 1.11 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.241e-05/0.5998, allocations: 0 / 1.11 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.5999, allocations: 334.8 kB / 1.111 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.6, allocations: 79.92 kB / 1.111 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.6002, allocations: 126.2 kB / 1.111 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.6004, allocations: 90.19 kB / 1.111 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6005, allocations: 0 / 1.111 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004691/0.6009, allocations: 272.1 kB / 1.111 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.601, allocations: 4 kB / 1.111 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.601, allocations: 4 kB / 1.111 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.601, allocations: 4 kB / 1.111 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.6012, allocations: 56 kB / 1.111 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.6012, allocations: 4 kB / 1.111 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.6014, allocations: 19.92 kB / 1.111 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.6014, allocations: 15.98 kB / 1.111 GB, free: 4.695 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 20 ($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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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 8.554e-05/0.6015, allocations: 122.7 kB / 1.111 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.503e-05/0.6016, allocations: 23.72 kB / 1.111 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000274/0.6019, allocations: 155.4 kB / 1.112 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.6019, allocations: 0 / 1.112 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.6019, allocations: 1.25 kB / 1.112 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.6019, allocations: 0 / 1.112 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005549/0.6024, allocations: 492.5 kB / 1.112 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.6025, allocations: 3.938 kB / 1.112 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.6026, allocations: 18.33 kB / 1.112 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.6026, allocations: 4 kB / 1.112 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.6026, allocations: 7.984 kB / 1.112 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.6026, allocations: 0 / 1.112 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.6026, allocations: 6.094 kB / 1.112 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002424/0.6029, allocations: 243.1 kB / 1.112 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.537e-05/0.6029, allocations: 104.8 kB / 1.112 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/0.603, allocations: 8 kB / 1.112 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.6032, allocations: 15.98 kB / 1.112 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.605e-05/0.6032, allocations: 19.97 kB / 1.113 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.6033, allocations: 4 kB / 1.113 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001793/0.6034, allocations: 205.2 kB / 1.113 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003259/0.6038, allocations: 55.94 kB / 1.113 GB, free: 3.156 MB / 0.7136 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.0006046/0.6044, allocations: 327.2 kB / 1.113 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002603/0.6047, allocations: 159.8 kB / 1.113 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.6047, allocations: 0 / 1.113 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.685e-05/0.6048, allocations: 59.92 kB / 1.113 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.6051, allocations: 36.47 kB / 1.113 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000599/0.6057, allocations: 305.3 kB / 1.114 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003755/0.6061, allocations: 0.7866 MB / 1.114 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of SimCode: time 3.01e-07/0.6061, allocations: 0 / 1.114 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of Templates: time 0.005856/0.612, allocations: 2.811 MB / 1.117 GB, free: 14.81 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)