Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.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.377/1.377, allocations: 289.8 MB / 297.1 MB, free: 6.625 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.0009561/0.0009563, allocations: 172.1 kB / 366.3 MB, free: 1.957 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.09/1.09, allocations: 205.1 MB / 0.6256 GB, free: 5.793 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.0008063/0.0008064, allocations: 92.16 kB / 0.7396 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.955e-06/8.005e-06, allocations: 4 kB / 0.859 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4263/0.4263, allocations: 116.3 MB / 0.9726 GB, free: 68.34 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1369/0.5632, allocations: 138.2 MB / 1.108 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000184/0.5635, allocations: 71.95 kB / 1.108 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.05914/0.6226, allocations: 20.52 MB / 1.128 GB, free: 5.609 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.811e-05/0.6227, allocations: 4 kB / 1.128 GB, free: 5.605 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006399/0.6233, allocations: 489.9 kB / 1.128 GB, free: 5.078 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.6234, allocations: 12.03 kB / 1.128 GB, free: 5.066 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.6235, allocations: 31.66 kB / 1.128 GB, free: 5.035 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005451/0.624, allocations: 371.4 kB / 1.129 GB, free: 4.633 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.6241, allocations: 1.688 kB / 1.129 GB, free: 4.633 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.79e-05/0.6241, allocations: 23.89 kB / 1.129 GB, free: 4.609 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001786/0.6243, allocations: 107.9 kB / 1.129 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.6246, allocations: 200 kB / 1.129 GB, free: 4.293 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.6246, allocations: 0 / 1.129 GB, free: 4.293 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.6246, allocations: 4 kB / 1.129 GB, free: 4.289 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.6246, allocations: 0 / 1.129 GB, free: 4.289 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.625, allocations: 359.6 kB / 1.129 GB, free: 3.895 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004056/0.6254, allocations: 323.8 kB / 1.13 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.6256, allocations: 126.6 kB / 1.13 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/0.6256, allocations: 7.984 kB / 1.13 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002758/0.6259, allocations: 225.7 kB / 1.13 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.272e-06/0.6259, allocations: 0 / 1.13 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0005752/0.6265, allocations: 313.1 kB / 1.13 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/0.6266, allocations: 114.8 kB / 1.13 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/0.6269, allocations: 343.5 kB / 1.131 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.216e-05/0.627, allocations: 29.7 kB / 1.131 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.59e-05/0.6271, allocations: 125.5 kB / 1.131 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.6271, allocations: 36.31 kB / 1.131 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.196e-05/0.6271, allocations: 4 kB / 1.131 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.6272, allocations: 342.8 kB / 1.131 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.6274, allocations: 79.97 kB / 1.131 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004021/0.6278, allocations: 457.8 kB / 1.132 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004318/0.6282, allocations: 165.3 kB / 1.132 GB, free: 1 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.6282, allocations: 4 kB / 1.132 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006725/0.6289, allocations: 344.8 kB / 1.132 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.6289, allocations: 4 kB / 1.132 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.6289, allocations: 4.656 kB / 1.132 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.629, allocations: 4 kB / 1.132 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.6291, allocations: 35.92 kB / 1.132 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.6291, allocations: 8.312 kB / 1.132 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006324/0.6298, allocations: 48.12 kB / 1.132 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/0.6298, allocations: 15.91 kB / 1.132 GB, free: 0.5352 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.tabOneRow.y[1],tabOneRow.y[1],$PRE.tabOneRow.idx,tabOneRow.idx,$whenCondition10,$PRE.intTimTab1.y[1],intTimTab1.y[1],$PRE.intTimTab1.y[2],intTimTab1.y[2],$PRE.intTimTab1.idx,intTimTab1.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$PRE.intTimTab.y[1],intTimTab.y[1],$PRE.intTimTab.y[2],intTimTab.y[2],$PRE.intTimTab.idx,intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001241/0.6299, allocations: 131.1 kB / 1.132 GB, free: 412 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/0.63, allocations: 28.66 kB / 1.132 GB, free: 384 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.748e-05/0.63, allocations: 33.89 kB / 1.132 GB, free: 348 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.6301, allocations: 4 kB / 1.132 GB, free: 344 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6301, allocations: 0 / 1.132 GB, free: 344 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.6301, allocations: 0 / 1.132 GB, free: 344 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.6303, allocations: 262 kB / 1.133 GB, free: 44 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.6303, allocations: 0 / 1.133 GB, free: 44 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.413e-05/0.6303, allocations: 7.938 kB / 1.133 GB, free: 36 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.6303, allocations: 4 kB / 1.133 GB, free: 32 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.6304, allocations: 15.98 kB / 1.133 GB, free: 16 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.6304, allocations: 0 / 1.133 GB, free: 16 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.6304, allocations: 0.5625 kB / 1.133 GB, free: 16 kB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004969/0.6309, allocations: 361 kB / 1.133 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.84e-05/0.631, allocations: 116.7 kB / 1.133 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.017e-05/0.631, allocations: 15.92 kB / 1.133 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.311e-05/0.6311, allocations: 0 / 1.133 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.6312, allocations: 15.98 kB / 1.133 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.6312, allocations: 21.2 kB / 1.133 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0002524/0.6315, allocations: 267.1 kB / 1.133 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003846/0.6319, allocations: 83.92 kB / 1.134 GB, free: 15.11 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002093/0.6321, allocations: 147.2 kB / 1.134 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003443/0.6324, allocations: 247.9 kB / 1.134 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.6324, allocations: 0 / 1.134 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.6326, allocations: 135.9 kB / 1.134 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.6328, allocations: 21.48 kB / 1.134 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000723/0.6335, allocations: 467.4 kB / 1.135 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003705/0.6339, allocations: 0.7943 MB / 1.135 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of SimCode: time 3.51e-07/0.6339, allocations: 0 / 1.135 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of Templates: time 0.007537/0.6415, allocations: 4.239 MB / 1.139 GB, free: 9.086 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1)