Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks") translateModel(Annex60.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks") [: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/Annex60 1.0.0/package.mo): time 0.2771/0.2771, allocations: 54.39 MB / 61.67 MB, free: 11.16 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001252/0.001252, allocations: 183.7 kB / 75.37 MB, free: 1.5 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.417/1.417, allocations: 194.2 MB / 283.2 MB, free: 3.566 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001821/0.001821, allocations: 119.5 kB / 341.3 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.606e-06/8.636e-06, allocations: 4 kB / 404.9 MB, free: 27.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1008, allocations: 57.65 MB / 462.6 MB, free: 1.965 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2697/0.3706, allocations: 86.45 MB / 0.5362 GB, free: 10.83 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001878/0.3708, allocations: 73.02 kB / 0.5362 GB, free: 10.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.01478/0.3856, allocations: 4.624 MB / 0.5408 GB, free: 6.719 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.3856, allocations: 0 / 0.5408 GB, free: 6.719 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005453/0.3862, allocations: 418.1 kB / 0.5412 GB, free: 6.266 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.3862, allocations: 11.97 kB / 0.5412 GB, free: 6.254 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008012/0.387, allocations: 131.7 kB / 0.5413 GB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.3872, allocations: 179.5 kB / 0.5415 GB, free: 5.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.3874, allocations: 72.14 kB / 0.5415 GB, free: 5.828 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.3874, allocations: 4 kB / 0.5415 GB, free: 5.824 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001977/0.3876, allocations: 68 kB / 0.5416 GB, free: 5.758 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.3879, allocations: 109.6 kB / 0.5417 GB, free: 5.645 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3879, allocations: 0 / 0.5417 GB, free: 5.645 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.781e-05/0.3879, allocations: 3.906 kB / 0.5417 GB, free: 5.641 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.3879, allocations: 0 / 0.5417 GB, free: 5.641 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.3891, allocations: 494.2 kB / 0.5422 GB, free: 5.121 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.3893, allocations: 98.44 kB / 0.5423 GB, free: 5.016 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.532e-05/0.3894, allocations: 32.98 kB / 0.5423 GB, free: 4.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.3894, allocations: 7.984 kB / 0.5423 GB, free: 4.973 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.3894, allocations: 38.55 kB / 0.5424 GB, free: 4.926 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.554e-06/0.3894, allocations: 3.984 kB / 0.5424 GB, free: 4.922 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002704/0.3897, allocations: 97.59 kB / 0.5425 GB, free: 4.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.3898, allocations: 51.41 kB / 0.5425 GB, free: 4.758 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.346e-05/0.3899, allocations: 124.9 kB / 0.5426 GB, free: 4.629 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.3899, allocations: 29.7 kB / 0.5426 GB, free: 4.594 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.085e-05/0.3899, allocations: 104.1 kB / 0.5427 GB, free: 4.484 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.39, allocations: 23.69 kB / 0.5428 GB, free: 4.461 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-06/0.39, allocations: 3.938 kB / 0.5428 GB, free: 4.457 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3901, allocations: 322.7 kB / 0.5431 GB, free: 4.133 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.546e-05/0.3902, allocations: 32 kB / 0.5431 GB, free: 4.102 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.068e-05/0.3903, allocations: 54.56 kB / 0.5432 GB, free: 4.039 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.356e-05/0.3904, allocations: 28 kB / 0.5432 GB, free: 4.012 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3904, allocations: 0 / 0.5432 GB, free: 4.012 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002112/0.3906, allocations: 117.5 kB / 0.5433 GB, free: 3.891 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.3906, allocations: 5.406 kB / 0.5433 GB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3906, allocations: 0 / 0.5433 GB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3907, allocations: 4 kB / 0.5433 GB, free: 3.883 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003133/0.391, allocations: 52.02 kB / 0.5434 GB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.391, allocations: 0 / 0.5434 GB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.3912, allocations: 39.88 kB / 0.5434 GB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.3912, allocations: 7.984 kB / 0.5434 GB, free: 3.785 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.571e-05/0.3913, allocations: 104.9 kB / 0.5435 GB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.674e-05/0.3914, allocations: 11.91 kB / 0.5435 GB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002891/0.3917, allocations: 114.1 kB / 0.5436 GB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3917, allocations: 4 kB / 0.5436 GB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.3917, allocations: 0 / 0.5436 GB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3917, allocations: 3.906 kB / 0.5436 GB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.392, allocations: 207 kB / 0.5438 GB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.392, allocations: 3.984 kB / 0.5438 GB, free: 3.297 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002543/0.3923, allocations: 43.95 kB / 0.5439 GB, free: 3.254 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.3923, allocations: 4 kB / 0.5439 GB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.3923, allocations: 0 / 0.5439 GB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3923, allocations: 192 / 0.5439 GB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.3923, allocations: 7.906 kB / 0.5439 GB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002575/0.3926, allocations: 203.4 kB / 0.5441 GB, free: 3.027 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/0.3926, allocations: 84.95 kB / 0.5442 GB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.3927, allocations: 3.984 kB / 0.5442 GB, free: 2.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/0.393, allocations: 51.95 kB / 0.5442 GB, free: 2.871 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.3931, allocations: 7.938 kB / 0.5442 GB, free: 2.863 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/0.3931, allocations: 11.89 kB / 0.5442 GB, free: 2.852 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.155e-05/0.3932, allocations: 103.2 kB / 0.5443 GB, free: 2.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002654/0.3934, allocations: 20 kB / 0.5444 GB, free: 2.73 MB / 378.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 (6): * Single equations (assignments): 6 * 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.0001428/0.3936, allocations: 91.25 kB / 0.5444 GB, free: 2.629 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001995/0.3938, allocations: 91.92 kB / 0.5445 GB, free: 2.539 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3938, allocations: 0 / 0.5445 GB, free: 2.539 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.32e-05/0.3939, allocations: 35.98 kB / 0.5446 GB, free: 2.504 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.3941, allocations: 8 kB / 0.5446 GB, free: 2.496 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004252/0.3945, allocations: 139.6 kB / 0.5447 GB, free: 2.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003882/0.3949, allocations: 0.7309 MB / 0.5454 GB, free: 1.582 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.395, allocations: 0 / 0.5454 GB, free: 1.582 MB / 378.7 MB Notification: Performance of Templates: time 0.004089/0.399, allocations: 1.69 MB / 0.5471 GB, free: 15.9 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)