Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33") [: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 4.0.0+maint.om/package.mo): time 0.0009693/0.0009692, allocations: 175.6 kB / 8.517 MB, free: 1.859 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.219/1.219, allocations: 221.4 MB / 230.3 MB, free: 7.715 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008677/0.0008675, allocations: 87.23 kB / 281.2 MB, free: 5.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1785/0.1785, allocations: 44.14 MB / 376.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.223e-06/7.243e-06, allocations: 4.219 kB / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1104, allocations: 61.9 MB / 0.4941 GB, free: 1.641 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3453/0.4558, allocations: 87.47 MB / 0.5795 GB, free: 9.316 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/0.456, allocations: 74.39 kB / 0.5796 GB, free: 9.277 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01648/0.4725, allocations: 5.91 MB / 0.5854 GB, free: 3.406 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.4726, allocations: 0 / 0.5854 GB, free: 3.406 MB / 394.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.000509/0.4731, allocations: 394.2 kB / 0.5857 GB, free: 2.977 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.4732, allocations: 17.47 kB / 0.5857 GB, free: 2.961 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.651e-05/0.4732, allocations: 7.906 kB / 0.5858 GB, free: 2.953 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.4735, allocations: 194.9 kB / 0.5859 GB, free: 2.723 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.4735, allocations: 0 / 0.5859 GB, free: 2.723 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.4736, allocations: 0 / 0.5859 GB, free: 2.723 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.224e-05/0.4736, allocations: 15.94 kB / 0.586 GB, free: 2.707 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.4738, allocations: 55.31 kB / 0.586 GB, free: 2.641 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.4738, allocations: 8 kB / 0.586 GB, free: 2.633 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.4738, allocations: 3.938 kB / 0.586 GB, free: 2.629 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.4738, allocations: 0 / 0.586 GB, free: 2.629 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004157/0.4742, allocations: 253.4 kB / 0.5863 GB, free: 2.344 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.4744, allocations: 29.66 kB / 0.5863 GB, free: 2.309 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.821e-05/0.4745, allocations: 8.859 kB / 0.5863 GB, free: 2.297 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.4745, allocations: 4 kB / 0.5863 GB, free: 2.293 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.4745, allocations: 34.56 kB / 0.5863 GB, free: 2.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.4745, allocations: 4 kB / 0.5863 GB, free: 2.246 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000448/0.475, allocations: 93.56 kB / 0.5864 GB, free: 2.148 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.4751, allocations: 85.02 kB / 0.5865 GB, free: 2.047 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.4752, allocations: 122.8 kB / 0.5866 GB, free: 1.922 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.4752, allocations: 25.7 kB / 0.5867 GB, free: 1.891 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.305e-05/0.4753, allocations: 84.14 kB / 0.5867 GB, free: 1.805 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.4753, allocations: 27.67 kB / 0.5868 GB, free: 1.777 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-06/0.4753, allocations: 0 / 0.5868 GB, free: 1.777 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.4754, allocations: 314.8 kB / 0.5871 GB, free: 1.461 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.858e-05/0.4755, allocations: 8 kB / 0.5871 GB, free: 1.453 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.434e-05/0.4755, allocations: 21.72 kB / 0.5871 GB, free: 1.426 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.997e-05/0.4756, allocations: 15.98 kB / 0.5871 GB, free: 1.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.4756, allocations: 0 / 0.5871 GB, free: 1.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000124/0.4757, allocations: 53.61 kB / 0.5872 GB, free: 1.352 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.4757, allocations: 14.38 kB / 0.5872 GB, free: 1.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4758, allocations: 0 / 0.5872 GB, free: 1.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.4758, allocations: 7.891 kB / 0.5872 GB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.738e-05/0.4759, allocations: 12 kB / 0.5872 GB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.4759, allocations: 3.938 kB / 0.5872 GB, free: 1.316 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.844e-05/0.4759, allocations: 7.984 kB / 0.5872 GB, free: 1.309 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.4759, allocations: 8 kB / 0.5872 GB, free: 1.301 MB / 394.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 (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 prepare postOptimizeDAE: time 7.231e-05/0.476, allocations: 101 kB / 0.5873 GB, free: 1.195 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/0.4761, allocations: 7.906 kB / 0.5873 GB, free: 1.188 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.4762, allocations: 69.73 kB / 0.5874 GB, free: 1.109 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.4762, allocations: 3.984 kB / 0.5874 GB, free: 1.105 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4762, allocations: 0 / 0.5874 GB, free: 1.105 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4763, allocations: 0 / 0.5874 GB, free: 1.105 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003133/0.4766, allocations: 299 kB / 0.5877 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.4766, allocations: 7.984 kB / 0.5877 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.464e-05/0.4767, allocations: 12 kB / 0.5877 GB, free: 0.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.4767, allocations: 0 / 0.5877 GB, free: 0.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.4767, allocations: 0 / 0.5877 GB, free: 0.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4767, allocations: 384 / 0.5877 GB, free: 0.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.4767, allocations: 3.906 kB / 0.5877 GB, free: 0.7461 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001428/0.4769, allocations: 163.5 kB / 0.5878 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.997e-05/0.4769, allocations: 92.94 kB / 0.5879 GB, free: 472 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.4769, allocations: 0 / 0.5879 GB, free: 472 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.929e-05/0.477, allocations: 7.938 kB / 0.5879 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.4771, allocations: 7.984 kB / 0.5879 GB, free: 456 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.4771, allocations: 0 / 0.5879 GB, free: 456 kB / 394.7 MB Notification: Performance of sort global known variables: time 8.108e-05/0.4772, allocations: 110.6 kB / 0.5881 GB, free: 348 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002811/0.4775, allocations: 23.94 kB / 0.5881 GB, free: 324 kB / 394.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.0008605/0.4783, allocations: 331.7 kB / 0.5884 GB, free: 60 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001181/0.4785, allocations: 24 kB / 0.5884 GB, free: 36 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.4785, allocations: 8 kB / 0.5884 GB, free: 28 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.936e-05/0.4785, allocations: 15.94 kB / 0.5884 GB, free: 12 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.4787, allocations: 19.94 kB / 0.5885 GB, free: 15.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002974/0.4791, allocations: 87.77 kB / 0.5885 GB, free: 15.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002968/0.4794, allocations: 0.7113 MB / 0.5892 GB, free: 15.14 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4794, allocations: 0 / 0.5892 GB, free: 15.14 MB / 410.7 MB Notification: Performance of Templates: time 0.003979/0.4834, allocations: 1.326 MB / 0.5905 GB, free: 13.82 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1)