Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.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.BesselY1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1") translateModel(BuildingSystems.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.955/0.955, allocations: 141.8 MB / 149.1 MB, free: 12.15 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.001354/0.001354, allocations: 192.1 kB / 182 MB, free: 8.926 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.344/1.344, allocations: 221.3 MB / 436 MB, free: 1.281 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.0008885/0.0008885, allocations: 94.3 kB / 0.507 GB, free: 10.14 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001822/0.001822, allocations: 274.6 kB / 0.5884 GB, free: 6.992 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 1.085e-05/1.086e-05, allocations: 0 / 0.6759 GB, free: 13.35 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4334/0.4334, allocations: 82.77 MB / 0.7567 GB, free: 138.2 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1465/0.58, allocations: 108.4 MB / 0.8626 GB, free: 29.66 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/0.5803, allocations: 75.84 kB / 0.8626 GB, free: 29.59 MB / 0.5575 GB Notification: Performance of FrontEnd: time 0.01033/0.5907, allocations: 2.15 MB / 0.8647 GB, free: 27.47 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.5907, allocations: 0.625 kB / 0.8647 GB, free: 27.47 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.0004297/0.5912, allocations: 377.2 kB / 0.8651 GB, free: 27.06 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.5912, allocations: 9.688 kB / 0.8651 GB, free: 27.05 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.5913, allocations: 3.906 kB / 0.8651 GB, free: 27.05 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.5914, allocations: 167.7 kB / 0.8653 GB, free: 26.85 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.5914, allocations: 0 / 0.8653 GB, free: 26.85 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.5914, allocations: 0.5625 kB / 0.8653 GB, free: 26.85 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.841e-05/0.5915, allocations: 12.66 kB / 0.8653 GB, free: 26.84 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.307e-05/0.5916, allocations: 41.61 kB / 0.8653 GB, free: 26.79 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.5917, allocations: 0.8438 kB / 0.8653 GB, free: 26.79 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.5917, allocations: 3.906 kB / 0.8653 GB, free: 26.79 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.5917, allocations: 0.6562 kB / 0.8653 GB, free: 26.79 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004797/0.5922, allocations: 241.5 kB / 0.8656 GB, free: 26.52 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.929e-05/0.5923, allocations: 30.61 kB / 0.8656 GB, free: 26.48 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.61e-05/0.5923, allocations: 13.77 kB / 0.8656 GB, free: 26.46 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007736/0.5931, allocations: 449.1 kB / 0.866 GB, free: 25.93 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.5931, allocations: 39.19 kB / 0.8661 GB, free: 25.89 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=2): time 1.954e-06/0.5932, allocations: 0.8125 kB / 0.8661 GB, free: 25.89 MB / 0.5575 GB Notification: Performance of matching and sorting (n=2): time 0.0002338/0.5934, allocations: 38.86 kB / 0.8661 GB, free: 25.84 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.5934, allocations: 55.41 kB / 0.8662 GB, free: 25.78 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.444e-05/0.5935, allocations: 97.64 kB / 0.8662 GB, free: 25.68 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 9.437e-06/0.5935, allocations: 29.64 kB / 0.8663 GB, free: 25.64 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 2.502e-05/0.5936, allocations: 84.95 kB / 0.8664 GB, free: 25.55 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.5936, allocations: 3.906 kB / 0.8664 GB, free: 25.55 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-06/0.5936, allocations: 1.219 kB / 0.8664 GB, free: 25.55 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 5.002e-05/0.5937, allocations: 314.8 kB / 0.8667 GB, free: 25.23 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.087e-05/0.5937, allocations: 4.5 kB / 0.8667 GB, free: 25.23 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.061e-05/0.5938, allocations: 8.031 kB / 0.8667 GB, free: 25.22 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.925e-05/0.5938, allocations: 11.98 kB / 0.8667 GB, free: 25.21 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5938, allocations: 0 / 0.8667 GB, free: 25.21 MB / 0.5575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00013/0.594, allocations: 45.55 kB / 0.8667 GB, free: 25.16 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.594, allocations: 4 kB / 0.8667 GB, free: 25.16 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.594, allocations: 0 / 0.8667 GB, free: 25.16 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.594, allocations: 4 kB / 0.8667 GB, free: 25.15 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.5942, allocations: 16.08 kB / 0.8667 GB, free: 25.14 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.5942, allocations: 0 / 0.8667 GB, free: 25.14 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.864e-05/0.5943, allocations: 11.98 kB / 0.8668 GB, free: 25.12 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.5943, allocations: 0 / 0.8668 GB, free: 25.12 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 5.216e-05/0.5944, allocations: 101 kB / 0.8669 GB, free: 25.02 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.641e-05/0.5944, allocations: 3.906 kB / 0.8669 GB, free: 25.02 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001481/0.5946, allocations: 57.23 kB / 0.8669 GB, free: 24.96 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.5946, allocations: 0 / 0.8669 GB, free: 24.96 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.5946, allocations: 0 / 0.8669 GB, free: 24.96 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.5946, allocations: 3.938 kB / 0.8669 GB, free: 24.96 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.5948, allocations: 138.1 kB / 0.867 GB, free: 24.79 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.5948, allocations: 3.938 kB / 0.8671 GB, free: 24.78 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.56e-05/0.5949, allocations: 11.98 kB / 0.8671 GB, free: 24.77 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5949, allocations: 0 / 0.8671 GB, free: 24.77 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.595, allocations: 8.031 kB / 0.8671 GB, free: 24.76 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.595, allocations: 4 kB / 0.8671 GB, free: 24.76 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.595, allocations: 0 / 0.8671 GB, free: 24.76 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001296/0.5951, allocations: 135.5 kB / 0.8672 GB, free: 24.61 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.352e-05/0.5952, allocations: 81.11 kB / 0.8673 GB, free: 24.51 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.5952, allocations: 0 / 0.8673 GB, free: 24.51 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.5953, allocations: 12.02 kB / 0.8673 GB, free: 24.5 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.5954, allocations: 4 kB / 0.8673 GB, free: 24.5 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.5954, allocations: 0 / 0.8673 GB, free: 24.5 MB / 0.5575 GB Notification: Performance of sort global known variables: time 2.44e-05/0.5954, allocations: 87.22 kB / 0.8674 GB, free: 24.41 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0004784/0.5959, allocations: 43.83 kB / 0.8674 GB, free: 24.37 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.0005005/0.5964, allocations: 175.4 kB / 0.8676 GB, free: 24.19 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 9.576e-05/0.5966, allocations: 12 kB / 0.8676 GB, free: 24.18 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.5966, allocations: 0 / 0.8676 GB, free: 24.18 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 3.311e-05/0.5966, allocations: 12 kB / 0.8676 GB, free: 24.16 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.5969, allocations: 7.406 kB / 0.8676 GB, free: 24.16 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002406/0.5971, allocations: 59.86 kB / 0.8677 GB, free: 24.08 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.5973, allocations: 0.688 MB / 0.8683 GB, free: 23.36 MB / 0.5575 GB Notification: Performance of SimCode: time 3.7e-07/0.5973, allocations: 3.938 kB / 0.8684 GB, free: 23.36 MB / 0.5575 GB Notification: Performance of Templates: time 0.00369/0.601, allocations: 0.8331 MB / 0.8692 GB, free: 22.54 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe 2>&1)