Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0") translateModel(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001467/0.001467, allocations: 185.4 kB / 7.804 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5034/0.5034, allocations: 90.85 MB / 99.08 MB, free: 14.91 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.17/1.17, allocations: 221.4 MB / 342.8 MB, free: 5.105 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.0009724/0.0009723, allocations: 100.4 kB / 415.5 MB, free: 6.398 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 9.178e-06/9.207e-06, allocations: 4 kB / 493.9 MB, free: 8.047 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3382, allocations: 72.3 MB / 0.5529 GB, free: 73.35 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.108/0.4463, allocations: 100.1 MB / 0.6507 GB, free: 9.938 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/0.4466, allocations: 75.92 kB / 0.6508 GB, free: 9.863 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.003429/0.4501, allocations: 0.9257 MB / 0.6517 GB, free: 8.957 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.4501, allocations: 0.6562 kB / 0.6517 GB, free: 8.957 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.0002535/0.4503, allocations: 322.9 kB / 0.652 GB, free: 8.598 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.4504, allocations: 11.12 kB / 0.652 GB, free: 8.59 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.4504, allocations: 8.531 kB / 0.652 GB, free: 8.582 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.4505, allocations: 164.2 kB / 0.6522 GB, free: 8.383 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.4506, allocations: 7.922 kB / 0.6522 GB, free: 8.375 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.873e-06/0.4506, allocations: 0 / 0.6522 GB, free: 8.375 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.08e-05/0.4506, allocations: 0.9688 kB / 0.6522 GB, free: 8.375 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.658e-05/0.4507, allocations: 29.7 kB / 0.6522 GB, free: 8.34 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.4507, allocations: 0.8438 kB / 0.6522 GB, free: 8.34 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.4507, allocations: 0 / 0.6522 GB, free: 8.34 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4507, allocations: 0.5938 kB / 0.6522 GB, free: 8.34 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001201/0.4509, allocations: 126.8 kB / 0.6523 GB, free: 8.18 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.103e-05/0.4509, allocations: 19.02 kB / 0.6523 GB, free: 8.152 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.671e-05/0.4509, allocations: 10.55 kB / 0.6523 GB, free: 8.141 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005889/0.4515, allocations: 438.9 kB / 0.6528 GB, free: 7.621 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.4516, allocations: 36.16 kB / 0.6528 GB, free: 7.578 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.4516, allocations: 0 / 0.6528 GB, free: 7.578 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001505/0.4517, allocations: 26.7 kB / 0.6528 GB, free: 7.547 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.4518, allocations: 59.39 kB / 0.6529 GB, free: 7.477 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.235e-05/0.4518, allocations: 85.56 kB / 0.653 GB, free: 7.387 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.4518, allocations: 25.7 kB / 0.653 GB, free: 7.355 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.64e-05/0.4518, allocations: 81.08 kB / 0.6531 GB, free: 7.273 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.4519, allocations: 3.906 kB / 0.6531 GB, free: 7.27 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-06/0.4519, allocations: 1.094 kB / 0.6531 GB, free: 7.27 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.442e-05/0.452, allocations: 310.8 kB / 0.6534 GB, free: 6.957 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.494e-06/0.452, allocations: 5.812 kB / 0.6534 GB, free: 6.953 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.717e-06/0.452, allocations: 7.938 kB / 0.6534 GB, free: 6.945 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.642e-05/0.4521, allocations: 0 / 0.6534 GB, free: 6.945 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.4521, allocations: 0 / 0.6534 GB, free: 6.945 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.841e-05/0.4521, allocations: 30.33 kB / 0.6534 GB, free: 6.91 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.4521, allocations: 8.75 kB / 0.6534 GB, free: 6.902 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.4521, allocations: 0 / 0.6534 GB, free: 6.902 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.4522, allocations: 4.797 kB / 0.6534 GB, free: 6.898 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.867e-05/0.4522, allocations: 0 / 0.6534 GB, free: 6.898 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.4522, allocations: 4.219 kB / 0.6534 GB, free: 6.898 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.034e-05/0.4522, allocations: 0 / 0.6534 GB, free: 6.898 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.4523, allocations: 8.844 kB / 0.6534 GB, free: 6.891 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.47e-05/0.4523, allocations: 103.7 kB / 0.6535 GB, free: 6.785 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.711e-06/0.4523, allocations: 0.5 kB / 0.6535 GB, free: 6.785 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.048e-05/0.4524, allocations: 39.17 kB / 0.6536 GB, free: 6.742 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.4524, allocations: 7.922 kB / 0.6536 GB, free: 6.734 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.4524, allocations: 0.8125 kB / 0.6536 GB, free: 6.734 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.4524, allocations: 0 / 0.6536 GB, free: 6.734 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.732e-05/0.4525, allocations: 130.9 kB / 0.6537 GB, free: 6.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.4525, allocations: 0 / 0.6537 GB, free: 6.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.06e-05/0.4525, allocations: 1.062 kB / 0.6537 GB, free: 6.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4525, allocations: 1.375 kB / 0.6537 GB, free: 6.57 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.4526, allocations: 0 / 0.6537 GB, free: 6.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.4526, allocations: 0.9375 kB / 0.6537 GB, free: 6.57 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.4526, allocations: 4 kB / 0.6537 GB, free: 6.566 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.259e-05/0.4527, allocations: 63.69 kB / 0.6538 GB, free: 6.488 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.96e-05/0.4527, allocations: 77.11 kB / 0.6538 GB, free: 6.395 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.648e-06/0.4527, allocations: 0 / 0.6538 GB, free: 6.395 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-06/0.4527, allocations: 0 / 0.6538 GB, free: 6.395 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.207e-05/0.4527, allocations: 0.5312 kB / 0.6538 GB, free: 6.395 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.4527, allocations: 4.594 kB / 0.6539 GB, free: 6.391 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.129e-05/0.4528, allocations: 80 kB / 0.6539 GB, free: 6.312 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002061/0.453, allocations: 27.92 kB / 0.654 GB, free: 6.285 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.0002466/0.4532, allocations: 142.8 kB / 0.6541 GB, free: 6.141 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 5.265e-05/0.4533, allocations: 4 kB / 0.6541 GB, free: 6.137 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4533, allocations: 4.594 kB / 0.6541 GB, free: 6.133 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.057e-06/0.4533, allocations: 1.219 kB / 0.6541 GB, free: 6.133 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.147e-05/0.4534, allocations: 5.938 kB / 0.6541 GB, free: 6.129 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001309/0.4535, allocations: 48.47 kB / 0.6542 GB, free: 6.059 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.4538, allocations: 0.6846 MB / 0.6548 GB, free: 5.348 MB / 474.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4538, allocations: 0 / 0.6548 GB, free: 5.348 MB / 474.7 MB Notification: Performance of Templates: time 0.002017/0.4558, allocations: 395.4 kB / 0.6552 GB, free: 4.988 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)