Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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-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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.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.001741/0.001741, allocations: 172.5 kB / 7.457 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6049/0.6049, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.125/1.125, allocations: 221.3 MB / 395 MB, free: 10.21 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.0008165/0.0008164, allocations: 110 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.106e-06/8.136e-06, allocations: 5.125 kB / 0.5528 GB, free: 89.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1151, allocations: 82.31 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3113/0.4264, allocations: 109.9 MB / 0.7406 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001729/0.4266, allocations: 77.97 kB / 0.7407 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.002759/0.4294, allocations: 0.9243 MB / 0.7416 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.4294, allocations: 0 / 0.7416 GB, free: 10.47 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.0002056/0.4296, allocations: 325.5 kB / 0.7419 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.4297, allocations: 11.62 kB / 0.7419 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.112e-05/0.4297, allocations: 4.703 kB / 0.7419 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.362e-05/0.4298, allocations: 167.2 kB / 0.742 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.4298, allocations: 0 / 0.742 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-06/0.4298, allocations: 3.938 kB / 0.742 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.707e-05/0.4299, allocations: 0.5156 kB / 0.742 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.765e-05/0.4299, allocations: 30.36 kB / 0.7421 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.4299, allocations: 3.984 kB / 0.7421 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.4299, allocations: 0.8125 kB / 0.7421 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.43, allocations: 0.6562 kB / 0.7421 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.605e-05/0.4301, allocations: 127 kB / 0.7422 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 2.439e-05/0.4301, allocations: 26.8 kB / 0.7422 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.187e-05/0.4301, allocations: 4.859 kB / 0.7422 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005114/0.4306, allocations: 438.1 kB / 0.7426 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.4307, allocations: 35.22 kB / 0.7427 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.4307, allocations: 0 / 0.7427 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001221/0.4308, allocations: 30.94 kB / 0.7427 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/0.4308, allocations: 51.41 kB / 0.7428 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.457e-05/0.4308, allocations: 85 kB / 0.7428 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.4309, allocations: 25.7 kB / 0.7429 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.994e-05/0.4309, allocations: 87.75 kB / 0.7429 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.4309, allocations: 0 / 0.7429 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.704e-06/0.4309, allocations: 7.969 kB / 0.743 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.628e-05/0.431, allocations: 315.3 kB / 0.7433 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.683e-06/0.431, allocations: 0.6094 kB / 0.7433 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.967e-06/0.431, allocations: 3.938 kB / 0.7433 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.683e-05/0.4311, allocations: 4.266 kB / 0.7433 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4311, allocations: 0 / 0.7433 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.672e-05/0.4311, allocations: 30.91 kB / 0.7433 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.785e-06/0.4312, allocations: 3.906 kB / 0.7433 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.4312, allocations: 7.875 kB / 0.7433 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.4312, allocations: 1.031 kB / 0.7433 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.157e-05/0.4312, allocations: 2.062 kB / 0.7433 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.4312, allocations: 0 / 0.7433 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.165e-06/0.4312, allocations: 0 / 0.7433 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.4313, allocations: 5.438 kB / 0.7433 GB, free: 24.5 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.931e-05/0.4313, allocations: 104.9 kB / 0.7434 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.052e-06/0.4313, allocations: 0 / 0.7434 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.281e-05/0.4314, allocations: 41.8 kB / 0.7435 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.4314, allocations: 4.031 kB / 0.7435 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4314, allocations: 0.7969 kB / 0.7435 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.4314, allocations: 0 / 0.7435 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.387e-05/0.4315, allocations: 131.4 kB / 0.7436 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.4315, allocations: 0 / 0.7436 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.107e-05/0.4315, allocations: 1.984 kB / 0.7436 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.4315, allocations: 0 / 0.7436 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-06/0.4315, allocations: 3.938 kB / 0.7436 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4315, allocations: 4.516 kB / 0.7436 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4315, allocations: 0 / 0.7436 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.498e-05/0.4316, allocations: 58.5 kB / 0.7436 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.454e-05/0.4316, allocations: 81.86 kB / 0.7437 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.714e-06/0.4316, allocations: 0 / 0.7437 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-06/0.4317, allocations: 1.562 kB / 0.7437 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.094e-05/0.4317, allocations: 4.922 kB / 0.7437 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-06/0.4317, allocations: 3.938 kB / 0.7437 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.192e-05/0.4317, allocations: 75.28 kB / 0.7438 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001824/0.4319, allocations: 24.77 kB / 0.7438 GB, free: 23.93 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.000197/0.4321, allocations: 131.5 kB / 0.744 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 4.304e-05/0.4321, allocations: 11.67 kB / 0.744 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.4322, allocations: 0 / 0.744 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.118e-06/0.4322, allocations: 3.875 kB / 0.744 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.221e-05/0.4322, allocations: 3.203 kB / 0.744 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001047/0.4323, allocations: 45.17 kB / 0.744 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00025/0.4326, allocations: 0.6863 MB / 0.7447 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of SimCode: time 2.21e-07/0.4326, allocations: 4.125 kB / 0.7447 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of Templates: time 0.00171/0.4343, allocations: 407.8 kB / 0.7451 GB, free: 22.99 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)