Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21") [: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.003929/0.003929, 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.105/1.105, allocations: 170.6 MB / 178.4 MB, free: 15.37 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.001689/0.001689, allocations: 107.9 kB / 217.7 MB, free: 8.125 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.1627/0.1627, allocations: 37.97 MB / 294.8 MB, free: 9.586 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.297e-06/9.338e-06, allocations: 2.656 kB / 349.5 MB, free: 37.1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1077, allocations: 48.71 MB / 398.2 MB, free: 5.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3176/0.4254, allocations: 75.04 MB / 473.3 MB, free: 13.7 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.4257, allocations: 71.17 kB / 473.3 MB, free: 13.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01038/0.4361, allocations: 3.637 MB / 477 MB, free: 13.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.4361, allocations: 3.875 kB / 477 MB, free: 13.52 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.0004481/0.4366, allocations: 413.2 kB / 477.4 MB, free: 13.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.4366, allocations: 7.75 kB / 477.4 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.668e-05/0.4367, allocations: 7.781 kB / 477.4 MB, free: 13.1 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.437, allocations: 199 kB / 477.6 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.437, allocations: 3.938 kB / 477.6 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.437, allocations: 3.875 kB / 477.6 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.639e-05/0.4371, allocations: 18.5 kB / 477.6 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.869e-05/0.4372, allocations: 47.11 kB / 477.7 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.4372, allocations: 0 / 477.7 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.4373, allocations: 7.75 kB / 477.7 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-06/0.4373, allocations: 0 / 477.7 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/0.4377, allocations: 259.9 kB / 477.9 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.4379, allocations: 43.52 kB / 478 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.883e-05/0.4379, allocations: 11.77 kB / 478 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.4379, allocations: 0 / 478 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.311e-05/0.438, allocations: 63.88 kB / 478 MB, free: 12.53 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.438, allocations: 0 / 478 MB, free: 12.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003474/0.4384, allocations: 93.59 kB / 478.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.4384, allocations: 51.41 kB / 478.2 MB, free: 12.42 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.4385, allocations: 157.6 kB / 478.3 MB, free: 12.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.4386, allocations: 33.42 kB / 478.4 MB, free: 12.29 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.892e-05/0.4386, allocations: 94.61 kB / 478.4 MB, free: 12.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.4386, allocations: 7.812 kB / 478.5 MB, free: 12.2 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-06/0.4386, allocations: 0 / 478.5 MB, free: 12.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.208e-05/0.4387, allocations: 323.4 kB / 478.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.883e-05/0.4387, allocations: 20.33 kB / 478.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.619e-05/0.4388, allocations: 24.5 kB / 478.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.879e-05/0.4388, allocations: 24.8 kB / 478.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.4388, allocations: 0 / 478.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001407/0.439, allocations: 97.66 kB / 478.9 MB, free: 11.84 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.439, allocations: 3.781 kB / 478.9 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.439, allocations: 0 / 478.9 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.439, allocations: 96 / 478.9 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.576e-05/0.4391, allocations: 18.19 kB / 479 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.4391, allocations: 7.922 kB / 479 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.889e-05/0.4392, allocations: 0 / 479 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.4392, allocations: 3.812 kB / 479 MB, free: 11.82 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.422e-05/0.4392, allocations: 118.7 kB / 479.1 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.4393, allocations: 11.88 kB / 479.1 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/0.4394, allocations: 82.78 kB / 479.2 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.4394, allocations: 0 / 479.2 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.4395, allocations: 3.234 kB / 479.2 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4395, allocations: 0 / 479.2 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.4397, allocations: 322.1 kB / 479.5 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.4397, allocations: 4 kB / 479.5 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.355e-05/0.4398, allocations: 9.344 kB / 479.5 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.4398, allocations: 3.75 kB / 479.5 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.4398, allocations: 0 / 479.5 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.4398, allocations: 0 / 479.5 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4398, allocations: 0 / 479.5 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001178/0.4399, allocations: 173.6 kB / 479.7 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.255e-05/0.44, allocations: 90.88 kB / 479.8 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.44, allocations: 0 / 479.8 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.674e-05/0.4401, allocations: 4 kB / 479.8 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.4401, allocations: 6.094 kB / 479.8 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.4401, allocations: 0 / 479.8 MB, free: 11.15 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.155e-05/0.4402, allocations: 131.8 kB / 479.9 MB, free: 11.07 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002609/0.4405, allocations: 34.06 kB / 479.9 MB, free: 11.06 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.0005145/0.441, allocations: 269.9 kB / 480.2 MB, free: 10.88 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001302/0.4411, allocations: 80.33 kB / 480.3 MB, free: 10.85 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4411, allocations: 3.938 kB / 480.3 MB, free: 10.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.573e-05/0.4412, allocations: 15.28 kB / 480.3 MB, free: 10.84 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.4414, allocations: 16.08 kB / 480.3 MB, free: 10.84 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002925/0.4417, allocations: 135.2 kB / 480.4 MB, free: 10.76 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/0.442, allocations: 0.7149 MB / 481.2 MB, free: 26.05 MB / 346.7 MB Notification: Performance of SimCode: time 2.7e-07/0.442, allocations: 3.938 kB / 481.2 MB, free: 26.05 MB / 346.7 MB Notification: Performance of Templates: time 0.003829/0.4459, allocations: 1.432 MB / 482.6 MB, free: 25.88 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1)