Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.BesselY1.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.Examples.BesselY1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BesselY1") [: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.52/1.52, allocations: 289.8 MB / 297.1 MB, free: 6.656 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.001278/0.001278, allocations: 177.4 kB / 366.3 MB, free: 1.93 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.457/1.457, allocations: 205.2 MB / 0.6256 GB, free: 5.758 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.0009431/0.000943, allocations: 82.25 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.795e-06/8.065e-06, allocations: 0 / 0.859 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5446/0.5446, allocations: 116.3 MB / 0.9726 GB, free: 68.15 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.157/0.7016, allocations: 138.7 MB / 1.108 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001858/0.7018, allocations: 72.45 kB / 1.108 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.007621/0.7095, allocations: 2.132 MB / 1.11 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.7095, allocations: 0 / 1.11 GB, free: 7.629 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004498/0.71, allocations: 370.3 kB / 1.11 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.7101, allocations: 8.031 kB / 1.11 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.7101, allocations: 3.906 kB / 1.11 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.7102, allocations: 167.1 kB / 1.111 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.7103, allocations: 0 / 1.111 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.7103, allocations: 0 / 1.111 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.257e-05/0.7104, allocations: 15.98 kB / 1.111 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.7e-05/0.7104, allocations: 33.7 kB / 1.111 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.7104, allocations: 3.906 kB / 1.111 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.7105, allocations: 0 / 1.111 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.7105, allocations: 0 / 1.111 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.7109, allocations: 251.9 kB / 1.111 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.585e-05/0.7109, allocations: 31.7 kB / 1.111 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.398e-05/0.711, allocations: 4.859 kB / 1.111 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007088/0.7117, allocations: 461.5 kB / 1.111 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.7117, allocations: 30.56 kB / 1.111 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.7117, allocations: 0 / 1.111 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001952/0.7119, allocations: 41.69 kB / 1.111 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.712, allocations: 51.41 kB / 1.112 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.665e-05/0.7121, allocations: 96.92 kB / 1.112 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.7121, allocations: 29.7 kB / 1.112 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.003e-05/0.7121, allocations: 96.05 kB / 1.112 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.7122, allocations: 3.906 kB / 1.112 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-06/0.7122, allocations: 0 / 1.112 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.7123, allocations: 316.6 kB / 1.112 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.618e-05/0.7123, allocations: 8 kB / 1.112 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.335e-05/0.7123, allocations: 4 kB / 1.112 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.367e-05/0.7124, allocations: 0 / 1.112 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.7124, allocations: 4 kB / 1.112 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.088e-05/0.7125, allocations: 45.67 kB / 1.112 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.7125, allocations: 4 kB / 1.112 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.7125, allocations: 0 / 1.112 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.7125, allocations: 0 / 1.112 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.649e-05/0.7126, allocations: 15.98 kB / 1.112 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.7126, allocations: 0 / 1.112 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.81e-05/0.7127, allocations: 16.02 kB / 1.112 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.7127, allocations: 0 / 1.112 GB, free: 5.273 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 (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.34e-05/0.7128, allocations: 108.8 kB / 1.112 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.7128, allocations: 0 / 1.112 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.7129, allocations: 45 kB / 1.112 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.7129, allocations: 4 kB / 1.112 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.7129, allocations: 0 / 1.112 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.7129, allocations: 4.031 kB / 1.112 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.7131, allocations: 139.1 kB / 1.112 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.7131, allocations: 0 / 1.112 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.98e-05/0.7132, allocations: 11.98 kB / 1.112 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.7132, allocations: 0 / 1.112 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.7132, allocations: 0 / 1.112 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.7132, allocations: 4 kB / 1.112 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.7132, allocations: 0 / 1.112 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001217/0.7133, allocations: 147.4 kB / 1.113 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.28e-05/0.7134, allocations: 81.11 kB / 1.113 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.7134, allocations: 4 kB / 1.113 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.873e-05/0.7135, allocations: 8.828 kB / 1.113 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.7135, allocations: 4 kB / 1.113 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.7136, allocations: 7.938 kB / 1.113 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.777e-05/0.7136, allocations: 79.28 kB / 1.113 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002891/0.7139, allocations: 51.86 kB / 1.113 GB, free: 4.5 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 (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.0003665/0.7143, allocations: 163.5 kB / 1.113 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.507e-05/0.7143, allocations: 12 kB / 1.113 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.7144, allocations: 0 / 1.113 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.051e-05/0.7144, allocations: 7.938 kB / 1.113 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.7146, allocations: 10.94 kB / 1.113 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002101/0.7148, allocations: 55.86 kB / 1.113 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002674/0.7151, allocations: 0.692 MB / 1.114 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.7151, allocations: 0 / 1.114 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of Templates: time 0.002964/0.718, allocations: 0.8364 MB / 1.115 GB, free: 2.699 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.BesselY1.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1)