Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1") [: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.001978/0.001978, allocations: 173 kB / 7.457 MB, free: 2.48 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.82 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.128/1.128, allocations: 221.3 MB / 395 MB, free: 10.25 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.0009115/0.0009115, allocations: 90.34 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.067e-06/9.217e-06, allocations: 5.719 kB / 0.5529 GB, free: 88.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1174, allocations: 82.3 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3366/0.4541, allocations: 110 MB / 0.7406 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001791/0.4543, allocations: 74.39 kB / 0.7407 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.003026/0.4573, allocations: 0.9603 MB / 0.7416 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.4574, allocations: 3.844 kB / 0.7416 GB, free: 10.71 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.0002755/0.4576, allocations: 321.3 kB / 0.7419 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.4577, allocations: 7.75 kB / 0.7419 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.4577, allocations: 8.516 kB / 0.742 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.764e-05/0.4578, allocations: 163.7 kB / 0.7421 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.4578, allocations: 3.984 kB / 0.7421 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.4579, allocations: 0.6094 kB / 0.7421 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.842e-05/0.4579, allocations: 1.375 kB / 0.7421 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.824e-05/0.458, allocations: 30.38 kB / 0.7421 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.458, allocations: 0 / 0.7421 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.458, allocations: 0.75 kB / 0.7421 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.458, allocations: 3.938 kB / 0.7421 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001182/0.4581, allocations: 127 kB / 0.7423 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.027e-05/0.4582, allocations: 26.84 kB / 0.7423 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.421e-05/0.4582, allocations: 4.859 kB / 0.7423 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006253/0.4588, allocations: 443.9 kB / 0.7427 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.4589, allocations: 31.64 kB / 0.7428 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.4589, allocations: 0 / 0.7428 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001561/0.459, allocations: 30.44 kB / 0.7428 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.4591, allocations: 55.34 kB / 0.7428 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.476e-05/0.4591, allocations: 89.61 kB / 0.7429 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.4591, allocations: 29.64 kB / 0.7429 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.026e-05/0.4592, allocations: 80.14 kB / 0.743 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.4592, allocations: 4.031 kB / 0.743 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.713e-06/0.4592, allocations: 0 / 0.743 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.577e-05/0.4593, allocations: 319.3 kB / 0.7433 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.67e-06/0.4593, allocations: 0 / 0.7433 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.152e-06/0.4593, allocations: 0.6562 kB / 0.7433 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.332e-05/0.4594, allocations: 0 / 0.7433 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.4594, allocations: 3.969 kB / 0.7433 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.09e-05/0.4594, allocations: 32.25 kB / 0.7434 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/0.4594, allocations: 10.72 kB / 0.7434 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-06/0.4595, allocations: 0 / 0.7434 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.4595, allocations: 0 / 0.7434 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.315e-05/0.4595, allocations: 4.406 kB / 0.7434 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.4595, allocations: 0.7031 kB / 0.7434 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.428e-06/0.4595, allocations: 2.438 kB / 0.7434 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.4595, allocations: 0 / 0.7434 GB, free: 24.75 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.369e-05/0.4596, allocations: 109.5 kB / 0.7435 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.48e-06/0.4596, allocations: 0 / 0.7435 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.894e-05/0.4597, allocations: 46.03 kB / 0.7435 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-06/0.4597, allocations: 3.844 kB / 0.7435 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.4597, allocations: 0.75 kB / 0.7435 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.4597, allocations: 0 / 0.7435 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.616e-05/0.4598, allocations: 127.7 kB / 0.7437 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.32e-07/0.4598, allocations: 0 / 0.7437 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.14e-05/0.4598, allocations: 4.562 kB / 0.7437 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.4598, allocations: 0 / 0.7437 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-06/0.4598, allocations: 0 / 0.7437 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4598, allocations: 0.6562 kB / 0.7437 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4598, allocations: 1.094 kB / 0.7437 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.799e-05/0.4599, allocations: 62.5 kB / 0.7437 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.995e-05/0.4599, allocations: 84.83 kB / 0.7438 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-06/0.4599, allocations: 0.6562 kB / 0.7438 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-06/0.46, allocations: 0 / 0.7438 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.155e-06/0.46, allocations: 4.5 kB / 0.7438 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-06/0.46, allocations: 0 / 0.7438 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.331e-05/0.46, allocations: 79.97 kB / 0.7439 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001807/0.4602, allocations: 24.48 kB / 0.7439 GB, free: 24.18 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.0002162/0.4604, allocations: 136.5 kB / 0.744 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 4.662e-05/0.4605, allocations: 7.719 kB / 0.744 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.4605, allocations: 0 / 0.744 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.609e-06/0.4605, allocations: 4.297 kB / 0.7441 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.428e-05/0.4606, allocations: 0 / 0.7441 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000113/0.4607, allocations: 45.8 kB / 0.7441 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.4609, allocations: 0.6861 MB / 0.7448 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/0.4609, allocations: 0 / 0.7448 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.001705/0.4626, allocations: 410.4 kB / 0.7452 GB, free: 23.25 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)