Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1") translateModel(IBPSA.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.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.0009881/0.0009881, allocations: 184 kB / 7.804 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4407/0.4407, allocations: 90.86 MB / 99.08 MB, free: 14.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.218/1.218, allocations: 221.4 MB / 342.8 MB, free: 5.109 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009107/0.0009108, allocations: 93.95 kB / 415.5 MB, free: 9.828 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.104e-06/7.124e-06, allocations: 0 / 493.9 MB, free: 11.57 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3592, allocations: 72.31 MB / 0.5529 GB, free: 44.79 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1203/0.4796, allocations: 100.9 MB / 0.6514 GB, free: 7.73 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/0.4798, allocations: 63.97 kB / 0.6515 GB, free: 7.668 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.004651/0.4845, allocations: 1.273 MB / 0.6527 GB, free: 6.41 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.4845, allocations: 0 / 0.6527 GB, free: 6.41 MB / 474.7 MB 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.0003534/0.4849, allocations: 362.3 kB / 0.6531 GB, free: 6.012 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.4849, allocations: 8.031 kB / 0.6531 GB, free: 6.004 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.097e-05/0.485, allocations: 1.125 kB / 0.6531 GB, free: 6.004 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.4851, allocations: 171 kB / 0.6533 GB, free: 5.797 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.4851, allocations: 3.906 kB / 0.6533 GB, free: 5.793 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-06/0.4851, allocations: 0 / 0.6533 GB, free: 5.793 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.195e-05/0.4852, allocations: 20.48 kB / 0.6533 GB, free: 5.773 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.271e-05/0.4853, allocations: 29.7 kB / 0.6533 GB, free: 5.738 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.4853, allocations: 0 / 0.6533 GB, free: 5.738 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.4853, allocations: 0 / 0.6533 GB, free: 5.738 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.4853, allocations: 0 / 0.6533 GB, free: 5.738 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003675/0.4857, allocations: 250.2 kB / 0.6536 GB, free: 5.457 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.133e-05/0.4858, allocations: 26.58 kB / 0.6536 GB, free: 5.422 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.528e-05/0.4858, allocations: 8.922 kB / 0.6536 GB, free: 5.41 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000582/0.4864, allocations: 451.3 kB / 0.654 GB, free: 4.879 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.4864, allocations: 30.56 kB / 0.6541 GB, free: 4.84 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.4864, allocations: 0 / 0.6541 GB, free: 4.84 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001655/0.4866, allocations: 37.7 kB / 0.6541 GB, free: 4.797 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.4867, allocations: 63.42 kB / 0.6541 GB, free: 4.723 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.647e-05/0.4867, allocations: 89 kB / 0.6542 GB, free: 4.629 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.4867, allocations: 25.7 kB / 0.6543 GB, free: 4.598 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.128e-05/0.4868, allocations: 88.05 kB / 0.6543 GB, free: 4.508 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.4868, allocations: 0 / 0.6543 GB, free: 4.508 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-06/0.4868, allocations: 0 / 0.6543 GB, free: 4.508 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.755e-05/0.4869, allocations: 314.8 kB / 0.6546 GB, free: 4.191 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.68e-05/0.4869, allocations: 8 kB / 0.6546 GB, free: 4.184 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.359e-05/0.487, allocations: 11.98 kB / 0.6547 GB, free: 4.172 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.952e-05/0.487, allocations: 4 kB / 0.6547 GB, free: 4.168 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.487, allocations: 0 / 0.6547 GB, free: 4.168 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.75e-05/0.4871, allocations: 41.64 kB / 0.6547 GB, free: 4.121 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.4871, allocations: 4 kB / 0.6547 GB, free: 4.117 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.4871, allocations: 0 / 0.6547 GB, free: 4.117 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.4871, allocations: 0 / 0.6547 GB, free: 4.117 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.969e-05/0.4872, allocations: 20.08 kB / 0.6547 GB, free: 4.098 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.4872, allocations: 2.312 kB / 0.6547 GB, free: 4.098 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.566e-05/0.4873, allocations: 19.83 kB / 0.6547 GB, free: 4.078 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.4873, allocations: 0 / 0.6547 GB, free: 4.078 MB / 474.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 (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 6.572e-05/0.4874, allocations: 105 kB / 0.6548 GB, free: 3.969 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.4874, allocations: 0 / 0.6548 GB, free: 3.969 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.4875, allocations: 57.94 kB / 0.6549 GB, free: 3.906 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.4876, allocations: 3.906 kB / 0.6549 GB, free: 3.902 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4876, allocations: 0 / 0.6549 GB, free: 3.902 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.4876, allocations: 192 / 0.6549 GB, free: 3.902 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.4877, allocations: 130.2 kB / 0.655 GB, free: 3.738 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4877, allocations: 4 kB / 0.655 GB, free: 3.734 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.087e-05/0.4878, allocations: 15.98 kB / 0.655 GB, free: 3.719 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.4878, allocations: 8.016 kB / 0.6551 GB, free: 3.711 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.4878, allocations: 0 / 0.6551 GB, free: 3.711 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.4878, allocations: 4 kB / 0.6551 GB, free: 3.707 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4878, allocations: 0 / 0.6551 GB, free: 3.707 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001062/0.4879, allocations: 135.5 kB / 0.6552 GB, free: 3.559 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.765e-05/0.488, allocations: 81.11 kB / 0.6553 GB, free: 3.461 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.488, allocations: 4.562 kB / 0.6553 GB, free: 3.457 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.724e-05/0.4881, allocations: 12.02 kB / 0.6553 GB, free: 3.445 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.4881, allocations: 4 kB / 0.6553 GB, free: 3.441 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.4881, allocations: 0 / 0.6553 GB, free: 3.441 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.939e-05/0.4882, allocations: 83.28 kB / 0.6554 GB, free: 3.359 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002311/0.4884, allocations: 27.92 kB / 0.6554 GB, free: 3.332 MB / 474.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 (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.000255/0.4887, allocations: 135.1 kB / 0.6555 GB, free: 3.188 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 7.808e-05/0.4887, allocations: 13.78 kB / 0.6555 GB, free: 3.176 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.4888, allocations: 4.062 kB / 0.6555 GB, free: 3.172 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.805e-05/0.4888, allocations: 4 kB / 0.6555 GB, free: 3.168 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.4889, allocations: 4 kB / 0.6555 GB, free: 3.164 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001895/0.4891, allocations: 63.72 kB / 0.6556 GB, free: 3.078 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/0.4894, allocations: 0.688 MB / 0.6563 GB, free: 2.363 MB / 474.7 MB Notification: Performance of SimCode: time 1.453e-06/0.4894, allocations: 0 / 0.6563 GB, free: 2.363 MB / 474.7 MB Notification: Performance of Templates: time 0.002464/0.4919, allocations: 0.6118 MB / 0.6569 GB, free: 1.773 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1)