Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") [: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.7753/0.7753, allocations: 141.8 MB / 149.1 MB, free: 12.81 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.001083/0.001083, allocations: 176.1 kB / 181.9 MB, free: 9.566 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.375/1.375, allocations: 221.3 MB / 436 MB, free: 1.984 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.0009614/0.0009613, allocations: 104.8 kB / 0.507 GB, free: 10.76 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001801/0.001801, allocations: 276.2 kB / 0.5884 GB, free: 7.598 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 7.985e-06/8.005e-06, allocations: 4 kB / 0.6759 GB, free: 13.95 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3816, allocations: 82.76 MB / 0.7567 GB, free: 138.9 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1125/0.4942, allocations: 108 MB / 0.8622 GB, free: 30.74 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001823/0.4945, allocations: 72.48 kB / 0.8623 GB, free: 30.67 MB / 0.5575 GB Notification: Performance of FrontEnd: time 0.004173/0.4986, allocations: 1.232 MB / 0.8635 GB, free: 29.46 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.4987, allocations: 0 / 0.8635 GB, free: 29.46 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.0003421/0.499, allocations: 353.5 kB / 0.8638 GB, free: 29.08 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.4991, allocations: 13.58 kB / 0.8638 GB, free: 29.07 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.4991, allocations: 0 / 0.8638 GB, free: 29.07 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.941e-05/0.4992, allocations: 167.5 kB / 0.864 GB, free: 28.86 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.4992, allocations: 0.875 kB / 0.864 GB, free: 28.86 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.4993, allocations: 0 / 0.864 GB, free: 28.86 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.443e-05/0.4993, allocations: 15.94 kB / 0.864 GB, free: 28.85 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.297e-05/0.4994, allocations: 34.19 kB / 0.864 GB, free: 28.81 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.4994, allocations: 0.7188 kB / 0.864 GB, free: 28.81 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.4994, allocations: 0.5 kB / 0.864 GB, free: 28.81 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.4995, allocations: 0 / 0.864 GB, free: 28.81 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004012/0.4999, allocations: 245.1 kB / 0.8642 GB, free: 28.54 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.82e-05/0.4999, allocations: 28.17 kB / 0.8643 GB, free: 28.5 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.919e-05/0.5, allocations: 8.859 kB / 0.8643 GB, free: 28.49 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005476/0.5005, allocations: 440.1 kB / 0.8647 GB, free: 27.97 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.5006, allocations: 36.12 kB / 0.8647 GB, free: 27.93 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.5006, allocations: 0 / 0.8647 GB, free: 27.93 MB / 0.5575 GB Notification: Performance of matching and sorting (n=2): time 0.0002311/0.5008, allocations: 45.59 kB / 0.8648 GB, free: 27.88 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/0.5008, allocations: 56.62 kB / 0.8648 GB, free: 27.81 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.118e-05/0.5009, allocations: 93 kB / 0.8649 GB, free: 27.71 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 9.407e-06/0.5009, allocations: 25.7 kB / 0.8649 GB, free: 27.68 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 2.847e-05/0.501, allocations: 85.45 kB / 0.865 GB, free: 27.59 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.501, allocations: 3.906 kB / 0.865 GB, free: 27.59 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-06/0.501, allocations: 0 / 0.865 GB, free: 27.59 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 5.614e-05/0.5011, allocations: 319.4 kB / 0.8653 GB, free: 27.27 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.436e-05/0.5011, allocations: 5.219 kB / 0.8653 GB, free: 27.27 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.198e-05/0.5011, allocations: 7.938 kB / 0.8654 GB, free: 27.26 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.063e-05/0.5011, allocations: 8.562 kB / 0.8654 GB, free: 27.25 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.5012, allocations: 0 / 0.8654 GB, free: 27.25 MB / 0.5575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.852e-05/0.5012, allocations: 42.27 kB / 0.8654 GB, free: 27.2 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.5013, allocations: 8.688 kB / 0.8654 GB, free: 27.2 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.5013, allocations: 0 / 0.8654 GB, free: 27.2 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.5013, allocations: 4.656 kB / 0.8654 GB, free: 27.19 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.5014, allocations: 17.27 kB / 0.8654 GB, free: 27.18 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.5014, allocations: 0 / 0.8654 GB, free: 27.18 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.641e-05/0.5015, allocations: 13.7 kB / 0.8654 GB, free: 27.16 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.5015, allocations: 0.875 kB / 0.8654 GB, free: 27.16 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.611e-05/0.5015, allocations: 101.7 kB / 0.8655 GB, free: 27.06 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.5016, allocations: 4.094 kB / 0.8655 GB, free: 27.05 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.5017, allocations: 52.05 kB / 0.8656 GB, free: 27 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.5017, allocations: 5.266 kB / 0.8656 GB, free: 27 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.5017, allocations: 3.938 kB / 0.8656 GB, free: 27 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5017, allocations: 0 / 0.8656 GB, free: 27 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.701e-05/0.5018, allocations: 138.8 kB / 0.8657 GB, free: 26.82 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.5018, allocations: 0 / 0.8657 GB, free: 26.82 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.852e-05/0.5019, allocations: 17.3 kB / 0.8657 GB, free: 26.81 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.5019, allocations: 4.156 kB / 0.8658 GB, free: 26.8 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.5019, allocations: 4 kB / 0.8658 GB, free: 26.8 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.502, allocations: 0 / 0.8658 GB, free: 26.8 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.502, allocations: 0 / 0.8658 GB, free: 26.8 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.976e-05/0.5021, allocations: 135.5 kB / 0.8659 GB, free: 26.65 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.82e-05/0.5021, allocations: 81.11 kB / 0.866 GB, free: 26.55 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.5021, allocations: 0 / 0.866 GB, free: 26.55 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.802e-05/0.5022, allocations: 12.02 kB / 0.866 GB, free: 26.54 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.5022, allocations: 4 kB / 0.866 GB, free: 26.54 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.5023, allocations: 0 / 0.866 GB, free: 26.54 MB / 0.5575 GB Notification: Performance of sort global known variables: time 2.1e-05/0.5023, allocations: 83.28 kB / 0.8661 GB, free: 26.46 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0002535/0.5025, allocations: 27.92 kB / 0.8661 GB, free: 26.43 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.0002371/0.5028, allocations: 131.2 kB / 0.8662 GB, free: 26.29 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 7.391e-05/0.5029, allocations: 12 kB / 0.8662 GB, free: 26.28 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5029, allocations: 4.062 kB / 0.8662 GB, free: 26.27 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 1.91e-05/0.5029, allocations: 4 kB / 0.8662 GB, free: 26.27 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/0.5031, allocations: 15.84 kB / 0.8662 GB, free: 26.25 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002186/0.5033, allocations: 51.92 kB / 0.8663 GB, free: 26.18 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.5035, allocations: 0.688 MB / 0.867 GB, free: 25.46 MB / 0.5575 GB Notification: Performance of SimCode: time 2.31e-07/0.5035, allocations: 3.938 kB / 0.867 GB, free: 25.46 MB / 0.5575 GB Notification: Performance of Templates: time 0.002838/0.5063, allocations: 0.6052 MB / 0.8676 GB, free: 24.86 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1)