Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test2.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.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test2") [: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.003803/0.003803, allocations: 178.4 kB / 7.451 MB, free: 2.18 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.204/1.204, 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.001756/0.001756, allocations: 103.8 kB / 217.7 MB, free: 8.141 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.1663/0.1663, allocations: 37.97 MB / 294.8 MB, free: 9.598 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.658e-06/9.688e-06, allocations: 1.125 kB / 349.5 MB, free: 37.1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09517/0.09519, allocations: 48.71 MB / 398.2 MB, free: 5.664 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2818/0.3771, allocations: 73.65 MB / 471.9 MB, free: 13.4 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002014/0.3773, allocations: 66.17 kB / 471.9 MB, free: 13.4 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.006061/0.3834, allocations: 2.215 MB / 474.1 MB, free: 13.29 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.3834, allocations: 0 / 474.1 MB, free: 13.29 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002882/0.3837, allocations: 389.6 kB / 474.5 MB, free: 12.9 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.3838, allocations: 9.562 kB / 474.5 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.3838, allocations: 8.406 kB / 474.5 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.384, allocations: 187.6 kB / 474.7 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.384, allocations: 0 / 474.7 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.3841, allocations: 3.219 kB / 474.7 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.744e-05/0.3841, allocations: 21.83 kB / 474.7 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.801e-05/0.3842, allocations: 42.88 kB / 474.8 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3842, allocations: 3.906 kB / 474.8 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.3842, allocations: 0 / 474.8 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3843, allocations: 0 / 474.8 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002613/0.3845, allocations: 244.2 kB / 475 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.3847, allocations: 34.08 kB / 475.1 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.726e-05/0.3847, allocations: 14.67 kB / 475.1 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.3847, allocations: 3.938 kB / 475.1 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.295e-05/0.3848, allocations: 34.56 kB / 475.1 MB, free: 12.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.3848, allocations: 0 / 475.1 MB, free: 12.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003836/0.3852, allocations: 97.2 kB / 475.2 MB, free: 12.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.554e-05/0.3852, allocations: 51.41 kB / 475.3 MB, free: 12.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.302e-05/0.3853, allocations: 118.8 kB / 475.4 MB, free: 12.14 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.3853, allocations: 29.64 kB / 475.4 MB, free: 12.1 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.414e-05/0.3853, allocations: 90.89 kB / 475.5 MB, free: 12.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.3854, allocations: 11.75 kB / 475.5 MB, free: 12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.3854, allocations: 3.219 kB / 475.5 MB, free: 12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.725e-05/0.3854, allocations: 318.4 kB / 475.8 MB, free: 11.69 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.54e-05/0.3855, allocations: 13.25 kB / 475.8 MB, free: 11.69 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.995e-05/0.3855, allocations: 17.78 kB / 475.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.836e-05/0.3855, allocations: 12.73 kB / 475.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.3855, allocations: 0 / 475.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.248e-05/0.3856, allocations: 62.95 kB / 475.9 MB, free: 11.65 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.3856, allocations: 6.438 kB / 475.9 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3857, allocations: 0 / 475.9 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.3857, allocations: 7.734 kB / 475.9 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.934e-05/0.3857, allocations: 12.78 kB / 476 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.3858, allocations: 4 kB / 476 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.39e-05/0.3858, allocations: 11.17 kB / 476 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.3858, allocations: 3.906 kB / 476 MB, free: 11.64 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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 4.673e-05/0.3859, allocations: 104.9 kB / 476.1 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.3859, allocations: 7.75 kB / 476.1 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.386, allocations: 69.95 kB / 476.1 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3861, allocations: 4.141 kB / 476.2 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3861, allocations: 3.984 kB / 476.2 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3861, allocations: 0 / 476.2 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.3863, allocations: 296.6 kB / 476.4 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3863, allocations: 3.75 kB / 476.4 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.926e-05/0.3864, allocations: 15.05 kB / 476.5 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3864, allocations: 384 / 476.5 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.403e-06/0.3864, allocations: 0 / 476.5 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3864, allocations: 8 kB / 476.5 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3864, allocations: 3.984 kB / 476.5 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.426e-05/0.3865, allocations: 153 kB / 476.6 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.671e-05/0.3866, allocations: 88.03 kB / 476.7 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.3866, allocations: 0 / 476.7 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.487e-05/0.3867, allocations: 6.375 kB / 476.7 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.3867, allocations: 18.48 kB / 476.7 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.3867, allocations: 0 / 476.7 MB, free: 10.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.331e-05/0.3868, allocations: 98.98 kB / 476.8 MB, free: 10.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002341/0.387, allocations: 13.59 kB / 476.8 MB, free: 10.88 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0003834/0.3874, allocations: 194.1 kB / 477 MB, free: 10.74 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001228/0.3875, allocations: 54.77 kB / 477.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3875, allocations: 0 / 477.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.829e-05/0.3876, allocations: 16.38 kB / 477.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.3878, allocations: 7.188 kB / 477.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002933/0.3881, allocations: 113.8 kB / 477.2 MB, free: 10.62 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002859/0.3884, allocations: 0.7043 MB / 477.9 MB, free: 25.92 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3884, allocations: 0 / 477.9 MB, free: 25.92 MB / 346.7 MB Notification: Performance of Templates: time 0.003104/0.3915, allocations: 0.8776 MB / 478.8 MB, free: 25.81 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1)