Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1") [: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.00315/0.00315, allocations: 174.8 kB / 7.45 MB, free: 2.508 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.037/1.037, allocations: 170.6 MB / 178.4 MB, free: 15.46 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.001837/0.001837, allocations: 112.6 kB / 217.7 MB, free: 8.234 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.1421/0.1421, allocations: 37.98 MB / 294.8 MB, free: 9.629 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.608e-06/9.728e-06, allocations: 2.531 kB / 349.5 MB, free: 37.12 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09323/0.09325, allocations: 48.72 MB / 398.2 MB, free: 5.676 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.318/0.4113, allocations: 75.03 MB / 473.3 MB, free: 13.64 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.4116, allocations: 66.75 kB / 473.3 MB, free: 13.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01065/0.4223, allocations: 3.928 MB / 477.2 MB, free: 13.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.4223, allocations: 2.875 kB / 477.3 MB, free: 13.43 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.0004349/0.4228, allocations: 431.6 kB / 477.7 MB, free: 13 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.4228, allocations: 7.625 kB / 477.7 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.841e-05/0.4229, allocations: 15.59 kB / 477.7 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.4232, allocations: 209.8 kB / 477.9 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.4233, allocations: 11.83 kB / 477.9 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.4233, allocations: 3.906 kB / 477.9 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.805e-05/0.4234, allocations: 17.45 kB / 477.9 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.487e-05/0.4235, allocations: 42.58 kB / 478 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.4235, allocations: 0 / 478 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.4235, allocations: 0 / 478 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.4235, allocations: 0 / 478 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004122/0.424, allocations: 286.7 kB / 478.3 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.4242, allocations: 37.78 kB / 478.3 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.396e-05/0.4242, allocations: 15.67 kB / 478.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.4242, allocations: 0 / 478.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000103/0.4243, allocations: 51.58 kB / 478.4 MB, free: 12.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.4244, allocations: 0 / 478.4 MB, free: 12.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003665/0.4247, allocations: 113.2 kB / 478.5 MB, free: 12.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.4248, allocations: 55.41 kB / 478.5 MB, free: 12.31 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.425, allocations: 218.5 kB / 478.7 MB, free: 12.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.425, allocations: 29.58 kB / 478.8 MB, free: 12.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/0.4251, allocations: 90.92 kB / 478.9 MB, free: 12.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.4251, allocations: 17.62 kB / 478.9 MB, free: 12.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-06/0.4251, allocations: 0 / 478.9 MB, free: 12.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.394e-05/0.4252, allocations: 326.2 kB / 479.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.023e-05/0.4252, allocations: 18.25 kB / 479.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.434e-05/0.4253, allocations: 17.75 kB / 479.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.927e-05/0.4253, allocations: 31.8 kB / 479.3 MB, free: 11.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.4253, allocations: 0 / 479.3 MB, free: 11.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001419/0.4255, allocations: 103.4 kB / 479.4 MB, free: 11.72 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.4255, allocations: 3.906 kB / 479.4 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.4255, allocations: 0 / 479.4 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.4255, allocations: 3.781 kB / 479.4 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.79e-05/0.4256, allocations: 10.47 kB / 479.4 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.4256, allocations: 0 / 479.4 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.223e-05/0.4257, allocations: 0 / 479.4 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.4257, allocations: 7.688 kB / 479.4 MB, free: 11.72 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.971e-05/0.4257, allocations: 116.8 kB / 479.5 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.4258, allocations: 11.62 kB / 479.5 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.426, allocations: 90.84 kB / 479.6 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.426, allocations: 2.094 kB / 479.6 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.426, allocations: 4 kB / 479.6 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.426, allocations: 0 / 479.6 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.4263, allocations: 357.6 kB / 479.9 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4263, allocations: 0 / 479.9 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.304e-05/0.4263, allocations: 6.844 kB / 480 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.4263, allocations: 0 / 480 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.4264, allocations: 6.781 kB / 480 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4264, allocations: 0 / 480 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4264, allocations: 0 / 480 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001196/0.4265, allocations: 170.6 kB / 480.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/0.4265, allocations: 95.38 kB / 480.2 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.4266, allocations: 4 kB / 480.2 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.17e-05/0.4267, allocations: 4.078 kB / 480.2 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.4267, allocations: 10.2 kB / 480.2 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.4267, allocations: 3.844 kB / 480.2 MB, free: 11.04 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001166/0.4268, allocations: 180.4 kB / 480.4 MB, free: 10.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002675/0.4271, allocations: 33.7 kB / 480.5 MB, free: 10.95 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.0005442/0.4277, allocations: 269.5 kB / 480.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001443/0.4278, allocations: 75.48 kB / 480.8 MB, free: 10.74 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4278, allocations: 0 / 480.8 MB, free: 10.74 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.192e-05/0.4279, allocations: 20.38 kB / 480.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.4281, allocations: 25.02 kB / 480.8 MB, free: 10.72 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004105/0.4285, allocations: 187 kB / 481 MB, free: 10.63 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003589/0.4289, allocations: 0.7321 MB / 481.7 MB, free: 25.93 MB / 346.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4289, allocations: 3.938 kB / 481.8 MB, free: 25.93 MB / 346.7 MB Notification: Performance of Templates: time 0.00425/0.4332, allocations: 1.56 MB / 483.3 MB, free: 25.74 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1)