Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.CubicHermite.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.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Annex60.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.CubicHermite") [: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.2765/0.2765, allocations: 54.39 MB / 61.67 MB, free: 11.15 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.001024/0.001025, allocations: 189.3 kB / 75.38 MB, free: 1.484 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.418/1.418, allocations: 194.2 MB / 283.2 MB, free: 3.484 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.001725/0.001725, allocations: 112 kB / 341.3 MB, free: 9.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.255e-06/8.566e-06, allocations: 0 / 405 MB, free: 27.67 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1317, allocations: 57.65 MB / 462.6 MB, free: 1.945 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3402/0.472, allocations: 85.48 MB / 0.5352 GB, free: 11.56 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.4723, allocations: 84.08 kB / 0.5353 GB, free: 11.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.009662/0.482, allocations: 2.824 MB / 0.5381 GB, free: 9.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.4821, allocations: 0.6875 kB / 0.5381 GB, free: 9.07 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004161/0.4825, allocations: 428.3 kB / 0.5385 GB, free: 8.602 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.4825, allocations: 11.97 kB / 0.5385 GB, free: 8.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.292e-05/0.4826, allocations: 10.09 kB / 0.5385 GB, free: 8.582 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.4827, allocations: 178.8 kB / 0.5387 GB, free: 8.367 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.4828, allocations: 0 / 0.5387 GB, free: 8.367 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.4828, allocations: 7.984 kB / 0.5387 GB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001377/0.4829, allocations: 59.66 kB / 0.5387 GB, free: 8.305 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.4831, allocations: 101.1 kB / 0.5388 GB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.4831, allocations: 0 / 0.5388 GB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.4831, allocations: 4 kB / 0.5388 GB, free: 8.203 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.4831, allocations: 3.938 kB / 0.5388 GB, free: 8.199 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001761/0.4833, allocations: 157 kB / 0.539 GB, free: 8.016 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.4835, allocations: 80.53 kB / 0.5391 GB, free: 7.934 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.994e-05/0.4836, allocations: 71.34 kB / 0.5391 GB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.868e-06/0.4836, allocations: 0 / 0.5391 GB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.4836, allocations: 34.56 kB / 0.5392 GB, free: 7.824 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.934e-06/0.4836, allocations: 7.938 kB / 0.5392 GB, free: 7.816 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.000327/0.4839, allocations: 162.5 kB / 0.5393 GB, free: 7.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.484, allocations: 85.66 kB / 0.5394 GB, free: 7.559 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.4841, allocations: 129.2 kB / 0.5395 GB, free: 7.434 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.4842, allocations: 29.7 kB / 0.5396 GB, free: 7.398 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.703e-05/0.4842, allocations: 87.25 kB / 0.5396 GB, free: 7.312 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.4842, allocations: 13.25 kB / 0.5397 GB, free: 7.301 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-06/0.4843, allocations: 0 / 0.5397 GB, free: 7.301 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.4844, allocations: 322.6 kB / 0.54 GB, free: 6.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.4845, allocations: 103.3 kB / 0.5401 GB, free: 6.891 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.4846, allocations: 99.81 kB / 0.5402 GB, free: 6.805 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.4849, allocations: 103.7 kB / 0.5403 GB, free: 6.715 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.4849, allocations: 0 / 0.5403 GB, free: 6.715 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003963/0.4853, allocations: 267.7 kB / 0.5405 GB, free: 6.473 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.4853, allocations: 8 kB / 0.5405 GB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.4853, allocations: 0 / 0.5405 GB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.4854, allocations: 0 / 0.5405 GB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-06/0.4854, allocations: 0 / 0.5405 GB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.4854, allocations: 7.891 kB / 0.5405 GB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.186e-05/0.4855, allocations: 12 kB / 0.5405 GB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-05/0.4855, allocations: 4 kB / 0.5405 GB, free: 6.441 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: 1 (i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001088/0.4856, allocations: 146 kB / 0.5407 GB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.4857, allocations: 7.906 kB / 0.5407 GB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.396e-05/0.4857, allocations: 4.125 kB / 0.5407 GB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.4857, allocations: 0 / 0.5407 GB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.4857, allocations: 3.938 kB / 0.5407 GB, free: 6.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.4857, allocations: 0 / 0.5407 GB, free: 6.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.4859, allocations: 160.7 kB / 0.5409 GB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.4859, allocations: 4 kB / 0.5409 GB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-07/0.4859, allocations: 0 / 0.5409 GB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4859, allocations: 0 / 0.5409 GB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.4859, allocations: 4 kB / 0.5409 GB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4859, allocations: 0 / 0.5409 GB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.4859, allocations: 0 / 0.5409 GB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002892/0.4862, allocations: 202 kB / 0.5411 GB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.041e-05/0.4863, allocations: 89.05 kB / 0.5411 GB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.4863, allocations: 3.938 kB / 0.5411 GB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.273e-05/0.4864, allocations: 4 kB / 0.5411 GB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.61e-05/0.4865, allocations: 11.23 kB / 0.5412 GB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.4865, allocations: 7.906 kB / 0.5412 GB, free: 5.742 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.589e-05/0.4865, allocations: 104.5 kB / 0.5413 GB, free: 5.648 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004057/0.487, allocations: 71.92 kB / 0.5413 GB, free: 5.578 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: 1 (i) * Number of discrete states: 1 (i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003871/0.4874, allocations: 158.4 kB / 0.5415 GB, free: 5.414 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003312/0.4877, allocations: 241 kB / 0.5417 GB, free: 5.195 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4877, allocations: 4 kB / 0.5417 GB, free: 5.191 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.4878, allocations: 110.7 kB / 0.5418 GB, free: 5.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.488, allocations: 7.375 kB / 0.5418 GB, free: 5.086 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003592/0.4884, allocations: 154.2 kB / 0.542 GB, free: 4.918 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002965/0.4887, allocations: 0.711 MB / 0.5427 GB, free: 4.184 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4887, allocations: 0 / 0.5427 GB, free: 4.184 MB / 378.7 MB Notification: Performance of Templates: time 0.004496/0.4932, allocations: 1.689 MB / 0.5443 GB, free: 2.508 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)