Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.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.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Annex60.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.278/0.2781, allocations: 54.39 MB / 61.68 MB, free: 11.16 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.001187/0.001187, allocations: 179.4 kB / 75.37 MB, free: 1.52 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.366/1.366, allocations: 194.2 MB / 283.2 MB, free: 3.59 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.001789/0.001789, allocations: 117.9 kB / 341.3 MB, free: 9.465 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.447e-06/9.477e-06, allocations: 4 kB / 405 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1445, allocations: 57.65 MB / 462.6 MB, free: 1.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4132/0.5577, allocations: 84.83 MB / 0.5346 GB, free: 12.21 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.558, allocations: 73.88 kB / 0.5347 GB, free: 12.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.003526/0.5616, allocations: 0.8788 MB / 0.5355 GB, free: 11.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.5616, allocations: 0 / 0.5355 GB, free: 11.42 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002529/0.5619, allocations: 323.3 kB / 0.5358 GB, free: 11.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.5619, allocations: 15.95 kB / 0.5359 GB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.018e-05/0.5619, allocations: 3.906 kB / 0.5359 GB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.5621, allocations: 162 kB / 0.536 GB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.5621, allocations: 0 / 0.536 GB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.5621, allocations: 4.75 kB / 0.536 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.155e-05/0.5622, allocations: 4 kB / 0.536 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.065e-05/0.5622, allocations: 29.64 kB / 0.5361 GB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.5622, allocations: 4 kB / 0.5361 GB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.5623, allocations: 0 / 0.5361 GB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.5623, allocations: 0 / 0.5361 GB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001247/0.5624, allocations: 131 kB / 0.5362 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.315e-05/0.5624, allocations: 14.58 kB / 0.5362 GB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.891e-05/0.5625, allocations: 15.27 kB / 0.5362 GB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004666/0.5629, allocations: 0.5583 MB / 0.5368 GB, free: 9.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.563, allocations: 33.88 kB / 0.5368 GB, free: 9.871 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.563, allocations: 0 / 0.5368 GB, free: 9.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001907/0.5632, allocations: 37.62 kB / 0.5368 GB, free: 9.828 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.5632, allocations: 51.41 kB / 0.5369 GB, free: 9.766 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.245e-05/0.5633, allocations: 89.03 kB / 0.537 GB, free: 9.672 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.5633, allocations: 25.7 kB / 0.537 GB, free: 9.641 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.965e-05/0.5633, allocations: 82.11 kB / 0.5371 GB, free: 9.559 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.5634, allocations: 7.906 kB / 0.5371 GB, free: 9.551 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-06/0.5634, allocations: 0 / 0.5371 GB, free: 9.551 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.5635, allocations: 310.8 kB / 0.5374 GB, free: 9.238 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.813e-06/0.5635, allocations: 0 / 0.5374 GB, free: 9.238 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.449e-06/0.5635, allocations: 0 / 0.5374 GB, free: 9.238 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.602e-05/0.5636, allocations: 11.19 kB / 0.5374 GB, free: 9.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5636, allocations: 0 / 0.5374 GB, free: 9.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.191e-05/0.5636, allocations: 33.69 kB / 0.5374 GB, free: 9.191 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.5637, allocations: 8 kB / 0.5374 GB, free: 9.184 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.5637, allocations: 0 / 0.5374 GB, free: 9.184 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.5637, allocations: 0 / 0.5374 GB, free: 9.184 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.4e-05/0.5637, allocations: 0 / 0.5374 GB, free: 9.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.5637, allocations: 7.938 kB / 0.5374 GB, free: 9.176 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.322e-05/0.5638, allocations: 1.688 kB / 0.5374 GB, free: 9.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.5638, allocations: 3.906 kB / 0.5374 GB, free: 9.172 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 (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 8.503e-05/0.5639, allocations: 105 kB / 0.5375 GB, free: 9.062 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.464e-06/0.5639, allocations: 0 / 0.5375 GB, free: 9.062 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/0.564, allocations: 49.5 kB / 0.5376 GB, free: 9.012 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.564, allocations: 0 / 0.5376 GB, free: 9.012 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.564, allocations: 0 / 0.5376 GB, free: 9.012 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.564, allocations: 4.031 kB / 0.5376 GB, free: 9.008 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.71e-05/0.5641, allocations: 132.7 kB / 0.5377 GB, free: 8.844 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.5641, allocations: 4 kB / 0.5377 GB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.548e-05/0.5642, allocations: 3.984 kB / 0.5377 GB, free: 8.836 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.5642, allocations: 0 / 0.5377 GB, free: 8.836 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.5642, allocations: 3.938 kB / 0.5377 GB, free: 8.832 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.5642, allocations: 0 / 0.5377 GB, free: 8.832 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/0.5642, allocations: 0.875 kB / 0.5377 GB, free: 8.832 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.404e-05/0.5643, allocations: 68.23 kB / 0.5378 GB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.642e-05/0.5643, allocations: 81.09 kB / 0.5379 GB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.5643, allocations: 0 / 0.5379 GB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.809e-06/0.5644, allocations: 4 kB / 0.5379 GB, free: 8.648 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.207e-06/0.5644, allocations: 0 / 0.5379 GB, free: 8.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.5644, allocations: 7.938 kB / 0.5379 GB, free: 8.641 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.194e-05/0.5644, allocations: 75.28 kB / 0.5379 GB, free: 8.566 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002167/0.5646, allocations: 11.94 kB / 0.538 GB, free: 8.555 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 (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.0002278/0.5649, allocations: 109.7 kB / 0.5381 GB, free: 8.441 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.854e-05/0.565, allocations: 4 kB / 0.5381 GB, free: 8.438 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.565, allocations: 0 / 0.5381 GB, free: 8.438 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.207e-06/0.565, allocations: 7.938 kB / 0.5381 GB, free: 8.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001181/0.5651, allocations: 5.938 kB / 0.5381 GB, free: 8.426 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001816/0.5653, allocations: 46.69 kB / 0.5381 GB, free: 8.359 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002684/0.5656, allocations: 0.688 MB / 0.5388 GB, free: 7.645 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5656, allocations: 0 / 0.5388 GB, free: 7.645 MB / 378.7 MB Notification: Performance of Templates: time 0.00227/0.5679, allocations: 295 kB / 0.5391 GB, free: 7.367 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)