Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0/package.mo): time 0.7223/0.7223, allocations: 127.4 MB / 134.6 MB, free: 4.098 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001282/0.001282, allocations: 181.3 kB / 164.4 MB, free: 6.895 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 205.1 MB / 399.1 MB, free: 6.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00111/0.001109, allocations: 86.95 kB / 476.3 MB, free: 8.852 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.048e-05/1.051e-05, allocations: 4 kB / 0.546 GB, free: 42.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.213, allocations: 76.74 MB / 0.6209 GB, free: 13.92 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5475/0.7605, allocations: 101.2 MB / 0.7198 GB, free: 11.15 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/0.7609, allocations: 83.94 kB / 0.7199 GB, free: 11.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.003597/0.7646, allocations: 0.9696 MB / 0.7208 GB, free: 10.11 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.7646, allocations: 3.938 kB / 0.7208 GB, free: 10.11 MB / 490.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.0003505/0.765, allocations: 322.4 kB / 0.7211 GB, free: 9.746 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.451e-05/0.765, allocations: 8.031 kB / 0.7211 GB, free: 9.738 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.7651, allocations: 0 / 0.7211 GB, free: 9.738 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.7652, allocations: 159.1 kB / 0.7213 GB, free: 9.543 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.7652, allocations: 4 kB / 0.7213 GB, free: 9.539 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.7653, allocations: 0 / 0.7213 GB, free: 9.539 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.375e-05/0.7654, allocations: 8.562 kB / 0.7213 GB, free: 9.531 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.852e-05/0.7655, allocations: 29.69 kB / 0.7213 GB, free: 9.496 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.7655, allocations: 3.906 kB / 0.7213 GB, free: 9.492 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.7655, allocations: 0 / 0.7213 GB, free: 9.492 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.7655, allocations: 0 / 0.7213 GB, free: 9.492 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002146/0.7657, allocations: 130.2 kB / 0.7214 GB, free: 9.328 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.654e-05/0.7658, allocations: 18.58 kB / 0.7215 GB, free: 9.301 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.002e-05/0.7658, allocations: 8.859 kB / 0.7215 GB, free: 9.289 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007062/0.7665, allocations: 437.6 kB / 0.7219 GB, free: 8.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.236e-05/0.7666, allocations: 34.5 kB / 0.7219 GB, free: 8.727 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.603e-06/0.7666, allocations: 4 kB / 0.7219 GB, free: 8.723 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002725/0.7669, allocations: 33.7 kB / 0.722 GB, free: 8.684 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.767, allocations: 51.41 kB / 0.722 GB, free: 8.621 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.391e-05/0.767, allocations: 85 kB / 0.7221 GB, free: 8.531 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.7671, allocations: 25.7 kB / 0.7221 GB, free: 8.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.865e-05/0.7671, allocations: 80.14 kB / 0.7222 GB, free: 8.418 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.895e-05/0.7672, allocations: 7.891 kB / 0.7222 GB, free: 8.41 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-06/0.7672, allocations: 4 kB / 0.7222 GB, free: 8.406 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002187/0.7674, allocations: 314.9 kB / 0.7225 GB, free: 8.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.899e-06/0.7674, allocations: 0.75 kB / 0.7225 GB, free: 8.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.843e-06/0.7674, allocations: 0 / 0.7225 GB, free: 8.09 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.565e-05/0.7675, allocations: 4 kB / 0.7225 GB, free: 8.086 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.7675, allocations: 0 / 0.7225 GB, free: 8.086 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.951e-05/0.7676, allocations: 33.64 kB / 0.7225 GB, free: 8.047 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.7676, allocations: 4 kB / 0.7225 GB, free: 8.043 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.7676, allocations: 0 / 0.7225 GB, free: 8.043 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.7676, allocations: 3.906 kB / 0.7225 GB, free: 8.039 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.06e-05/0.7677, allocations: 15.97 kB / 0.7226 GB, free: 8.023 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.7677, allocations: 3.984 kB / 0.7226 GB, free: 8.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.099e-05/0.7678, allocations: 0 / 0.7226 GB, free: 8.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.7678, allocations: 3.984 kB / 0.7226 GB, free: 8.016 MB / 490.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 8.778e-05/0.7679, allocations: 105 kB / 0.7227 GB, free: 7.906 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-06/0.7679, allocations: 0 / 0.7227 GB, free: 7.906 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.768, allocations: 36.69 kB / 0.7227 GB, free: 7.867 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.768, allocations: 7.906 kB / 0.7227 GB, free: 7.859 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.768, allocations: 0 / 0.7227 GB, free: 7.859 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.7681, allocations: 4.031 kB / 0.7227 GB, free: 7.855 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.509e-05/0.7682, allocations: 126.2 kB / 0.7228 GB, free: 7.695 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7682, allocations: 0 / 0.7228 GB, free: 7.695 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.441e-05/0.7682, allocations: 7.938 kB / 0.7228 GB, free: 7.688 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.7682, allocations: 0 / 0.7228 GB, free: 7.688 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.7682, allocations: 0 / 0.7228 GB, free: 7.688 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.7682, allocations: 0 / 0.7228 GB, free: 7.688 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.7682, allocations: 0 / 0.7228 GB, free: 7.688 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001029/0.7683, allocations: 67.47 kB / 0.7229 GB, free: 7.605 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.418e-05/0.7684, allocations: 77.11 kB / 0.723 GB, free: 7.512 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.7684, allocations: 4 kB / 0.723 GB, free: 7.508 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-06/0.7684, allocations: 0 / 0.723 GB, free: 7.508 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.625e-05/0.7685, allocations: 0 / 0.723 GB, free: 7.508 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-06/0.7685, allocations: 0 / 0.723 GB, free: 7.508 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.52e-05/0.7685, allocations: 75.28 kB / 0.7231 GB, free: 7.434 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002434/0.7688, allocations: 27.83 kB / 0.7231 GB, free: 7.406 MB / 490.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.0003974/0.7692, allocations: 135.2 kB / 0.7232 GB, free: 7.266 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.786e-05/0.7693, allocations: 11.94 kB / 0.7232 GB, free: 7.254 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.7693, allocations: 0 / 0.7232 GB, free: 7.254 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.32e-05/0.7693, allocations: 4 kB / 0.7232 GB, free: 7.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001245/0.7695, allocations: 0 / 0.7232 GB, free: 7.25 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002107/0.7697, allocations: 44.08 kB / 0.7233 GB, free: 7.184 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003752/0.7701, allocations: 0.6802 MB / 0.7239 GB, free: 6.477 MB / 490.7 MB Notification: Performance of SimCode: time 3.106e-06/0.7701, allocations: 0 / 0.7239 GB, free: 6.477 MB / 490.7 MB Notification: Performance of Templates: time 0.002755/0.7728, allocations: 414.4 kB / 0.7243 GB, free: 6.074 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)