Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.539/1.539, allocations: 289.8 MB / 297.1 MB, free: 6.695 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 185.2 kB / 366.3 MB, free: 1.992 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.1 MB / 0.6256 GB, free: 5.82 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008757/0.0008756, allocations: 91.5 kB / 0.7396 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.554e-06/7.564e-06, allocations: 4 kB / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5309/0.5309, allocations: 116.3 MB / 0.9726 GB, free: 68.37 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1596/0.6906, allocations: 137.6 MB / 1.107 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.6908, allocations: 79.94 kB / 1.107 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.003318/0.6942, allocations: 0.922 MB / 1.108 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.6942, allocations: 0 / 1.108 GB, free: 10.04 MB / 0.7136 GB 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.0003312/0.6945, allocations: 322.5 kB / 1.108 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.6946, allocations: 12.02 kB / 1.108 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.833e-05/0.6946, allocations: 0 / 1.108 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.531e-05/0.6947, allocations: 159.9 kB / 1.108 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.6947, allocations: 3.906 kB / 1.108 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-06/0.6948, allocations: 0 / 1.108 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.347e-05/0.6948, allocations: 7.938 kB / 1.108 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.357e-05/0.6949, allocations: 29.7 kB / 1.108 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.6949, allocations: 0 / 1.108 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.034e-06/0.6949, allocations: 0 / 1.108 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.6949, allocations: 0 / 1.108 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001413/0.695, allocations: 126.2 kB / 1.109 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.843e-05/0.6951, allocations: 19.45 kB / 1.109 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.753e-05/0.6951, allocations: 8.859 kB / 1.109 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006235/0.6957, allocations: 437.6 kB / 1.109 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.6958, allocations: 42.39 kB / 1.109 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.6958, allocations: 0 / 1.109 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001495/0.696, allocations: 29.7 kB / 1.109 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.696, allocations: 51.41 kB / 1.109 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.158e-05/0.696, allocations: 89.03 kB / 1.109 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.6961, allocations: 25.7 kB / 1.109 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.581e-05/0.6961, allocations: 81.45 kB / 1.109 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.6961, allocations: 4 kB / 1.109 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-06/0.6961, allocations: 4 kB / 1.109 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.6963, allocations: 310.8 kB / 1.11 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.263e-06/0.6963, allocations: 0 / 1.11 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.739e-06/0.6963, allocations: 0 / 1.11 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.465e-05/0.6963, allocations: 4.062 kB / 1.11 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.6964, allocations: 11.84 kB / 1.11 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.358e-05/0.6964, allocations: 37.62 kB / 1.11 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.6965, allocations: 4 kB / 1.11 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.6965, allocations: 1.953 kB / 1.11 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.6965, allocations: 0 / 1.11 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.04e-05/0.6965, allocations: 4 kB / 1.11 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.6965, allocations: 0 / 1.11 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.648e-06/0.6965, allocations: 0.6562 kB / 1.11 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.6966, allocations: 0 / 1.11 GB, free: 7.961 MB / 0.7136 GB 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 6.186e-05/0.6966, allocations: 105 kB / 1.11 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.215e-06/0.6966, allocations: 3.906 kB / 1.11 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.6967, allocations: 44.69 kB / 1.11 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.6968, allocations: 4 kB / 1.11 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.6968, allocations: 0 / 1.11 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.6968, allocations: 0.5625 kB / 1.11 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.85e-05/0.6969, allocations: 122.2 kB / 1.11 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.6969, allocations: 0 / 1.11 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.464e-05/0.6969, allocations: 7.922 kB / 1.11 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.6969, allocations: 11.94 kB / 1.11 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.6969, allocations: 0 / 1.11 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.6969, allocations: 0.6562 kB / 1.11 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6969, allocations: 0 / 1.11 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.945e-05/0.697, allocations: 51.61 kB / 1.11 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.057e-05/0.697, allocations: 77.11 kB / 1.11 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.6971, allocations: 11.89 kB / 1.11 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-06/0.6971, allocations: 4.031 kB / 1.11 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.927e-06/0.6971, allocations: 0 / 1.11 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.6971, allocations: 1.125 kB / 1.11 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.669e-05/0.6971, allocations: 79.28 kB / 1.11 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002142/0.6973, allocations: 23.94 kB / 1.11 GB, free: 7.34 MB / 0.7136 GB 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.000275/0.6976, allocations: 139.1 kB / 1.11 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.606e-05/0.6977, allocations: 7.938 kB / 1.11 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.6977, allocations: 0 / 1.11 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.661e-06/0.6977, allocations: 4.062 kB / 1.11 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.532e-05/0.6978, allocations: 4.062 kB / 1.11 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001505/0.698, allocations: 48 kB / 1.11 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002536/0.6982, allocations: 0.6782 MB / 1.111 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.6982, allocations: 4 kB / 1.111 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of Templates: time 0.002158/0.7004, allocations: 388.9 kB / 1.111 GB, free: 6.035 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)