Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime") [: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.1.4-maint.8.1.x/package.mo): time 1.35/1.35, allocations: 289.8 MB / 297.1 MB, free: 6.668 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.001184/0.001184, allocations: 181.2 kB / 366.3 MB, free: 1.992 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.071/1.071, allocations: 205.1 MB / 0.6256 GB, free: 5.852 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.0007606/0.0007605, allocations: 88.97 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.993e-06/7.033e-06, allocations: 4 kB / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4046, allocations: 116.3 MB / 0.9726 GB, free: 68.73 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1333/0.538, allocations: 138.5 MB / 1.108 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/0.5382, allocations: 79.89 kB / 1.108 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.122/0.6602, allocations: 44.7 MB / 1.152 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.624e-05/0.6603, allocations: 8 kB / 1.152 GB, free: 13.18 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.000824/0.6611, allocations: 0.6109 MB / 1.152 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.6611, allocations: 12.03 kB / 1.152 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.6613, allocations: 51.44 kB / 1.152 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007976/0.6621, allocations: 0.5327 MB / 1.153 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.6621, allocations: 4 kB / 1.153 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.269e-05/0.6622, allocations: 28 kB / 1.153 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000311/0.6625, allocations: 229.7 kB / 1.153 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003871/0.6629, allocations: 297.5 kB / 1.153 GB, free: 11.33 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.6629, allocations: 7.906 kB / 1.153 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.663, allocations: 3.984 kB / 1.153 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.663, allocations: 4 kB / 1.153 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001488/0.6645, allocations: 1.122 MB / 1.154 GB, free: 10.15 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005727/0.6651, allocations: 468 kB / 1.155 GB, free: 9.664 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002149/0.6653, allocations: 182.7 kB / 1.155 GB, free: 9.477 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.6653, allocations: 7.984 kB / 1.155 GB, free: 9.469 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003347/0.6656, allocations: 273.7 kB / 1.155 GB, free: 9.18 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=24): time 1.904e-06/0.6656, allocations: 0 / 1.155 GB, free: 9.18 MB / 0.7605 GB Notification: Performance of matching and sorting (n=24): time 0.0006592/0.6663, allocations: 389.9 kB / 1.156 GB, free: 8.793 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.6664, allocations: 126.7 kB / 1.156 GB, free: 8.645 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005608/0.667, allocations: 0.5175 MB / 1.156 GB, free: 8.117 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.527e-05/0.667, allocations: 29.7 kB / 1.156 GB, free: 8.082 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.6672, allocations: 164.2 kB / 1.157 GB, free: 7.906 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.223e-05/0.6672, allocations: 47.41 kB / 1.157 GB, free: 7.859 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.335e-05/0.6672, allocations: 0 / 1.157 GB, free: 7.859 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.6674, allocations: 362.8 kB / 1.157 GB, free: 7.496 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.6675, allocations: 124 kB / 1.157 GB, free: 7.375 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005757/0.6681, allocations: 0.6967 MB / 1.158 GB, free: 6.496 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004507/0.6686, allocations: 215.8 kB / 1.158 GB, free: 6.289 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6686, allocations: 0 / 1.158 GB, free: 6.289 MB / 0.7605 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007641/0.6694, allocations: 434.1 kB / 1.158 GB, free: 5.859 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.6694, allocations: 4.375 kB / 1.158 GB, free: 5.855 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.6694, allocations: 8 kB / 1.158 GB, free: 5.848 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.6694, allocations: 4 kB / 1.158 GB, free: 5.844 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.6696, allocations: 39.86 kB / 1.158 GB, free: 5.805 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.38e-05/0.6696, allocations: 4 kB / 1.158 GB, free: 5.801 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.6707, allocations: 88.12 kB / 1.158 GB, free: 5.715 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.658e-05/0.6707, allocations: 19.98 kB / 1.158 GB, free: 5.695 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],$PRE.booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.000143/0.6709, allocations: 141.1 kB / 1.159 GB, free: 5.555 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.29e-05/0.6709, allocations: 39.53 kB / 1.159 GB, free: 5.516 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.498e-05/0.671, allocations: 55.36 kB / 1.159 GB, free: 5.465 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.671, allocations: 7.906 kB / 1.159 GB, free: 5.457 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.671, allocations: 4.062 kB / 1.159 GB, free: 5.453 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.6711, allocations: 0 / 1.159 GB, free: 5.453 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003205/0.6714, allocations: 365.9 kB / 1.159 GB, free: 5.059 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6714, allocations: 0 / 1.159 GB, free: 5.059 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.124e-05/0.6714, allocations: 12.58 kB / 1.159 GB, free: 5.047 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.6714, allocations: 8 kB / 1.159 GB, free: 5.039 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.6715, allocations: 11.84 kB / 1.159 GB, free: 5.027 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.6715, allocations: 3.984 kB / 1.159 GB, free: 5.023 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6715, allocations: 0 / 1.159 GB, free: 5.023 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005566/0.672, allocations: 452.6 kB / 1.16 GB, free: 4.547 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.6722, allocations: 132.5 kB / 1.16 GB, free: 4.398 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.575e-05/0.6722, allocations: 4 kB / 1.16 GB, free: 4.395 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.6724, allocations: 19.97 kB / 1.16 GB, free: 4.375 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.712e-05/0.6725, allocations: 27.97 kB / 1.16 GB, free: 4.348 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.878e-05/0.6725, allocations: 19.98 kB / 1.16 GB, free: 4.328 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0003995/0.6729, allocations: 407.1 kB / 1.16 GB, free: 3.926 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004222/0.6733, allocations: 99.94 kB / 1.16 GB, free: 3.828 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.000228/0.6736, allocations: 165.6 kB / 1.16 GB, free: 3.66 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004688/0.674, allocations: 348.8 kB / 1.161 GB, free: 3.324 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.6741, allocations: 0.75 kB / 1.161 GB, free: 3.324 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000213/0.6743, allocations: 183.9 kB / 1.161 GB, free: 3.145 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.6745, allocations: 39.73 kB / 1.161 GB, free: 3.105 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.6756, allocations: 0.664 MB / 1.162 GB, free: 2.414 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005278/0.6761, allocations: 0.8829 MB / 1.162 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of SimCode: time 2.41e-07/0.6761, allocations: 0 / 1.162 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of Templates: time 0.01047/0.6866, allocations: 6.698 MB / 1.169 GB, free: 10.89 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)