Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.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.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") [: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.727 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.0009377/0.0009376, allocations: 181.2 kB / 366.3 MB, free: 2.016 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.021/1.021, allocations: 205.1 MB / 0.6256 GB, free: 5.848 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.000812/0.0008123, allocations: 91.98 kB / 0.7396 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.256e-06/8.266e-06, allocations: 4 kB / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4264/0.4264, allocations: 116.3 MB / 0.9726 GB, free: 68.33 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1393/0.5658, allocations: 138.5 MB / 1.108 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001866/0.5661, allocations: 77.64 kB / 1.108 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.1214/0.6875, allocations: 44.69 MB / 1.152 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.716e-05/0.6875, allocations: 16 kB / 1.152 GB, free: 13.14 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.000898/0.6884, allocations: 0.6083 MB / 1.152 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.6885, allocations: 8.031 kB / 1.152 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.6886, allocations: 55.42 kB / 1.152 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008004/0.6895, allocations: 0.5366 MB / 1.153 GB, free: 11.85 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.6895, allocations: 4 kB / 1.153 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.939e-05/0.6896, allocations: 27.98 kB / 1.153 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003116/0.6899, allocations: 220.4 kB / 1.153 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003832/0.6903, allocations: 301.4 kB / 1.153 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.6903, allocations: 11.89 kB / 1.153 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.6903, allocations: 4.844 kB / 1.153 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.6904, allocations: 4 kB / 1.153 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001509/0.6919, allocations: 1.118 MB / 1.154 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005436/0.6924, allocations: 468.1 kB / 1.155 GB, free: 9.625 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/0.6927, allocations: 186.7 kB / 1.155 GB, free: 9.434 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.6927, allocations: 3.938 kB / 1.155 GB, free: 9.43 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003311/0.693, allocations: 275 kB / 1.155 GB, free: 9.141 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=24): time 1.552e-06/0.693, allocations: 0 / 1.155 GB, free: 9.141 MB / 0.7605 GB Notification: Performance of matching and sorting (n=24): time 0.0006901/0.6937, allocations: 394.5 kB / 1.156 GB, free: 8.75 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.6938, allocations: 114.8 kB / 1.156 GB, free: 8.613 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005468/0.6943, allocations: 0.5166 MB / 1.156 GB, free: 8.086 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.195e-05/0.6944, allocations: 33.7 kB / 1.156 GB, free: 8.047 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.6946, allocations: 164.2 kB / 1.157 GB, free: 7.871 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.914e-05/0.6946, allocations: 47.41 kB / 1.157 GB, free: 7.824 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.359e-05/0.6946, allocations: 4 kB / 1.157 GB, free: 7.82 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.6948, allocations: 363.9 kB / 1.157 GB, free: 7.457 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.6949, allocations: 120 kB / 1.157 GB, free: 7.34 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000667/0.6956, allocations: 0.7045 MB / 1.158 GB, free: 6.453 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00046/0.6961, allocations: 208.2 kB / 1.158 GB, free: 6.254 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.6961, allocations: 4 kB / 1.158 GB, free: 6.25 MB / 0.7605 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007843/0.6969, allocations: 436.7 kB / 1.158 GB, free: 5.816 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.6969, allocations: 4 kB / 1.158 GB, free: 5.812 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.6969, allocations: 4 kB / 1.158 GB, free: 5.809 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.6969, allocations: 4 kB / 1.158 GB, free: 5.805 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.6971, allocations: 31.92 kB / 1.158 GB, free: 5.773 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.6971, allocations: 7.984 kB / 1.158 GB, free: 5.766 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.6982, allocations: 92.47 kB / 1.158 GB, free: 5.676 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/0.6982, allocations: 20.5 kB / 1.158 GB, free: 5.656 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.0001452/0.6984, allocations: 149.8 kB / 1.159 GB, free: 5.508 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.356e-05/0.6984, allocations: 39.52 kB / 1.159 GB, free: 5.469 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.1e-05/0.6985, allocations: 47.38 kB / 1.159 GB, free: 5.426 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.6985, allocations: 7.906 kB / 1.159 GB, free: 5.418 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.6986, allocations: 0 / 1.159 GB, free: 5.418 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.6986, allocations: 4.828 kB / 1.159 GB, free: 5.414 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003321/0.6989, allocations: 377.9 kB / 1.159 GB, free: 5.008 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.6989, allocations: 0 / 1.159 GB, free: 5.008 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.9e-05/0.6989, allocations: 4 kB / 1.159 GB, free: 5.004 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.6989, allocations: 4 kB / 1.159 GB, free: 5 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.699, allocations: 15.83 kB / 1.159 GB, free: 4.984 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.699, allocations: 5.656 kB / 1.159 GB, free: 4.98 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.699, allocations: 0 / 1.159 GB, free: 4.98 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005628/0.6996, allocations: 445.4 kB / 1.16 GB, free: 4.512 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.6997, allocations: 136.5 kB / 1.16 GB, free: 4.359 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.812e-05/0.6997, allocations: 7.984 kB / 1.16 GB, free: 4.352 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.6999, allocations: 11.98 kB / 1.16 GB, free: 4.34 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/0.7, allocations: 35.97 kB / 1.16 GB, free: 4.305 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.7, allocations: 24.05 kB / 1.16 GB, free: 4.281 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0003939/0.7004, allocations: 411.1 kB / 1.16 GB, free: 3.875 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004133/0.7009, allocations: 99.92 kB / 1.16 GB, free: 3.777 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.000231/0.7011, allocations: 149.7 kB / 1.16 GB, free: 3.625 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004716/0.7016, allocations: 347.9 kB / 1.161 GB, free: 3.285 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.7016, allocations: 0 / 1.161 GB, free: 3.285 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.7018, allocations: 195.8 kB / 1.161 GB, free: 3.094 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.702, allocations: 32.81 kB / 1.161 GB, free: 3.062 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009811/0.703, allocations: 0.6647 MB / 1.162 GB, free: 2.371 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004617/0.7035, allocations: 0.879 MB / 1.162 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of SimCode: time 2.6e-07/0.7035, allocations: 0.9375 kB / 1.162 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of Templates: time 0.01043/0.7139, allocations: 6.696 MB / 1.169 GB, free: 10.88 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)