Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0") translateModel(IBPSA.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001001/0.001001, allocations: 184.5 kB / 7.801 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4397/0.4397, allocations: 90.86 MB / 99.08 MB, free: 14.93 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.19/1.19, allocations: 221.4 MB / 342.8 MB, free: 5.164 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.0009668/0.0009667, allocations: 90.39 kB / 415.5 MB, free: 6.398 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 9.227e-06/9.247e-06, allocations: 4 kB / 493.9 MB, free: 8.043 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3435, allocations: 72.31 MB / 0.5529 GB, free: 73.37 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1081/0.4516, allocations: 100.9 MB / 0.6514 GB, free: 9.113 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.4519, allocations: 72.73 kB / 0.6515 GB, free: 9.043 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.004261/0.4562, allocations: 1.229 MB / 0.6527 GB, free: 7.844 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.4562, allocations: 0 / 0.6527 GB, free: 7.844 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.000369/0.4566, allocations: 364.8 kB / 0.653 GB, free: 7.449 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.4566, allocations: 8.031 kB / 0.653 GB, free: 7.441 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.701e-05/0.4567, allocations: 0 / 0.653 GB, free: 7.441 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.4568, allocations: 166.2 kB / 0.6532 GB, free: 7.242 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.4568, allocations: 7.844 kB / 0.6532 GB, free: 7.234 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.4568, allocations: 0.9688 kB / 0.6532 GB, free: 7.234 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.96e-05/0.4569, allocations: 12 kB / 0.6532 GB, free: 7.223 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.863e-05/0.457, allocations: 35.16 kB / 0.6532 GB, free: 7.184 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.457, allocations: 3.938 kB / 0.6532 GB, free: 7.18 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.457, allocations: 0.5312 kB / 0.6532 GB, free: 7.18 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.457, allocations: 0 / 0.6532 GB, free: 7.18 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.4574, allocations: 245.4 kB / 0.6535 GB, free: 6.906 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.935e-05/0.4575, allocations: 27.89 kB / 0.6535 GB, free: 6.871 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.629e-05/0.4575, allocations: 8.922 kB / 0.6535 GB, free: 6.859 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005715/0.4581, allocations: 439.9 kB / 0.6539 GB, free: 6.34 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.4581, allocations: 38.5 kB / 0.654 GB, free: 6.297 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.4581, allocations: 0 / 0.654 GB, free: 6.297 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001745/0.4583, allocations: 46.41 kB / 0.654 GB, free: 6.246 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.4584, allocations: 51.97 kB / 0.6541 GB, free: 6.184 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.646e-05/0.4584, allocations: 90 kB / 0.6542 GB, free: 6.09 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.4585, allocations: 25.7 kB / 0.6542 GB, free: 6.059 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.001e-05/0.4585, allocations: 95.11 kB / 0.6543 GB, free: 5.965 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.348e-05/0.4585, allocations: 0 / 0.6543 GB, free: 5.965 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-06/0.4585, allocations: 0 / 0.6543 GB, free: 5.965 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.4587, allocations: 322.7 kB / 0.6546 GB, free: 5.641 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.62e-05/0.4587, allocations: 4 kB / 0.6546 GB, free: 5.637 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.223e-05/0.4587, allocations: 4 kB / 0.6546 GB, free: 5.633 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.133e-05/0.4587, allocations: 4.625 kB / 0.6546 GB, free: 5.629 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4588, allocations: 0 / 0.6546 GB, free: 5.629 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.226e-05/0.4588, allocations: 38.55 kB / 0.6546 GB, free: 5.586 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.4589, allocations: 8 kB / 0.6546 GB, free: 5.578 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.4589, allocations: 0.7188 kB / 0.6546 GB, free: 5.578 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.4589, allocations: 0.625 kB / 0.6546 GB, free: 5.578 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.906e-05/0.459, allocations: 17.08 kB / 0.6547 GB, free: 5.562 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.459, allocations: 0.6875 kB / 0.6547 GB, free: 5.562 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.143e-05/0.4591, allocations: 17.64 kB / 0.6547 GB, free: 5.547 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.4591, allocations: 0 / 0.6547 GB, free: 5.547 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.048e-05/0.4592, allocations: 101.7 kB / 0.6548 GB, free: 5.441 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.4592, allocations: 4 kB / 0.6548 GB, free: 5.438 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.4593, allocations: 52.28 kB / 0.6548 GB, free: 5.383 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.4593, allocations: 7.844 kB / 0.6548 GB, free: 5.375 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.4593, allocations: 0 / 0.6548 GB, free: 5.375 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.4593, allocations: 192 / 0.6548 GB, free: 5.375 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.4595, allocations: 134.8 kB / 0.655 GB, free: 5.207 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.4595, allocations: 0 / 0.655 GB, free: 5.207 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.301e-05/0.4595, allocations: 21.47 kB / 0.655 GB, free: 5.188 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.4596, allocations: 2.469 kB / 0.655 GB, free: 5.188 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.4596, allocations: 0.5 kB / 0.655 GB, free: 5.188 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.4596, allocations: 3.938 kB / 0.655 GB, free: 5.184 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4596, allocations: 4.156 kB / 0.655 GB, free: 5.18 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001104/0.4597, allocations: 146.2 kB / 0.6551 GB, free: 5.023 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-05/0.4598, allocations: 81.02 kB / 0.6552 GB, free: 4.926 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.4598, allocations: 0 / 0.6552 GB, free: 4.926 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.196e-05/0.4599, allocations: 11.98 kB / 0.6552 GB, free: 4.914 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.4599, allocations: 4.031 kB / 0.6552 GB, free: 4.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.4599, allocations: 0 / 0.6552 GB, free: 4.91 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.165e-05/0.46, allocations: 83.27 kB / 0.6553 GB, free: 4.828 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002445/0.4602, allocations: 27.94 kB / 0.6553 GB, free: 4.801 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.0002482/0.4605, allocations: 123.2 kB / 0.6554 GB, free: 4.668 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 6.766e-05/0.4605, allocations: 15.94 kB / 0.6555 GB, free: 4.652 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.4606, allocations: 0 / 0.6555 GB, free: 4.652 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.988e-05/0.4606, allocations: 4 kB / 0.6555 GB, free: 4.648 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.4607, allocations: 8.125 kB / 0.6555 GB, free: 4.641 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001851/0.4609, allocations: 59.78 kB / 0.6555 GB, free: 4.559 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002767/0.4612, allocations: 0.688 MB / 0.6562 GB, free: 3.844 MB / 474.7 MB Notification: Performance of SimCode: time 3e-07/0.4612, allocations: 0 / 0.6562 GB, free: 3.844 MB / 474.7 MB Notification: Performance of Templates: time 0.002378/0.4636, allocations: 0.607 MB / 0.6568 GB, free: 3.262 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1)