Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.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/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/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.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0") [: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.005689/0.005689, allocations: 181 kB / 7.454 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6901/0.6901, allocations: 130.6 MB / 138.5 MB, free: 2.16 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.605/1.605, allocations: 221.3 MB / 391.4 MB, free: 13.06 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.001026/0.001026, allocations: 93.86 kB / 473.4 MB, free: 14.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.498e-06/9.508e-06, allocations: 5.281 kB / 0.5479 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1779, allocations: 81.58 MB / 0.6276 GB, free: 18.22 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5245/0.7025, allocations: 110.4 MB / 0.7354 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.7027, allocations: 76.03 kB / 0.7355 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.004335/0.7071, allocations: 1.231 MB / 0.7367 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.7071, allocations: 1.031 kB / 0.7367 GB, free: 11.34 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004324/0.7076, allocations: 352.2 kB / 0.737 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.7076, allocations: 7.844 kB / 0.737 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.7077, allocations: 5.453 kB / 0.737 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.7078, allocations: 162.9 kB / 0.7372 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.7078, allocations: 0 / 0.7372 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.7079, allocations: 1.594 kB / 0.7372 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001038/0.708, allocations: 14.72 kB / 0.7372 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.445e-05/0.7081, allocations: 36.19 kB / 0.7372 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.7081, allocations: 3.938 kB / 0.7372 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.7081, allocations: 4 kB / 0.7372 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.7081, allocations: 3.938 kB / 0.7372 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005089/0.7086, allocations: 249.2 kB / 0.7375 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.672e-05/0.7087, allocations: 22.11 kB / 0.7375 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.614e-05/0.7088, allocations: 8.672 kB / 0.7375 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000607/0.7094, allocations: 439.8 kB / 0.7379 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.7094, allocations: 34.56 kB / 0.738 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.7094, allocations: 0 / 0.738 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.000223/0.7096, allocations: 46.31 kB / 0.738 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.7097, allocations: 55.34 kB / 0.7381 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.705e-05/0.7098, allocations: 90.2 kB / 0.7381 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.7098, allocations: 25.7 kB / 0.7382 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.652e-05/0.7099, allocations: 89.14 kB / 0.7383 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.7099, allocations: 7.938 kB / 0.7383 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-06/0.7099, allocations: 0 / 0.7383 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.71, allocations: 319.7 kB / 0.7386 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.532e-05/0.71, allocations: 3.312 kB / 0.7386 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.227e-05/0.7101, allocations: 3.844 kB / 0.7386 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.225e-05/0.7101, allocations: 9.203 kB / 0.7386 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.7101, allocations: 0 / 0.7386 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.759e-05/0.7102, allocations: 34.94 kB / 0.7386 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.7102, allocations: 7.875 kB / 0.7386 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.7102, allocations: 6.375 kB / 0.7386 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.7102, allocations: 192 / 0.7386 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.7103, allocations: 18.53 kB / 0.7386 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.7104, allocations: 0 / 0.7386 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.42e-05/0.7104, allocations: 10.88 kB / 0.7387 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.7104, allocations: 7.984 kB / 0.7387 GB, free: 25.27 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 (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 7.807e-05/0.7105, allocations: 108.7 kB / 0.7388 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.7105, allocations: 1.688 kB / 0.7388 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.7107, allocations: 43.2 kB / 0.7388 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.7107, allocations: 0 / 0.7388 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.7107, allocations: 0 / 0.7388 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.7107, allocations: 7.625 kB / 0.7388 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.7109, allocations: 135.2 kB / 0.7389 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.7109, allocations: 4.031 kB / 0.739 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.66e-05/0.711, allocations: 11.55 kB / 0.739 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.711, allocations: 1.875 kB / 0.739 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.711, allocations: 0 / 0.739 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.711, allocations: 3.938 kB / 0.739 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.711, allocations: 3.844 kB / 0.739 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001205/0.7111, allocations: 137.7 kB / 0.7391 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.321e-05/0.7112, allocations: 78.56 kB / 0.7392 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.7112, allocations: 7.781 kB / 0.7392 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.68e-05/0.7113, allocations: 10.38 kB / 0.7392 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.7113, allocations: 9.25 kB / 0.7392 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.7114, allocations: 0 / 0.7392 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.584e-05/0.7114, allocations: 88.06 kB / 0.7393 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002427/0.7116, allocations: 24.62 kB / 0.7393 GB, free: 24.63 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 (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.0002849/0.7119, allocations: 125.6 kB / 0.7394 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.203e-05/0.712, allocations: 15.44 kB / 0.7394 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.712, allocations: 0 / 0.7394 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.07e-05/0.7121, allocations: 11.03 kB / 0.7395 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.7122, allocations: 1.5 kB / 0.7395 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000216/0.7125, allocations: 55.75 kB / 0.7395 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002683/0.7127, allocations: 0.6923 MB / 0.7402 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of SimCode: time 2.7e-07/0.7127, allocations: 0 / 0.7402 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of Templates: time 0.002577/0.7153, allocations: 0.6057 MB / 0.7408 GB, free: 23.71 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1)