Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") [: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.7265/0.7265, allocations: 141.8 MB / 149.1 MB, free: 13.16 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.001112/0.001112, allocations: 187.6 kB / 181.9 MB, free: 9.828 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.552/1.552, allocations: 221.4 MB / 436 MB, free: 2.312 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.0009301/0.0009298, allocations: 92.86 kB / 0.507 GB, free: 11.02 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0018/0.0018, allocations: 272.6 kB / 0.5884 GB, free: 7.859 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 9.999e-06/1.01e-05, allocations: 4 kB / 0.6759 GB, free: 14.22 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3753, allocations: 82.78 MB / 0.7567 GB, free: 139.1 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1155/0.4909, allocations: 108 MB / 0.8622 GB, free: 30.88 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001853/0.4911, allocations: 68.56 kB / 0.8623 GB, free: 30.81 MB / 0.5575 GB Notification: Performance of FrontEnd: time 0.0044/0.4955, allocations: 1.266 MB / 0.8635 GB, free: 29.57 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.4956, allocations: 0.9062 kB / 0.8635 GB, free: 29.57 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.0003261/0.4959, allocations: 353.2 kB / 0.8639 GB, free: 29.19 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.496, allocations: 9.031 kB / 0.8639 GB, free: 29.18 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.496, allocations: 5.625 kB / 0.8639 GB, free: 29.18 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.917e-05/0.4961, allocations: 166.9 kB / 0.864 GB, free: 28.97 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.4961, allocations: 0 / 0.864 GB, free: 28.97 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.4961, allocations: 3.984 kB / 0.864 GB, free: 28.97 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.645e-05/0.4962, allocations: 17.28 kB / 0.8641 GB, free: 28.95 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.509e-05/0.4963, allocations: 33.69 kB / 0.8641 GB, free: 28.91 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.4963, allocations: 0 / 0.8641 GB, free: 28.91 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.4963, allocations: 0 / 0.8641 GB, free: 28.91 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.4963, allocations: 5.188 kB / 0.8641 GB, free: 28.91 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.4967, allocations: 248.3 kB / 0.8643 GB, free: 28.63 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.167e-05/0.4968, allocations: 27.95 kB / 0.8644 GB, free: 28.6 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.422e-05/0.4968, allocations: 12.92 kB / 0.8644 GB, free: 28.58 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005144/0.4973, allocations: 440.3 kB / 0.8648 GB, free: 28.06 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.4974, allocations: 35.25 kB / 0.8648 GB, free: 28.02 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.4974, allocations: 0 / 0.8648 GB, free: 28.02 MB / 0.5575 GB Notification: Performance of matching and sorting (n=2): time 0.0001901/0.4976, allocations: 46.25 kB / 0.8649 GB, free: 27.97 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.4976, allocations: 55.91 kB / 0.8649 GB, free: 27.9 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.108e-05/0.4977, allocations: 93.53 kB / 0.865 GB, free: 27.8 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.4977, allocations: 26.27 kB / 0.865 GB, free: 27.77 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 2.872e-05/0.4977, allocations: 85.3 kB / 0.8651 GB, free: 27.69 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.4977, allocations: 3.906 kB / 0.8651 GB, free: 27.68 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.4977, allocations: 0 / 0.8651 GB, free: 27.68 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 5.584e-05/0.4978, allocations: 319.4 kB / 0.8654 GB, free: 27.36 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.432e-05/0.4978, allocations: 4.719 kB / 0.8654 GB, free: 27.36 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.404e-05/0.4979, allocations: 5.125 kB / 0.8654 GB, free: 27.36 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.949e-05/0.4979, allocations: 8 kB / 0.8654 GB, free: 27.35 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4979, allocations: 0.5 kB / 0.8654 GB, free: 27.35 MB / 0.5575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.459e-05/0.498, allocations: 42.14 kB / 0.8655 GB, free: 27.3 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.498, allocations: 4.125 kB / 0.8655 GB, free: 27.3 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.498, allocations: 4 kB / 0.8655 GB, free: 27.29 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.498, allocations: 4 kB / 0.8655 GB, free: 27.29 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.738e-05/0.4981, allocations: 15.98 kB / 0.8655 GB, free: 27.27 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.4982, allocations: 0 / 0.8655 GB, free: 27.27 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.337e-05/0.4982, allocations: 11.98 kB / 0.8655 GB, free: 27.26 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.4982, allocations: 4 kB / 0.8655 GB, free: 27.26 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.302e-05/0.4983, allocations: 101 kB / 0.8656 GB, free: 27.15 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.4983, allocations: 3.906 kB / 0.8656 GB, free: 27.15 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/0.4985, allocations: 51.52 kB / 0.8657 GB, free: 27.1 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.4985, allocations: 3.938 kB / 0.8657 GB, free: 27.09 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4985, allocations: 0 / 0.8657 GB, free: 27.09 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.4985, allocations: 0 / 0.8657 GB, free: 27.09 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.4986, allocations: 138.1 kB / 0.8658 GB, free: 26.92 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4986, allocations: 4.031 kB / 0.8658 GB, free: 26.92 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.427e-05/0.4987, allocations: 11.98 kB / 0.8658 GB, free: 26.91 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.4987, allocations: 0 / 0.8658 GB, free: 26.91 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.4987, allocations: 8 kB / 0.8658 GB, free: 26.9 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4987, allocations: 0 / 0.8658 GB, free: 26.9 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.4987, allocations: 0 / 0.8658 GB, free: 26.9 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000114/0.4988, allocations: 139.5 kB / 0.866 GB, free: 26.75 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.092e-05/0.4989, allocations: 81.11 kB / 0.866 GB, free: 26.65 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.4989, allocations: 3.938 kB / 0.866 GB, free: 26.64 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.264e-05/0.499, allocations: 7.984 kB / 0.866 GB, free: 26.64 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.499, allocations: 4 kB / 0.8661 GB, free: 26.63 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.499, allocations: 0 / 0.8661 GB, free: 26.63 MB / 0.5575 GB Notification: Performance of sort global known variables: time 2.54e-05/0.4991, allocations: 87.5 kB / 0.8661 GB, free: 26.55 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0002514/0.4993, allocations: 35.86 kB / 0.8662 GB, free: 26.51 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.0002734/0.4996, allocations: 142 kB / 0.8663 GB, free: 26.36 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.0001095/0.4997, allocations: 16 kB / 0.8663 GB, free: 26.35 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4997, allocations: 0 / 0.8663 GB, free: 26.35 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 2.156e-05/0.4998, allocations: 8 kB / 0.8663 GB, free: 26.34 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.5, allocations: 3.906 kB / 0.8663 GB, free: 26.34 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002337/0.5002, allocations: 56.05 kB / 0.8664 GB, free: 26.26 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.5004, allocations: 0.6957 MB / 0.8671 GB, free: 25.54 MB / 0.5575 GB Notification: Performance of SimCode: time 2.51e-07/0.5004, allocations: 0 / 0.8671 GB, free: 25.54 MB / 0.5575 GB Notification: Performance of Templates: time 0.002781/0.5032, allocations: 0.6097 MB / 0.8677 GB, free: 24.93 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1)