Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.BesselY0.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.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BesselY0") [: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.502/1.502, allocations: 289.8 MB / 297.1 MB, free: 6.738 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.001117/0.001117, allocations: 173.4 kB / 366.3 MB, free: 2.004 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.44/1.44, 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.0009133/0.0009131, allocations: 97.3 kB / 0.7396 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.965e-06/7.995e-06, allocations: 4 kB / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5341/0.5341, allocations: 116.3 MB / 0.9726 GB, free: 68.74 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1603/0.6945, allocations: 138.6 MB / 1.108 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001762/0.6947, allocations: 71.95 kB / 1.108 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.006887/0.7016, allocations: 2.064 MB / 1.11 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.7017, allocations: 0 / 1.11 GB, free: 7.777 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.0003397/0.702, allocations: 366.3 kB / 1.11 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.702, allocations: 12.03 kB / 1.11 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.517e-05/0.7021, allocations: 4.844 kB / 1.11 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.7022, allocations: 163.1 kB / 1.111 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.7022, allocations: 0 / 1.111 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.006e-06/0.7022, allocations: 4 kB / 1.111 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.72e-05/0.7023, allocations: 8 kB / 1.111 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.743e-05/0.7024, allocations: 41.69 kB / 1.111 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.7024, allocations: 3.906 kB / 1.111 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.7024, allocations: 0 / 1.111 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.7024, allocations: 4 kB / 1.111 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003505/0.7028, allocations: 249.5 kB / 1.111 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.48e-05/0.7028, allocations: 22.45 kB / 1.111 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.568e-05/0.7028, allocations: 12.92 kB / 1.111 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005438/0.7034, allocations: 449.4 kB / 1.111 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.7034, allocations: 30.56 kB / 1.111 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.7034, allocations: 0 / 1.111 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001627/0.7036, allocations: 41.69 kB / 1.111 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.7036, allocations: 51.41 kB / 1.111 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.594e-05/0.7037, allocations: 101 kB / 1.111 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.7037, allocations: 25.7 kB / 1.112 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/0.7037, allocations: 80.14 kB / 1.112 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.7038, allocations: 11.84 kB / 1.112 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.7038, allocations: 0 / 1.112 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.7039, allocations: 318.8 kB / 1.112 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.377e-05/0.7039, allocations: 7.938 kB / 1.112 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.162e-05/0.7039, allocations: 4 kB / 1.112 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.071e-05/0.704, allocations: 9.094 kB / 1.112 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.704, allocations: 0 / 1.112 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.655e-05/0.704, allocations: 45.61 kB / 1.112 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.7041, allocations: 4 kB / 1.112 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.7041, allocations: 0 / 1.112 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/0.7041, allocations: 192 / 1.112 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.099e-05/0.7042, allocations: 11.98 kB / 1.112 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.7042, allocations: 2.734 kB / 1.112 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.152e-05/0.7043, allocations: 16.02 kB / 1.112 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.7043, allocations: 3.984 kB / 1.112 GB, free: 5.434 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 5.564e-05/0.7043, allocations: 112.8 kB / 1.112 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.7044, allocations: 1.781 kB / 1.112 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.7045, allocations: 45 kB / 1.112 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.7045, allocations: 4.031 kB / 1.112 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.7045, allocations: 0 / 1.112 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.7045, allocations: 0 / 1.112 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.7046, allocations: 138.1 kB / 1.112 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.7046, allocations: 4 kB / 1.112 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.902e-05/0.7047, allocations: 15.98 kB / 1.112 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.7047, allocations: 0 / 1.112 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.7047, allocations: 0 / 1.112 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.7047, allocations: 4 kB / 1.112 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.7047, allocations: 0 / 1.112 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001097/0.7048, allocations: 143.4 kB / 1.112 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.772e-05/0.7049, allocations: 77.11 kB / 1.113 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.7049, allocations: 0 / 1.113 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.755e-05/0.705, allocations: 16.02 kB / 1.113 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.705, allocations: 4 kB / 1.113 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.705, allocations: 3.906 kB / 1.113 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.349e-05/0.7051, allocations: 79.28 kB / 1.113 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002689/0.7053, allocations: 45.33 kB / 1.113 GB, free: 4.668 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.0003049/0.7057, allocations: 159.2 kB / 1.113 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.144e-05/0.7057, allocations: 12 kB / 1.113 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.7057, allocations: 4 kB / 1.113 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.978e-05/0.7058, allocations: 15.88 kB / 1.113 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001443/0.7059, allocations: 0 / 1.113 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001767/0.7061, allocations: 63.67 kB / 1.113 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002814/0.7064, allocations: 0.688 MB / 1.114 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.7064, allocations: 0 / 1.114 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of Templates: time 0.00249/0.7089, allocations: 0.8212 MB / 1.114 GB, free: 2.875 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1)