Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0") translateModel(BuildingSystems.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7255/0.7255, allocations: 141.8 MB / 149.1 MB, free: 13.11 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 183.4 kB / 181.9 MB, free: 9.797 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 221.4 MB / 436 MB, free: 2.285 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009557/0.0009557, allocations: 97.55 kB / 0.507 GB, free: 10.99 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001778/0.001778, allocations: 288.1 kB / 0.5884 GB, free: 7.832 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 1.017e-05/1.03e-05, allocations: 4 kB / 0.6759 GB, free: 14.2 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4405/0.4406, allocations: 82.76 MB / 0.7567 GB, free: 139.1 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1168/0.5574, allocations: 108.3 MB / 0.8625 GB, free: 30.62 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.5577, allocations: 68.5 kB / 0.8625 GB, free: 30.55 MB / 0.5575 GB Notification: Performance of FrontEnd: time 0.006536/0.5642, allocations: 2.085 MB / 0.8646 GB, free: 28.5 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.5643, allocations: 0 / 0.8646 GB, free: 28.5 MB / 0.5575 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.0003467/0.5646, allocations: 369.2 kB / 0.8649 GB, free: 28.1 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.5647, allocations: 10.62 kB / 0.8649 GB, free: 28.09 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.5647, allocations: 3.906 kB / 0.8649 GB, free: 28.09 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.5649, allocations: 163.1 kB / 0.8651 GB, free: 27.89 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.5649, allocations: 0 / 0.8651 GB, free: 27.89 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.5649, allocations: 0 / 0.8651 GB, free: 27.89 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.71e-05/0.565, allocations: 9.312 kB / 0.8651 GB, free: 27.88 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.89e-05/0.565, allocations: 37.69 kB / 0.8651 GB, free: 27.84 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.5651, allocations: 3.938 kB / 0.8652 GB, free: 27.84 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.5651, allocations: 5.219 kB / 0.8652 GB, free: 27.83 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.5651, allocations: 0 / 0.8652 GB, free: 27.83 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003748/0.5655, allocations: 240.4 kB / 0.8654 GB, free: 27.56 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.3e-05/0.5655, allocations: 31.84 kB / 0.8654 GB, free: 27.52 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.522e-05/0.5656, allocations: 5.453 kB / 0.8654 GB, free: 27.52 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005014/0.5661, allocations: 448.6 kB / 0.8658 GB, free: 26.99 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.5661, allocations: 35.12 kB / 0.8659 GB, free: 26.95 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.5661, allocations: 0 / 0.8659 GB, free: 26.95 MB / 0.5575 GB Notification: Performance of matching and sorting (n=2): time 0.0002026/0.5663, allocations: 42.27 kB / 0.8659 GB, free: 26.9 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.152e-05/0.5664, allocations: 55.91 kB / 0.866 GB, free: 26.83 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.64e-05/0.5664, allocations: 90.22 kB / 0.8661 GB, free: 26.74 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.5664, allocations: 25.7 kB / 0.8661 GB, free: 26.71 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 2.282e-05/0.5665, allocations: 88.69 kB / 0.8662 GB, free: 26.62 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.5665, allocations: 8.375 kB / 0.8662 GB, free: 26.61 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.5665, allocations: 0 / 0.8662 GB, free: 26.61 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 5.065e-05/0.5665, allocations: 312.1 kB / 0.8665 GB, free: 26.3 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.424e-05/0.5666, allocations: 8 kB / 0.8665 GB, free: 26.29 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.16e-05/0.5666, allocations: 4.562 kB / 0.8665 GB, free: 26.29 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.919e-05/0.5666, allocations: 4.812 kB / 0.8665 GB, free: 26.28 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5666, allocations: 3.938 kB / 0.8665 GB, free: 26.28 MB / 0.5575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.827e-05/0.5667, allocations: 46.25 kB / 0.8665 GB, free: 26.23 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.5667, allocations: 4.5 kB / 0.8665 GB, free: 26.22 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.5668, allocations: 128 / 0.8665 GB, free: 26.22 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.5668, allocations: 4 kB / 0.8665 GB, free: 26.22 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.982e-05/0.5669, allocations: 19.92 kB / 0.8666 GB, free: 26.2 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.5669, allocations: 2.188 kB / 0.8666 GB, free: 26.2 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.341e-05/0.567, allocations: 8 kB / 0.8666 GB, free: 26.19 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.567, allocations: 0 / 0.8666 GB, free: 26.19 MB / 0.5575 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 4.713e-05/0.567, allocations: 105 kB / 0.8667 GB, free: 26.08 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.5671, allocations: 11.84 kB / 0.8667 GB, free: 26.07 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.5672, allocations: 51.52 kB / 0.8667 GB, free: 26.02 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.5672, allocations: 0 / 0.8667 GB, free: 26.02 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5672, allocations: 0 / 0.8667 GB, free: 26.02 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.5672, allocations: 3.984 kB / 0.8667 GB, free: 26.02 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.777e-05/0.5673, allocations: 138.1 kB / 0.8669 GB, free: 25.84 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5673, allocations: 0 / 0.8669 GB, free: 25.84 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.562e-05/0.5674, allocations: 16.02 kB / 0.8669 GB, free: 25.83 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.5674, allocations: 4.188 kB / 0.8669 GB, free: 25.82 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.5674, allocations: 4 kB / 0.8669 GB, free: 25.82 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.5674, allocations: 4 kB / 0.8669 GB, free: 25.82 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5674, allocations: 3.938 kB / 0.8669 GB, free: 25.81 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.476e-05/0.5675, allocations: 135.5 kB / 0.867 GB, free: 25.66 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.084e-05/0.5675, allocations: 89.08 kB / 0.8671 GB, free: 25.56 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.5676, allocations: 0 / 0.8671 GB, free: 25.56 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.534e-05/0.5677, allocations: 4 kB / 0.8671 GB, free: 25.55 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.5677, allocations: 7.984 kB / 0.8671 GB, free: 25.55 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.5677, allocations: 0 / 0.8671 GB, free: 25.55 MB / 0.5575 GB Notification: Performance of sort global known variables: time 1.888e-05/0.5677, allocations: 79.28 kB / 0.8672 GB, free: 25.47 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0002694/0.568, allocations: 51.88 kB / 0.8673 GB, free: 25.42 MB / 0.5575 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.0003317/0.5683, allocations: 155.2 kB / 0.8674 GB, free: 25.25 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 8.529e-05/0.5684, allocations: 19.94 kB / 0.8674 GB, free: 25.23 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5684, allocations: 0 / 0.8674 GB, free: 25.23 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 1.867e-05/0.5685, allocations: 4 kB / 0.8674 GB, free: 25.23 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.5687, allocations: 8 kB / 0.8674 GB, free: 25.22 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002189/0.5689, allocations: 60.75 kB / 0.8675 GB, free: 25.14 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.569, allocations: 0.6919 MB / 0.8682 GB, free: 24.43 MB / 0.5575 GB Notification: Performance of SimCode: time 2.2e-07/0.569, allocations: 0 / 0.8682 GB, free: 24.43 MB / 0.5575 GB Notification: Performance of Templates: time 0.002737/0.5718, allocations: 0.8267 MB / 0.869 GB, free: 23.61 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe 2>&1)