Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.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) 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(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper") [: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.004252/0.004252, allocations: 176.3 kB / 7.452 MB, free: 2.504 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.497/1.497, 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.001778/0.001778, allocations: 115.8 kB / 217.7 MB, free: 8.227 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 6.362e-06/6.392e-06, allocations: 0 / 261.7 MB, free: 26.68 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08494/0.08496, allocations: 38.77 MB / 300.5 MB, free: 3.91 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.274/0.3591, allocations: 65.75 MB / 366.3 MB, free: 3.023 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.3594, allocations: 68.27 kB / 366.3 MB, free: 2.984 MB / 250.7 MB Notification: Performance of FrontEnd: time 0.009548/0.369, allocations: 3.728 MB / 370.1 MB, free: 15.99 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.327e-05/0.369, allocations: 4.75 kB / 370.1 MB, free: 15.98 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008049/0.3699, allocations: 496.4 kB / 370.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3699, allocations: 8.031 kB / 370.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.453e-05/0.37, allocations: 31.62 kB / 370.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.3703, allocations: 225.2 kB / 370.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.3704, allocations: 8 kB / 370.8 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.73e-05/0.3704, allocations: 19.91 kB / 370.8 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003347/0.3708, allocations: 138.1 kB / 371 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/0.3711, allocations: 203.6 kB / 371.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.3712, allocations: 8 kB / 371.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.3712, allocations: 0 / 371.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.3712, allocations: 4 kB / 371.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.3723, allocations: 0.7494 MB / 371.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/0.3726, allocations: 206.1 kB / 372.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/0.3729, allocations: 127.9 kB / 372.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.3729, allocations: 7.906 kB / 372.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.373, allocations: 47.27 kB / 372.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.623e-06/0.373, allocations: 0 / 372.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.00235/0.3753, allocations: 1.724 MB / 374 MB, free: 12.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.576e-05/0.3754, allocations: 106.8 kB / 374.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.3756, allocations: 146.7 kB / 374.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.3756, allocations: 25.7 kB / 374.3 MB, free: 11.76 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.3757, allocations: 127.3 kB / 374.4 MB, free: 11.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.3758, allocations: 155.1 kB / 374.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.394e-05/0.3759, allocations: 8 kB / 374.6 MB, free: 11.49 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.376, allocations: 333 kB / 374.9 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.3762, allocations: 80 kB / 375 MB, free: 11.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.3764, allocations: 136.8 kB / 375.1 MB, free: 11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.3765, allocations: 112.1 kB / 375.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3765, allocations: 0 / 375.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004573/0.377, allocations: 295.6 kB / 375.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.377, allocations: 8 kB / 375.5 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.3771, allocations: 0 / 375.5 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.3771, allocations: 4 kB / 375.5 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003702/0.3775, allocations: 95.66 kB / 375.6 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.3775, allocations: 11.83 kB / 375.6 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.3776, allocations: 8.094 kB / 375.6 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.3776, allocations: 15.12 kB / 375.7 MB, free: 10.57 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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 8.409e-05/0.3777, allocations: 112.8 kB / 375.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.188e-05/0.3778, allocations: 23.72 kB / 375.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.44e-05/0.3779, allocations: 30.59 kB / 375.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.3779, allocations: 8 kB / 375.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.3779, allocations: 3.984 kB / 375.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.3779, allocations: 0 / 375.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/0.3794, allocations: 0.9588 MB / 376.8 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.3794, allocations: 4 kB / 376.8 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004145/0.3798, allocations: 91.98 kB / 376.9 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.3798, allocations: 12 kB / 376.9 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/0.3799, allocations: 4 kB / 376.9 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.3799, allocations: 4 kB / 376.9 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.3799, allocations: 7.938 kB / 376.9 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007842/0.3807, allocations: 0.7961 MB / 377.7 MB, free: 8.598 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.288e-05/0.3808, allocations: 100.8 kB / 377.8 MB, free: 8.48 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.349e-05/0.3808, allocations: 10.75 kB / 377.8 MB, free: 8.473 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.381, allocations: 7.906 kB / 377.8 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.3811, allocations: 27.33 kB / 377.9 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.3811, allocations: 11.62 kB / 377.9 MB, free: 8.434 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.871e-05/0.3812, allocations: 118.3 kB / 378 MB, free: 8.328 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004385/0.3816, allocations: 60 kB / 378 MB, free: 8.27 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper1.s_rel,damper1.v_rel,damper2.s_rel,damper2.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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.0001654/0.3818, allocations: 107.1 kB / 378.1 MB, free: 8.156 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003811/0.3822, allocations: 236.5 kB / 378.4 MB, free: 7.984 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.3822, allocations: 0 / 378.4 MB, free: 7.984 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001827/0.3824, allocations: 137.3 kB / 378.5 MB, free: 7.883 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005056/0.3829, allocations: 49.39 kB / 378.6 MB, free: 7.844 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.3843, allocations: 0.7403 MB / 379.3 MB, free: 7.102 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005486/0.3849, allocations: 0.7992 MB / 380.1 MB, free: 6.273 MB / 266.7 MB Notification: Performance of SimCode: time 2.715e-06/0.3849, allocations: 0 / 380.1 MB, free: 6.273 MB / 266.7 MB Notification: Performance of Templates: time 0.008139/0.3931, allocations: 2.784 MB / 382.9 MB, free: 3.496 MB / 266.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1)