Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.752/0.752, allocations: 141.8 MB / 149.1 MB, free: 4.488 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 180.1 kB / 181.9 MB, free: 164 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 221.3 MB / 436 MB, free: 9.293 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.0009672/0.0009672, allocations: 93.41 kB / 0.507 GB, free: 24.16 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001829/0.001829, allocations: 276.9 kB / 0.5884 GB, free: 12.3 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.001e-05/1.004e-05, allocations: 4 kB / 0.6759 GB, free: 2.652 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4252/0.4252, allocations: 82.76 MB / 0.7567 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1144/0.5397, allocations: 107.6 MB / 0.8618 GB, free: 5.23 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.54, allocations: 76.48 kB / 0.8619 GB, free: 5.16 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.005411/0.5454, allocations: 1.773 MB / 0.8636 GB, free: 3.406 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.5454, allocations: 0 / 0.8636 GB, free: 3.406 MB / 0.5263 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.0001963/0.5456, allocations: 342.9 kB / 0.8639 GB, free: 3.027 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.5457, allocations: 9.781 kB / 0.8639 GB, free: 3.02 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.972e-05/0.5457, allocations: 1.344 kB / 0.8639 GB, free: 3.02 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.653e-05/0.5458, allocations: 159.1 kB / 0.8641 GB, free: 2.824 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.5458, allocations: 0 / 0.8641 GB, free: 2.824 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.642e-06/0.5458, allocations: 0 / 0.8641 GB, free: 2.824 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.571e-05/0.5459, allocations: 4.688 kB / 0.8641 GB, free: 2.82 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.561e-05/0.5459, allocations: 34.59 kB / 0.8641 GB, free: 2.781 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.5459, allocations: 0 / 0.8641 GB, free: 2.781 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.5459, allocations: 0 / 0.8641 GB, free: 2.781 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.546, allocations: 0.5312 kB / 0.8641 GB, free: 2.781 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.438e-05/0.5461, allocations: 135.3 kB / 0.8642 GB, free: 2.613 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 2.783e-05/0.5461, allocations: 19.08 kB / 0.8643 GB, free: 2.586 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.788e-05/0.5461, allocations: 5.828 kB / 0.8643 GB, free: 2.578 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005038/0.5466, allocations: 443.9 kB / 0.8647 GB, free: 2.055 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/0.5467, allocations: 31.84 kB / 0.8647 GB, free: 2.016 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.5467, allocations: 0 / 0.8647 GB, free: 2.016 MB / 0.5263 GB Notification: Performance of matching and sorting (n=1): time 0.000142/0.5468, allocations: 38.27 kB / 0.8648 GB, free: 1.973 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.821e-05/0.5468, allocations: 54.31 kB / 0.8648 GB, free: 1.91 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.695e-05/0.5469, allocations: 88.98 kB / 0.8649 GB, free: 1.816 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 7.073e-06/0.5469, allocations: 25.7 kB / 0.8649 GB, free: 1.785 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 1.362e-05/0.5469, allocations: 80.89 kB / 0.865 GB, free: 1.703 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.5469, allocations: 4 kB / 0.865 GB, free: 1.699 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-06/0.5469, allocations: 4.531 kB / 0.865 GB, free: 1.695 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 5.213e-05/0.547, allocations: 315.4 kB / 0.8653 GB, free: 1.379 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.113e-06/0.547, allocations: 0.5938 kB / 0.8653 GB, free: 1.379 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.408e-06/0.547, allocations: 0.9062 kB / 0.8653 GB, free: 1.379 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.76e-05/0.547, allocations: 4 kB / 0.8653 GB, free: 1.375 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.5471, allocations: 0.625 kB / 0.8653 GB, free: 1.375 MB / 0.5263 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.202e-05/0.5471, allocations: 34.11 kB / 0.8653 GB, free: 1.336 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.5471, allocations: 4.531 kB / 0.8654 GB, free: 1.332 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.5471, allocations: 0 / 0.8654 GB, free: 1.332 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.5472, allocations: 5.766 kB / 0.8654 GB, free: 1.328 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.002e-05/0.5472, allocations: 4 kB / 0.8654 GB, free: 1.324 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.5472, allocations: 1.594 kB / 0.8654 GB, free: 1.324 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.678e-06/0.5472, allocations: 0 / 0.8654 GB, free: 1.324 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.5472, allocations: 0.5625 kB / 0.8654 GB, free: 1.324 MB / 0.5263 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 4.03e-05/0.5473, allocations: 105.8 kB / 0.8655 GB, free: 1.215 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.501e-06/0.5473, allocations: 0.6875 kB / 0.8655 GB, free: 1.215 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.003e-05/0.5474, allocations: 41.08 kB / 0.8655 GB, free: 1.168 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.5474, allocations: 7.984 kB / 0.8655 GB, free: 1.16 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.5474, allocations: 1.062 kB / 0.8655 GB, free: 1.16 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.5474, allocations: 0 / 0.8655 GB, free: 1.16 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.894e-05/0.5474, allocations: 122.2 kB / 0.8656 GB, free: 1.004 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.5475, allocations: 4.656 kB / 0.8656 GB, free: 1 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.126e-05/0.5475, allocations: 4.594 kB / 0.8656 GB, free: 0.9961 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.5475, allocations: 0 / 0.8656 GB, free: 0.9961 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.5475, allocations: 0.6875 kB / 0.8656 GB, free: 0.9961 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.5475, allocations: 0 / 0.8656 GB, free: 0.9961 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5475, allocations: 4.406 kB / 0.8656 GB, free: 0.9922 MB / 0.5263 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.882e-05/0.5476, allocations: 58.69 kB / 0.8657 GB, free: 0.918 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.71e-05/0.5476, allocations: 86.38 kB / 0.8658 GB, free: 0.8164 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.998e-06/0.5476, allocations: 4 kB / 0.8658 GB, free: 0.8125 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-06/0.5476, allocations: 0.7188 kB / 0.8658 GB, free: 0.8125 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.788e-06/0.5476, allocations: 3.906 kB / 0.8658 GB, free: 0.8086 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.5476, allocations: 1.281 kB / 0.8658 GB, free: 0.8086 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.499e-05/0.5477, allocations: 75.28 kB / 0.8659 GB, free: 0.7344 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0002322/0.5479, allocations: 40.58 kB / 0.8659 GB, free: 0.6953 MB / 0.5263 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.0003296/0.5482, allocations: 162.7 kB / 0.8661 GB, free: 0.5312 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 5.45e-05/0.5483, allocations: 8 kB / 0.8661 GB, free: 0.5234 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.5483, allocations: 3.938 kB / 0.8661 GB, free: 0.5195 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 5.129e-06/0.5483, allocations: 4 kB / 0.8661 GB, free: 0.5156 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.546e-05/0.5484, allocations: 0.5625 kB / 0.8661 GB, free: 0.5156 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001477/0.5486, allocations: 44.02 kB / 0.8661 GB, free: 460 kB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.5488, allocations: 0.6802 MB / 0.8668 GB, free: 15.74 MB / 0.5419 GB Notification: Performance of SimCode: time 2.41e-07/0.5488, allocations: 0 / 0.8668 GB, free: 15.74 MB / 0.5419 GB Notification: Performance of Templates: time 0.002563/0.5514, allocations: 0.6135 MB / 0.8674 GB, free: 15.16 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1)