Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.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 8.0.0/package.mo): time 2.108/2.108, allocations: 284.9 MB / 292.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001537/0.001537, allocations: 177.3 kB / 360.4 MB, free: 7.504 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205.2 MB / 0.6188 GB, free: 12.43 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001179/0.001179, allocations: 94.7 kB / 0.7318 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.554e-05/1.573e-05, allocations: 4 kB / 0.8503 GB, free: 3.824 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5678/0.5679, allocations: 115.2 MB / 0.9628 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2063/0.7742, allocations: 141 MB / 1.1 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.7745, allocations: 78.39 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03025/0.8048, allocations: 6.623 MB / 1.107 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.093e-05/0.8049, allocations: 4 kB / 1.107 GB, free: 9.137 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.001065/0.8059, allocations: 0.4907 MB / 1.108 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.806, allocations: 12.02 kB / 1.108 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.663e-05/0.8061, allocations: 27.62 kB / 1.108 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000741/0.8069, allocations: 303.5 kB / 1.108 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.8069, allocations: 4 kB / 1.108 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.255e-05/0.8069, allocations: 8.656 kB / 1.108 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000227/0.8072, allocations: 52.36 kB / 1.108 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.8075, allocations: 102.9 kB / 1.108 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.8075, allocations: 0 / 1.108 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.8075, allocations: 0 / 1.108 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.8075, allocations: 0 / 1.108 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.8086, allocations: 437.6 kB / 1.108 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.8089, allocations: 112.9 kB / 1.109 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.809, allocations: 44.77 kB / 1.109 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.8091, allocations: 0 / 1.109 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002229/0.8093, allocations: 95.59 kB / 1.109 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.064e-06/0.8093, allocations: 3.938 kB / 1.109 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0004513/0.8098, allocations: 149.2 kB / 1.109 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.8098, allocations: 55.41 kB / 1.109 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005788/0.8104, allocations: 289 kB / 1.109 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.252e-05/0.8105, allocations: 29.7 kB / 1.109 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.82e-05/0.8106, allocations: 116.5 kB / 1.109 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.912e-05/0.8106, allocations: 35.5 kB / 1.109 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.071e-05/0.8107, allocations: 4 kB / 1.109 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.8108, allocations: 334.8 kB / 1.11 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.8111, allocations: 79.98 kB / 1.11 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002748/0.8114, allocations: 123.2 kB / 1.11 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004234/0.8118, allocations: 96.81 kB / 1.11 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.8118, allocations: 4 kB / 1.11 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008109/0.8126, allocations: 264.4 kB / 1.11 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.8127, allocations: 4.625 kB / 1.11 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.8127, allocations: 1.375 kB / 1.11 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.8127, allocations: 4 kB / 1.11 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003906/0.8131, allocations: 56 kB / 1.11 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.8131, allocations: 3.938 kB / 1.11 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002988/0.8135, allocations: 23.92 kB / 1.11 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.113e-05/0.8135, allocations: 15.98 kB / 1.11 GB, free: 5.598 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 0.0001335/0.8137, allocations: 129.8 kB / 1.11 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.215e-05/0.8137, allocations: 19.72 kB / 1.11 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004501/0.8142, allocations: 158.6 kB / 1.111 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.8142, allocations: 7.984 kB / 1.111 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.8142, allocations: 0 / 1.111 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.8142, allocations: 2.188 kB / 1.111 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009864/0.8152, allocations: 492 kB / 1.111 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.8153, allocations: 0 / 1.111 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/0.8155, allocations: 23.92 kB / 1.111 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.8155, allocations: 0 / 1.111 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.8155, allocations: 4 kB / 1.111 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.8155, allocations: 0 / 1.111 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.8155, allocations: 7.906 kB / 1.111 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004103/0.816, allocations: 243.9 kB / 1.111 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.8161, allocations: 108.8 kB / 1.111 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.563e-05/0.8162, allocations: 0 / 1.111 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002841/0.8164, allocations: 23.98 kB / 1.111 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.363e-05/0.8165, allocations: 15.97 kB / 1.111 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.8166, allocations: 8 kB / 1.111 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0003033/0.8169, allocations: 197.2 kB / 1.112 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004919/0.8174, allocations: 55.94 kB / 1.112 GB, free: 4.059 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.0009019/0.8183, allocations: 329.4 kB / 1.112 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004536/0.8188, allocations: 155.8 kB / 1.112 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.8188, allocations: 0 / 1.112 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.819, allocations: 58.59 kB / 1.112 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005604/0.8195, allocations: 47.98 kB / 1.112 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009516/0.8205, allocations: 297 kB / 1.113 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005453/0.8211, allocations: 0.7882 MB / 1.113 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of SimCode: time 8.42e-07/0.8211, allocations: 0 / 1.113 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of Templates: time 0.009787/0.8309, allocations: 2.799 MB / 1.116 GB, free: 15.75 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)