Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.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.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal") translateModel(Annex60.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal") [: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.2631/0.2631, allocations: 54.39 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.001052/0.001052, allocations: 187 kB / 75.38 MB, free: 1.488 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.212/1.212, 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.001657/0.001657, allocations: 111.5 kB / 341.3 MB, free: 9.391 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.326e-06/8.356e-06, allocations: 0 / 404.9 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1357, allocations: 57.64 MB / 462.6 MB, free: 1.988 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3996/0.5354, allocations: 84.64 MB / 0.5344 GB, free: 12.45 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.5357, allocations: 67.16 kB / 0.5345 GB, free: 12.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.002356/0.5381, allocations: 477.9 kB / 0.5349 GB, free: 12.01 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.5381, allocations: 0 / 0.5349 GB, free: 12.01 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.0003701/0.5385, allocations: 346.8 kB / 0.5352 GB, free: 11.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.5385, allocations: 11.97 kB / 0.5353 GB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/0.5386, allocations: 0 / 0.5353 GB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.5387, allocations: 167 kB / 0.5354 GB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.5387, allocations: 4.875 kB / 0.5354 GB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.5388, allocations: 3.938 kB / 0.5354 GB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.287e-05/0.5388, allocations: 15.61 kB / 0.5354 GB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.786e-05/0.5389, allocations: 37.27 kB / 0.5355 GB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.5389, allocations: 0 / 0.5355 GB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.539, allocations: 0 / 0.5355 GB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.539, allocations: 0 / 0.5355 GB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004406/0.5394, allocations: 253.3 kB / 0.5357 GB, free: 11.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.665e-05/0.5395, allocations: 37.67 kB / 0.5357 GB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.189e-05/0.5395, allocations: 12.92 kB / 0.5358 GB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.806e-05/0.5396, allocations: 0.7656 kB / 0.5358 GB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.5396, allocations: 38.56 kB / 0.5358 GB, free: 10.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.5396, allocations: 0 / 0.5358 GB, free: 10.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002107/0.5398, allocations: 52.84 kB / 0.5358 GB, free: 10.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.5399, allocations: 55.41 kB / 0.5359 GB, free: 10.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.915e-05/0.54, allocations: 96.5 kB / 0.536 GB, free: 10.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.54, allocations: 29.69 kB / 0.536 GB, free: 10.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.573e-05/0.54, allocations: 86.22 kB / 0.5361 GB, free: 10.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.5401, allocations: 11.88 kB / 0.5361 GB, free: 10.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.5401, allocations: 0 / 0.5361 GB, free: 10.63 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.5402, allocations: 314.5 kB / 0.5364 GB, free: 10.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.78e-05/0.5402, allocations: 4 kB / 0.5364 GB, free: 10.31 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.883e-05/0.5403, allocations: 11.55 kB / 0.5364 GB, free: 10.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.797e-05/0.5403, allocations: 11.94 kB / 0.5364 GB, free: 10.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.5403, allocations: 0 / 0.5364 GB, free: 10.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001001/0.5404, allocations: 52.84 kB / 0.5365 GB, free: 10.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.5405, allocations: 8.094 kB / 0.5365 GB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.5405, allocations: 0 / 0.5365 GB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.5405, allocations: 0 / 0.5365 GB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.5406, allocations: 15.98 kB / 0.5365 GB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.5406, allocations: 0 / 0.5365 GB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.796e-05/0.5407, allocations: 8 kB / 0.5365 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.5407, allocations: 4 kB / 0.5365 GB, free: 10.21 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.956e-05/0.5408, allocations: 105 kB / 0.5366 GB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.5408, allocations: 7.906 kB / 0.5366 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/0.541, allocations: 60.39 kB / 0.5367 GB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.541, allocations: 3.938 kB / 0.5367 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.541, allocations: 0 / 0.5367 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.541, allocations: 0 / 0.5367 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.5412, allocations: 145.8 kB / 0.5368 GB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5412, allocations: 8.016 kB / 0.5368 GB, free: 9.848 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.32e-05/0.5413, allocations: 11.98 kB / 0.5369 GB, free: 9.836 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.5413, allocations: 0 / 0.5369 GB, free: 9.836 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.5413, allocations: 4 kB / 0.5369 GB, free: 9.832 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.5413, allocations: 0 / 0.5369 GB, free: 9.832 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.5413, allocations: 0 / 0.5369 GB, free: 9.832 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001492/0.5414, allocations: 146.6 kB / 0.537 GB, free: 9.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.693e-05/0.5415, allocations: 81.11 kB / 0.5371 GB, free: 9.582 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.5415, allocations: 256 / 0.5371 GB, free: 9.582 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.987e-05/0.5416, allocations: 11.98 kB / 0.5371 GB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.5417, allocations: 4 kB / 0.5371 GB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.5417, allocations: 3.906 kB / 0.5371 GB, free: 9.562 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.703e-05/0.5417, allocations: 90.5 kB / 0.5372 GB, free: 9.477 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002314/0.542, allocations: 11.98 kB / 0.5372 GB, free: 9.465 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.0001564/0.5421, allocations: 103.2 kB / 0.5373 GB, free: 9.352 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.772e-05/0.5422, allocations: 15.56 kB / 0.5373 GB, free: 9.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5422, allocations: 0 / 0.5373 GB, free: 9.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.464e-05/0.5422, allocations: 15.62 kB / 0.5373 GB, free: 9.328 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.5424, allocations: 6.172 kB / 0.5373 GB, free: 9.324 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002311/0.5427, allocations: 80.42 kB / 0.5374 GB, free: 9.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003069/0.543, allocations: 0.6919 MB / 0.5381 GB, free: 8.512 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.543, allocations: 0 / 0.5381 GB, free: 8.512 MB / 378.7 MB Notification: Performance of Templates: time 0.002384/0.5454, allocations: 0.5108 MB / 0.5386 GB, free: 8.016 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.pipe 2>&1)