Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.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.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15") [: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.002382/0.002382, allocations: 178.1 kB / 7.447 MB, free: 2.316 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.291/1.291, allocations: 170.6 MB / 178.4 MB, free: 15.39 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.001834/0.001834, allocations: 124.4 kB / 217.7 MB, free: 8.164 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.1544/0.1544, allocations: 37.98 MB / 294.8 MB, free: 9.625 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.165e-06/8.195e-06, allocations: 2.844 kB / 349.5 MB, free: 37.08 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1158, allocations: 48.72 MB / 398.2 MB, free: 5.688 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2576/0.3735, allocations: 75.01 MB / 473.2 MB, free: 13.64 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.3738, allocations: 64.7 kB / 473.3 MB, free: 13.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.00952/0.3833, allocations: 3.504 MB / 476.8 MB, free: 13.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.3834, allocations: 4 kB / 476.8 MB, free: 13.49 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003763/0.3838, allocations: 410.5 kB / 477.2 MB, free: 13.08 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.3838, allocations: 11.72 kB / 477.2 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.647e-05/0.3839, allocations: 11.59 kB / 477.2 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.3841, allocations: 198 kB / 477.4 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.3841, allocations: 0 / 477.4 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.3841, allocations: 3.844 kB / 477.4 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.499e-05/0.3842, allocations: 17.61 kB / 477.4 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.332e-05/0.3843, allocations: 46.58 kB / 477.5 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3843, allocations: 0 / 477.5 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.3843, allocations: 0 / 477.5 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3843, allocations: 3.781 kB / 477.5 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/0.3846, allocations: 266.2 kB / 477.7 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.3848, allocations: 35.8 kB / 477.8 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.708e-05/0.3849, allocations: 15.98 kB / 477.8 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.3849, allocations: 3.938 kB / 477.8 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.286e-05/0.3849, allocations: 55.62 kB / 477.9 MB, free: 12.51 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.385, allocations: 0 / 477.9 MB, free: 12.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003122/0.3853, allocations: 95 kB / 477.9 MB, free: 12.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/0.3853, allocations: 55.31 kB / 478 MB, free: 12.4 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.3854, allocations: 146.2 kB / 478.1 MB, free: 12.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.3854, allocations: 25.7 kB / 478.2 MB, free: 12.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.368e-05/0.3855, allocations: 92.94 kB / 478.3 MB, free: 12.19 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.3855, allocations: 15.77 kB / 478.3 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.3855, allocations: 0 / 478.3 MB, free: 12.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.722e-05/0.3856, allocations: 319.2 kB / 478.6 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.948e-05/0.3856, allocations: 22.12 kB / 478.6 MB, free: 11.87 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.31e-05/0.3857, allocations: 17.12 kB / 478.6 MB, free: 11.87 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.3858, allocations: 22.27 kB / 478.6 MB, free: 11.87 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3858, allocations: 0 / 478.6 MB, free: 11.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001518/0.3859, allocations: 99.55 kB / 478.7 MB, free: 11.83 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.386, allocations: 7.188 kB / 478.7 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.386, allocations: 80 / 478.7 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.386, allocations: 3.219 kB / 478.8 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.921e-05/0.386, allocations: 9.172 kB / 478.8 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.3861, allocations: 11.92 kB / 478.8 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.977e-05/0.3861, allocations: 7.094 kB / 478.8 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.3861, allocations: 3.219 kB / 478.8 MB, free: 11.81 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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 5.208e-05/0.3862, allocations: 108.1 kB / 478.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.743e-05/0.3862, allocations: 12.73 kB / 478.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000171/0.3864, allocations: 84.19 kB / 479 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3864, allocations: 3.188 kB / 479 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3864, allocations: 3.906 kB / 479 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.3864, allocations: 2.953 kB / 479 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.3867, allocations: 321.1 kB / 479.3 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3867, allocations: 0 / 479.3 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.335e-05/0.3867, allocations: 8.578 kB / 479.3 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3867, allocations: 4 kB / 479.3 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.3867, allocations: 7.125 kB / 479.3 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3867, allocations: 0 / 479.3 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.3868, allocations: 0 / 479.3 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001262/0.3869, allocations: 164.6 kB / 479.5 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.583e-05/0.387, allocations: 86.72 kB / 479.6 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.783e-05/0.3871, allocations: 0 / 479.6 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.812e-05/0.3871, allocations: 7.125 kB / 479.6 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.3872, allocations: 9.578 kB / 479.6 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.3872, allocations: 2.688 kB / 479.6 MB, free: 11.13 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.443e-05/0.3872, allocations: 114.6 kB / 479.7 MB, free: 11.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002758/0.3875, allocations: 35.42 kB / 479.7 MB, free: 11.04 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005196/0.3881, allocations: 280.1 kB / 480 MB, free: 10.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001359/0.3882, allocations: 72.2 kB / 480.1 MB, free: 10.83 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3882, allocations: 0 / 480.1 MB, free: 10.83 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.625e-05/0.3883, allocations: 19.97 kB / 480.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.3885, allocations: 18.86 kB / 480.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002849/0.3888, allocations: 117.4 kB / 480.2 MB, free: 10.74 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/0.389, allocations: 0.7168 MB / 480.9 MB, free: 10.03 MB / 330.7 MB Notification: Performance of SimCode: time 3.61e-07/0.389, allocations: 0 / 480.9 MB, free: 10.03 MB / 330.7 MB Notification: Performance of Templates: time 0.003539/0.3925, allocations: 1.418 MB / 482.4 MB, free: 9.859 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1)