Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.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.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") [: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.002197/0.002197, allocations: 173.7 kB / 7.458 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.598/0.598, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.117/1.117, allocations: 221.3 MB / 395 MB, free: 10.2 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.0008822/0.0008822, allocations: 114.5 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.214e-06/7.234e-06, allocations: 2.875 kB / 0.5529 GB, free: 89.16 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.11, allocations: 82.31 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3548/0.4648, allocations: 110.8 MB / 0.7414 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/0.4651, allocations: 82.78 kB / 0.7415 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.004197/0.4693, allocations: 1.364 MB / 0.7428 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.4693, allocations: 3.812 kB / 0.7428 GB, free: 10.86 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000217/0.4696, allocations: 327 kB / 0.7431 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.4696, allocations: 11.47 kB / 0.7432 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.594e-05/0.4696, allocations: 4.875 kB / 0.7432 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.221e-05/0.4697, allocations: 164.1 kB / 0.7433 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.4697, allocations: 0 / 0.7433 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-06/0.4697, allocations: 4 kB / 0.7433 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.829e-05/0.4698, allocations: 0 / 0.7433 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.701e-05/0.4698, allocations: 30.61 kB / 0.7434 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.4699, allocations: 0 / 0.7434 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.4699, allocations: 0 / 0.7434 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.4699, allocations: 0 / 0.7434 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.12e-05/0.47, allocations: 127.5 kB / 0.7435 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 2.506e-05/0.47, allocations: 28.11 kB / 0.7435 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.353e-05/0.47, allocations: 12.17 kB / 0.7435 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003742/0.4704, allocations: 0.5543 MB / 0.7441 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.4704, allocations: 34.53 kB / 0.7441 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.4704, allocations: 0 / 0.7441 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001287/0.4706, allocations: 30.89 kB / 0.7441 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/0.4706, allocations: 63.88 kB / 0.7442 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.32e-05/0.4706, allocations: 85 kB / 0.7443 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/0.4706, allocations: 25.7 kB / 0.7443 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.999e-05/0.4707, allocations: 81.78 kB / 0.7444 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.4707, allocations: 3.938 kB / 0.7444 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-06/0.4707, allocations: 0 / 0.7444 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.096e-05/0.4708, allocations: 322.5 kB / 0.7447 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.712e-06/0.4708, allocations: 0 / 0.7447 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.038e-06/0.4708, allocations: 3.938 kB / 0.7447 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.787e-05/0.4708, allocations: 9.812 kB / 0.7447 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.4708, allocations: 0 / 0.7447 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.381e-05/0.4709, allocations: 30.94 kB / 0.7447 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/0.4709, allocations: 7.812 kB / 0.7447 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.4709, allocations: 0 / 0.7447 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.471, allocations: 0 / 0.7447 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.485e-05/0.471, allocations: 1.734 kB / 0.7447 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.471, allocations: 0 / 0.7447 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.114e-05/0.471, allocations: 5.688 kB / 0.7447 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.471, allocations: 4.031 kB / 0.7447 GB, free: 24.7 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.009e-05/0.4711, allocations: 104.9 kB / 0.7448 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.761e-06/0.4711, allocations: 0 / 0.7448 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.426e-05/0.4712, allocations: 46.64 kB / 0.7449 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.4712, allocations: 0 / 0.7449 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.4712, allocations: 1.453 kB / 0.7449 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-06/0.4712, allocations: 4.031 kB / 0.7449 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.11e-05/0.4713, allocations: 127.8 kB / 0.745 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.4713, allocations: 3.812 kB / 0.745 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.397e-05/0.4713, allocations: 1.062 kB / 0.745 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.4713, allocations: 0 / 0.745 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-06/0.4713, allocations: 0 / 0.745 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.4713, allocations: 0 / 0.745 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.4713, allocations: 5.469 kB / 0.745 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.299e-05/0.4714, allocations: 58.05 kB / 0.7451 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.449e-05/0.4714, allocations: 81.02 kB / 0.7451 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.4714, allocations: 5.609 kB / 0.7452 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.086e-05/0.4715, allocations: 0.875 kB / 0.7452 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.193e-05/0.4715, allocations: 3.938 kB / 0.7452 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.4715, allocations: 3.938 kB / 0.7452 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.868e-05/0.4715, allocations: 75.28 kB / 0.7452 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001788/0.4717, allocations: 11.69 kB / 0.7452 GB, free: 24.14 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0001165/0.4718, allocations: 107.7 kB / 0.7453 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 4.354e-05/0.4719, allocations: 3.875 kB / 0.7454 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4719, allocations: 0 / 0.7454 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.879e-06/0.4719, allocations: 7.75 kB / 0.7454 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.335e-05/0.472, allocations: 0 / 0.7454 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001104/0.4721, allocations: 45 kB / 0.7454 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.4722, allocations: 0.6906 MB / 0.7461 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of SimCode: time 2.21e-07/0.4723, allocations: 128 / 0.7461 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of Templates: time 0.00154/0.4738, allocations: 299.6 kB / 0.7464 GB, free: 23.22 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)