Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable") translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable") [: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/Complex 3.2.1+maint.om/package.mo): time 0.005783/0.005783, allocations: 179.9 kB / 7.449 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.196/1.196, allocations: 170.6 MB / 178.4 MB, free: 15.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001709/0.001709, allocations: 111.9 kB / 217.7 MB, free: 8.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1593/0.1593, allocations: 37.98 MB / 294.8 MB, free: 9.598 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.564e-06/7.584e-06, allocations: 1.156 kB / 349.5 MB, free: 37.12 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09607/0.09609, allocations: 48.71 MB / 398.2 MB, free: 5.672 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3118/0.4079, allocations: 73.13 MB / 471.3 MB, free: 13.38 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/0.4082, allocations: 61.23 kB / 471.4 MB, free: 13.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01331/0.4215, allocations: 4.161 MB / 475.6 MB, free: 13.17 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.4215, allocations: 0 / 475.6 MB, free: 13.17 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008336/0.4224, allocations: 0.5447 MB / 476.1 MB, free: 12.65 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.4224, allocations: 7.625 kB / 476.1 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.4226, allocations: 11.69 kB / 476.1 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.4227, allocations: 197.4 kB / 476.3 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.474e-05/0.4228, allocations: 6.688 kB / 476.3 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.812e-05/0.4228, allocations: 7.594 kB / 476.3 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001324/0.423, allocations: 57.02 kB / 476.4 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.4232, allocations: 165.7 kB / 476.5 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.4232, allocations: 0 / 476.5 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.4232, allocations: 0 / 476.5 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.4233, allocations: 3.938 kB / 476.5 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.4236, allocations: 232.1 kB / 476.8 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.4238, allocations: 164.3 kB / 476.9 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.424, allocations: 77.02 kB / 477 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.424, allocations: 0 / 477 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002386/0.4242, allocations: 184.5 kB / 477.2 MB, free: 11.95 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.4242, allocations: 0 / 477.2 MB, free: 11.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004202/0.4247, allocations: 206.6 kB / 477.4 MB, free: 11.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.277e-05/0.4248, allocations: 142.9 kB / 477.5 MB, free: 11.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.4249, allocations: 159.2 kB / 477.7 MB, free: 11.65 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.4249, allocations: 32.77 kB / 477.7 MB, free: 11.62 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.831e-05/0.425, allocations: 95.45 kB / 477.8 MB, free: 11.54 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/0.425, allocations: 32.64 kB / 477.8 MB, free: 11.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.857e-06/0.4251, allocations: 4 kB / 477.8 MB, free: 11.52 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.09e-05/0.4251, allocations: 332.1 kB / 478.2 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.4253, allocations: 68.23 kB / 478.2 MB, free: 11.2 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.939e-05/0.4254, allocations: 94.38 kB / 478.3 MB, free: 11.17 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002546/0.4256, allocations: 79.92 kB / 478.4 MB, free: 11.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.4256, allocations: 0 / 478.4 MB, free: 11.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003694/0.426, allocations: 227.9 kB / 478.6 MB, free: 11.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.426, allocations: 12.81 kB / 478.6 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4261, allocations: 0 / 478.6 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.4261, allocations: 3.188 kB / 478.6 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.183e-05/0.4261, allocations: 9.875 kB / 478.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.4261, allocations: 0 / 478.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.563e-05/0.4262, allocations: 19.8 kB / 478.7 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.875e-05/0.4263, allocations: 9.562 kB / 478.7 MB, free: 11.1 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition4,$PRE.integerTable4.y,integerTable4.y,$PRE.integerTable4.nextTime,integerTable4.nextTime,$PRE.integerTable4.index,integerTable4.index,$whenCondition3,$PRE.integerTable3.y,integerTable3.y,$PRE.integerTable3.nextTime,integerTable3.nextTime,$PRE.integerTable3.index,integerTable3.index,$whenCondition2,$PRE.integerTable2.y,integerTable2.y,$PRE.integerTable2.nextTime,integerTable2.nextTime,$PRE.integerTable2.index,integerTable2.index,$whenCondition1,$PRE.integerTable.y,integerTable.y,$PRE.integerTable.nextTime,integerTable.nextTime,$PRE.integerTable.index,integerTable.index) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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 9.602e-05/0.4264, allocations: 131.1 kB / 478.8 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.4264, allocations: 14.91 kB / 478.8 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.151e-05/0.4265, allocations: 16.62 kB / 478.8 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.4265, allocations: 3.219 kB / 478.8 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.4265, allocations: 3.188 kB / 478.8 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.4265, allocations: 0 / 478.8 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.4267, allocations: 199.1 kB / 479 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4267, allocations: 256 / 479 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.857e-06/0.4267, allocations: 7.188 kB / 479 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.4267, allocations: 0 / 479 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.4267, allocations: 13.41 kB / 479.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4267, allocations: 0 / 479.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.4268, allocations: 3.906 kB / 479.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00027/0.427, allocations: 297 kB / 479.4 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.74e-05/0.4271, allocations: 88.67 kB / 479.4 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.699e-05/0.4271, allocations: 3.75 kB / 479.4 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.4272, allocations: 19.11 kB / 479.5 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.4273, allocations: 7.859 kB / 479.5 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.276e-05/0.4274, allocations: 34.27 kB / 479.5 MB, free: 10.53 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.017e-05/0.4274, allocations: 130.3 kB / 479.6 MB, free: 10.45 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005329/0.428, allocations: 88.77 kB / 479.7 MB, free: 10.43 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition4,integerTable4.y,integerTable4.nextTime,integerTable4.index,$whenCondition3,integerTable3.y,integerTable3.nextTime,integerTable3.index,$whenCondition2,integerTable2.y,integerTable2.nextTime,integerTable2.index,$whenCondition1,integerTable.y,integerTable.nextTime,integerTable.index) * Number of discrete states: 8 (integerTable.index,integerTable.nextTime,integerTable2.index,integerTable2.nextTime,integerTable3.index,integerTable3.nextTime,integerTable4.index,integerTable4.nextTime) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.0004622/0.4284, allocations: 195 kB / 479.9 MB, free: 10.33 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002959/0.4287, allocations: 260.8 kB / 480.2 MB, free: 10.2 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4288, allocations: 0 / 480.2 MB, free: 10.2 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.4289, allocations: 89.2 kB / 480.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.429, allocations: 10.8 kB / 480.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004986/0.4295, allocations: 249.7 kB / 480.5 MB, free: 10.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003152/0.4299, allocations: 0.7318 MB / 481.2 MB, free: 25.39 MB / 346.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4299, allocations: 7.875 kB / 481.2 MB, free: 25.39 MB / 346.7 MB Notification: Performance of Templates: time 0.006433/0.4363, allocations: 2.545 MB / 483.8 MB, free: 25.21 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable.pipe 2>&1)