Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential") translateModel(Annex60.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential") [: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.274/0.274, allocations: 54.4 MB / 61.68 MB, free: 11.18 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.001199/0.001199, allocations: 195.3 kB / 75.38 MB, free: 1.473 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.456/1.456, allocations: 194.2 MB / 283.2 MB, free: 3.512 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.001934/0.001934, allocations: 126.8 kB / 341.3 MB, free: 9.387 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.123e-06/7.143e-06, allocations: 0 / 404.9 MB, free: 27.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1237, allocations: 57.65 MB / 462.6 MB, free: 2 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2688/0.3926, allocations: 84.69 MB / 0.5345 GB, free: 12.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.3928, allocations: 72.2 kB / 0.5345 GB, free: 12.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.00361/0.3965, allocations: 1.01 MB / 0.5355 GB, free: 11.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3965, allocations: 0 / 0.5355 GB, free: 11.51 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003262/0.3968, allocations: 346.3 kB / 0.5358 GB, free: 11.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.3969, allocations: 11.97 kB / 0.5359 GB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.3969, allocations: 4 kB / 0.5359 GB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.397, allocations: 171.6 kB / 0.536 GB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.397, allocations: 0 / 0.536 GB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-06/0.3971, allocations: 4 kB / 0.536 GB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.524e-05/0.3971, allocations: 11.88 kB / 0.536 GB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.686e-05/0.3972, allocations: 37.19 kB / 0.5361 GB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.3972, allocations: 8 kB / 0.5361 GB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.3972, allocations: 0 / 0.5361 GB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.3972, allocations: 0 / 0.5361 GB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003984/0.3976, allocations: 260.3 kB / 0.5363 GB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.481e-05/0.3977, allocations: 22.58 kB / 0.5363 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.74e-05/0.3977, allocations: 12.55 kB / 0.5364 GB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.311e-05/0.3978, allocations: 77.11 kB / 0.5364 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.3979, allocations: 35.38 kB / 0.5365 GB, free: 10.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.3979, allocations: 0 / 0.5365 GB, free: 10.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001823/0.3981, allocations: 53.16 kB / 0.5365 GB, free: 10.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.3981, allocations: 51.41 kB / 0.5366 GB, free: 10.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.046e-05/0.3982, allocations: 92.69 kB / 0.5367 GB, free: 10.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.3982, allocations: 25.7 kB / 0.5367 GB, free: 10.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.068e-05/0.3982, allocations: 80.14 kB / 0.5368 GB, free: 10.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.3983, allocations: 11.53 kB / 0.5368 GB, free: 10.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.3983, allocations: 0 / 0.5368 GB, free: 10.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.3984, allocations: 314.8 kB / 0.5371 GB, free: 9.738 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.762e-05/0.3984, allocations: 11.72 kB / 0.5371 GB, free: 9.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.097e-05/0.3984, allocations: 0 / 0.5371 GB, free: 9.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.646e-05/0.3985, allocations: 7.375 kB / 0.5371 GB, free: 9.727 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3985, allocations: 0 / 0.5371 GB, free: 9.727 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.205e-05/0.3986, allocations: 45.02 kB / 0.5371 GB, free: 9.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.3986, allocations: 7.984 kB / 0.5371 GB, free: 9.672 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3986, allocations: 0 / 0.5371 GB, free: 9.672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.3986, allocations: 13.08 kB / 0.5371 GB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.175e-05/0.3987, allocations: 12.09 kB / 0.5372 GB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3987, allocations: 3.984 kB / 0.5372 GB, free: 9.645 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.059e-05/0.3988, allocations: 11.98 kB / 0.5372 GB, free: 9.633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.3988, allocations: 0 / 0.5372 GB, free: 9.633 MB / 378.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 (2): * Single equations (assignments): 2 * 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 6.173e-05/0.3989, allocations: 101 kB / 0.5373 GB, free: 9.527 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.3989, allocations: 7.844 kB / 0.5373 GB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.399, allocations: 56.52 kB / 0.5373 GB, free: 9.465 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3991, allocations: 3.938 kB / 0.5373 GB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3991, allocations: 0 / 0.5373 GB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3991, allocations: 0 / 0.5373 GB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.3992, allocations: 138 kB / 0.5375 GB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3992, allocations: 0 / 0.5375 GB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.014e-05/0.3993, allocations: 19.98 kB / 0.5375 GB, free: 9.273 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3993, allocations: 4.031 kB / 0.5375 GB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.3993, allocations: 3.906 kB / 0.5375 GB, free: 9.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3993, allocations: 3.938 kB / 0.5375 GB, free: 9.262 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.3993, allocations: 0 / 0.5375 GB, free: 9.262 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001228/0.3995, allocations: 137 kB / 0.5376 GB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.3995, allocations: 85 kB / 0.5377 GB, free: 9.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.3995, allocations: 4 kB / 0.5377 GB, free: 9.016 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.662e-05/0.3996, allocations: 8.031 kB / 0.5377 GB, free: 9.008 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/0.3997, allocations: 3.984 kB / 0.5377 GB, free: 9.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.3997, allocations: 4 kB / 0.5377 GB, free: 9 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.158e-05/0.3997, allocations: 82.97 kB / 0.5378 GB, free: 8.922 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002284/0.3999, allocations: 15.94 kB / 0.5378 GB, free: 8.906 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 (2): * Single equations (assignments): 2 * 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.0001546/0.4001, allocations: 115.2 kB / 0.5379 GB, free: 8.785 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.351e-05/0.4002, allocations: 15.5 kB / 0.5379 GB, free: 8.773 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.4002, allocations: 0 / 0.5379 GB, free: 8.773 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.733e-05/0.4002, allocations: 7.5 kB / 0.538 GB, free: 8.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.4005, allocations: 3.906 kB / 0.538 GB, free: 8.766 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00023/0.4007, allocations: 63.34 kB / 0.538 GB, free: 8.684 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003519/0.4011, allocations: 0.6919 MB / 0.5387 GB, free: 7.965 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.4011, allocations: 3.938 kB / 0.5387 GB, free: 7.961 MB / 378.7 MB Notification: Performance of Templates: time 0.002256/0.4034, allocations: 0.5317 MB / 0.5392 GB, free: 7.441 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)