Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1") translateModel(IBPSA.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001211/0.001211, allocations: 184.9 kB / 7.801 MB, free: 2.457 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4629/0.4629, allocations: 90.86 MB / 99.08 MB, free: 15.03 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.175/1.175, allocations: 221.4 MB / 342.8 MB, free: 5.211 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.0009392/0.0009392, allocations: 100.4 kB / 415.5 MB, free: 6.43 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 1.125e-05/1.127e-05, allocations: 4 kB / 493.9 MB, free: 8.074 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2968, allocations: 72.3 MB / 0.5529 GB, free: 73.43 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09821/0.3951, allocations: 100.2 MB / 0.6507 GB, free: 9.852 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001905/0.3953, allocations: 79.94 kB / 0.6508 GB, free: 9.773 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.003348/0.3987, allocations: 0.968 MB / 0.6518 GB, free: 8.832 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.3987, allocations: 1.219 kB / 0.6518 GB, free: 8.832 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002189/0.3989, allocations: 329.7 kB / 0.6521 GB, free: 8.469 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.399, allocations: 12.72 kB / 0.6521 GB, free: 8.457 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.699e-05/0.399, allocations: 5.844 kB / 0.6521 GB, free: 8.453 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.972e-05/0.3991, allocations: 164.6 kB / 0.6522 GB, free: 8.254 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.3991, allocations: 0 / 0.6522 GB, free: 8.254 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.702e-06/0.3991, allocations: 0 / 0.6522 GB, free: 8.254 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.837e-05/0.3992, allocations: 0 / 0.6522 GB, free: 8.254 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.665e-05/0.3992, allocations: 30.67 kB / 0.6523 GB, free: 8.219 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.3992, allocations: 0 / 0.6523 GB, free: 8.219 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.3992, allocations: 4.609 kB / 0.6523 GB, free: 8.215 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3993, allocations: 0 / 0.6523 GB, free: 8.215 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001081/0.3994, allocations: 131.1 kB / 0.6524 GB, free: 8.051 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.757e-05/0.3994, allocations: 19.3 kB / 0.6524 GB, free: 8.023 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.631e-05/0.3994, allocations: 9.641 kB / 0.6524 GB, free: 8.012 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005966/0.4, allocations: 439.6 kB / 0.6528 GB, free: 7.492 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.4001, allocations: 31.28 kB / 0.6529 GB, free: 7.453 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.4001, allocations: 4.5 kB / 0.6529 GB, free: 7.449 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.000121/0.4002, allocations: 30.23 kB / 0.6529 GB, free: 7.414 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.4002, allocations: 55.98 kB / 0.653 GB, free: 7.348 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.343e-05/0.4003, allocations: 91.19 kB / 0.6531 GB, free: 7.254 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.4003, allocations: 25.7 kB / 0.6531 GB, free: 7.223 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.128e-05/0.4003, allocations: 80.14 kB / 0.6532 GB, free: 7.141 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.4003, allocations: 3.906 kB / 0.6532 GB, free: 7.137 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.753e-06/0.4003, allocations: 0 / 0.6532 GB, free: 7.137 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.549e-05/0.4004, allocations: 311.5 kB / 0.6535 GB, free: 6.824 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.771e-06/0.4004, allocations: 1.156 kB / 0.6535 GB, free: 6.824 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.56e-06/0.4005, allocations: 4 kB / 0.6535 GB, free: 6.82 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.367e-05/0.4005, allocations: 0.8125 kB / 0.6535 GB, free: 6.82 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.4005, allocations: 0 / 0.6535 GB, free: 6.82 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.187e-05/0.4006, allocations: 34.73 kB / 0.6535 GB, free: 6.781 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/0.4006, allocations: 4 kB / 0.6535 GB, free: 6.777 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.4006, allocations: 4.938 kB / 0.6535 GB, free: 6.773 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.4006, allocations: 3.984 kB / 0.6535 GB, free: 6.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.474e-05/0.4007, allocations: 0 / 0.6535 GB, free: 6.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-06/0.4007, allocations: 5.75 kB / 0.6535 GB, free: 6.766 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.448e-06/0.4007, allocations: 4.5 kB / 0.6535 GB, free: 6.766 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.4007, allocations: 3.906 kB / 0.6535 GB, free: 6.762 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 (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.322e-05/0.4007, allocations: 109.7 kB / 0.6536 GB, free: 6.648 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-06/0.4008, allocations: 0 / 0.6536 GB, free: 6.648 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.398e-05/0.4008, allocations: 37.39 kB / 0.6537 GB, free: 6.605 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.4009, allocations: 4.609 kB / 0.6537 GB, free: 6.602 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.4009, allocations: 0 / 0.6537 GB, free: 6.602 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.4009, allocations: 0.7812 kB / 0.6537 GB, free: 6.602 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.984e-05/0.4009, allocations: 126.2 kB / 0.6538 GB, free: 6.441 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.4009, allocations: 0.9375 kB / 0.6538 GB, free: 6.441 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.068e-05/0.401, allocations: 4 kB / 0.6538 GB, free: 6.438 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.401, allocations: 1.125 kB / 0.6538 GB, free: 6.438 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.401, allocations: 1.438 kB / 0.6538 GB, free: 6.438 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.401, allocations: 0 / 0.6538 GB, free: 6.438 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.401, allocations: 0.8438 kB / 0.6538 GB, free: 6.438 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.256e-05/0.4011, allocations: 66 kB / 0.6539 GB, free: 6.355 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.481e-05/0.4011, allocations: 77.89 kB / 0.6539 GB, free: 6.262 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.746e-06/0.4011, allocations: 0 / 0.6539 GB, free: 6.262 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-06/0.4011, allocations: 0.5 kB / 0.6539 GB, free: 6.262 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.129e-05/0.4011, allocations: 0.7188 kB / 0.6539 GB, free: 6.262 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.4012, allocations: 0 / 0.6539 GB, free: 6.262 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.149e-05/0.4012, allocations: 82.12 kB / 0.654 GB, free: 6.184 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002126/0.4014, allocations: 23.92 kB / 0.654 GB, free: 6.16 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 (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.0002347/0.4016, allocations: 147.8 kB / 0.6542 GB, free: 6.008 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 5.192e-05/0.4017, allocations: 5.25 kB / 0.6542 GB, free: 6.004 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4017, allocations: 0 / 0.6542 GB, free: 6.004 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.611e-06/0.4017, allocations: 4 kB / 0.6542 GB, free: 6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.238e-05/0.4018, allocations: 6.562 kB / 0.6542 GB, free: 5.996 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001218/0.4019, allocations: 44.53 kB / 0.6542 GB, free: 5.93 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/0.4021, allocations: 0.6846 MB / 0.6549 GB, free: 5.219 MB / 474.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4022, allocations: 4.625 kB / 0.6549 GB, free: 5.215 MB / 474.7 MB Notification: Performance of Templates: time 0.002011/0.4042, allocations: 407.4 kB / 0.6553 GB, free: 4.848 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)