Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite") translateModel(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.002546/0.002546, allocations: 179.1 kB / 7.454 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6023/0.6023, allocations: 133.5 MB / 141.4 MB, free: 15.62 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.104/1.104, allocations: 221.3 MB / 395 MB, free: 10.24 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008137/0.0008137, allocations: 96.78 kB / 477.8 MB, free: 10.92 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.743e-06/6.753e-06, allocations: 3.219 kB / 0.5529 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09998/0.1, allocations: 82.3 MB / 0.6332 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3039/0.4039, allocations: 111.3 MB / 0.742 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001752/0.4042, allocations: 80 kB / 0.742 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.007964/0.4121, allocations: 2.914 MB / 0.7449 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.4122, allocations: 7.875 kB / 0.7449 GB, free: 10.87 MB / 0.4948 GB 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.0002893/0.4124, allocations: 426.9 kB / 0.7453 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.718e-05/0.4125, allocations: 12.27 kB / 0.7453 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.4125, allocations: 7.719 kB / 0.7453 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.4126, allocations: 170.4 kB / 0.7455 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.4127, allocations: 0 / 0.7455 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.4127, allocations: 3.812 kB / 0.7455 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.923e-05/0.4128, allocations: 65.3 kB / 0.7455 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.4129, allocations: 96.7 kB / 0.7456 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-06/0.4129, allocations: 4 kB / 0.7456 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.4129, allocations: 0 / 0.7456 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.4129, allocations: 4.25 kB / 0.7456 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000116/0.4131, allocations: 155.8 kB / 0.7458 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.038e-05/0.4131, allocations: 80.91 kB / 0.7459 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.481e-05/0.4132, allocations: 73.59 kB / 0.7459 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-06/0.4132, allocations: 0 / 0.7459 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.4132, allocations: 35.59 kB / 0.746 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.4133, allocations: 3.938 kB / 0.746 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0002436/0.4135, allocations: 170.7 kB / 0.7461 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.4136, allocations: 77.81 kB / 0.7462 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.284e-05/0.4136, allocations: 130 kB / 0.7463 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.4137, allocations: 29.58 kB / 0.7464 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.4137, allocations: 85.5 kB / 0.7465 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.4137, allocations: 12.23 kB / 0.7465 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-06/0.4137, allocations: 0 / 0.7465 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.864e-05/0.4138, allocations: 324.9 kB / 0.7468 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.088e-05/0.4139, allocations: 99.64 kB / 0.7469 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.503e-05/0.414, allocations: 99.39 kB / 0.747 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.4142, allocations: 106 kB / 0.7471 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.4142, allocations: 0 / 0.7471 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002916/0.4145, allocations: 265.8 kB / 0.7473 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.364e-06/0.4145, allocations: 3.875 kB / 0.7473 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.4145, allocations: 0 / 0.7473 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.4145, allocations: 8.297 kB / 0.7473 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.493e-06/0.4145, allocations: 5.812 kB / 0.7473 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.307e-06/0.4145, allocations: 0.5625 kB / 0.7473 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.651e-05/0.4146, allocations: 12.25 kB / 0.7473 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.4146, allocations: 4.359 kB / 0.7474 GB, free: 25.21 MB / 0.5105 GB 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 7.976e-05/0.4147, allocations: 144.3 kB / 0.7475 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.4147, allocations: 7.781 kB / 0.7475 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.327e-05/0.4147, allocations: 5.531 kB / 0.7475 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.4148, allocations: 0 / 0.7475 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.4148, allocations: 4 kB / 0.7475 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.4148, allocations: 3.781 kB / 0.7475 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.974e-05/0.4149, allocations: 147.3 kB / 0.7476 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.4149, allocations: 0 / 0.7476 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.51e-07/0.4149, allocations: 0.7031 kB / 0.7476 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4149, allocations: 7.75 kB / 0.7477 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.4149, allocations: 0 / 0.7477 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4149, allocations: 2.328 kB / 0.7477 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4149, allocations: 0 / 0.7477 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002135/0.4151, allocations: 203.6 kB / 0.7479 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.828e-05/0.4152, allocations: 85.66 kB / 0.7479 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.4152, allocations: 4.547 kB / 0.7479 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.777e-05/0.4152, allocations: 5.203 kB / 0.7479 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.4153, allocations: 9.547 kB / 0.748 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.4153, allocations: 4.516 kB / 0.748 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.189e-05/0.4154, allocations: 105.6 kB / 0.7481 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002438/0.4156, allocations: 78.66 kB / 0.7481 GB, free: 24.62 MB / 0.5105 GB 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.0002207/0.4159, allocations: 168.3 kB / 0.7483 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002289/0.4161, allocations: 248.2 kB / 0.7485 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.4161, allocations: 0 / 0.7485 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.4162, allocations: 108.1 kB / 0.7486 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.826e-05/0.4163, allocations: 7.688 kB / 0.7486 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002169/0.4165, allocations: 155.4 kB / 0.7488 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.4167, allocations: 0.7096 MB / 0.7495 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.4168, allocations: 3.875 kB / 0.7495 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of Templates: time 0.003325/0.4201, allocations: 1.682 MB / 0.7511 GB, free: 23.51 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)