Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.BesselJ1.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.284/2.284, allocations: 253.1 MB / 260.4 MB, free: 7.508 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001614/0.001613, allocations: 188.9 kB / 319.6 MB, free: 3.324 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.98/1.98, allocations: 205.4 MB / 0.5704 GB, free: 15.07 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001314/0.001314, allocations: 87.39 kB / 0.6746 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.3e-05/1.317e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2093, allocations: 106.2 MB / 0.888 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.604/0.8134, allocations: 131.9 MB / 1.017 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.8137, allocations: 68.59 kB / 1.017 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.00704/0.8208, allocations: 1.256 MB / 1.018 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.8208, allocations: 0 / 1.018 GB, free: 5.406 MB / 0.6355 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.0004818/0.8213, allocations: 354.7 kB / 1.018 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.8214, allocations: 12.02 kB / 1.018 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.8214, allocations: 4 kB / 1.018 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.8216, allocations: 174 kB / 1.019 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.8216, allocations: 0 / 1.019 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.8216, allocations: 4 kB / 1.019 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.487e-05/0.8217, allocations: 7 kB / 1.019 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.757e-05/0.8218, allocations: 33.69 kB / 1.019 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.8218, allocations: 4 kB / 1.019 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.8218, allocations: 0.5 kB / 1.019 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.8218, allocations: 4 kB / 1.019 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004967/0.8223, allocations: 247.1 kB / 1.019 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.294e-05/0.8224, allocations: 25.39 kB / 1.019 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.757e-05/0.8225, allocations: 11.8 kB / 1.019 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009402/0.8234, allocations: 441.5 kB / 1.019 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.8235, allocations: 39.17 kB / 1.019 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.8235, allocations: 0 / 1.019 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000205/0.8237, allocations: 40.08 kB / 1.019 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.8237, allocations: 51.41 kB / 1.019 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.942e-05/0.8238, allocations: 92.98 kB / 1.02 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.8239, allocations: 25.7 kB / 1.02 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.756e-05/0.8239, allocations: 91.58 kB / 1.02 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.824, allocations: 7.984 kB / 1.02 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-06/0.824, allocations: 0 / 1.02 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.8241, allocations: 314.8 kB / 1.02 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.7e-05/0.8242, allocations: 11.5 kB / 1.02 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.004e-05/0.8242, allocations: 0 / 1.02 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.271e-05/0.8242, allocations: 4.844 kB / 1.02 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.8242, allocations: 0 / 1.02 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001216/0.8244, allocations: 45 kB / 1.02 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.8244, allocations: 11.94 kB / 1.02 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.8244, allocations: 0 / 1.02 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.8244, allocations: 0 / 1.02 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.8246, allocations: 10.5 kB / 1.02 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.8246, allocations: 0 / 1.02 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.8247, allocations: 23.92 kB / 1.02 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.8247, allocations: 7.922 kB / 1.02 GB, free: 3.102 MB / 0.6355 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 7.753e-05/0.8248, allocations: 103.4 kB / 1.02 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.8249, allocations: 4 kB / 1.02 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002034/0.8251, allocations: 58.42 kB / 1.02 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.8251, allocations: 0 / 1.02 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.8251, allocations: 0 / 1.02 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.8251, allocations: 0 / 1.02 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.8253, allocations: 141 kB / 1.02 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.8253, allocations: 0 / 1.02 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.8255, allocations: 12 kB / 1.02 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.8255, allocations: 3.984 kB / 1.02 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.8255, allocations: 0 / 1.02 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.8256, allocations: 0 / 1.02 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-06/0.8256, allocations: 3.906 kB / 1.02 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001828/0.8258, allocations: 135.2 kB / 1.021 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.032e-05/0.8258, allocations: 81.02 kB / 1.021 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.8259, allocations: 7.922 kB / 1.021 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.826, allocations: 11.31 kB / 1.021 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.8261, allocations: 3.984 kB / 1.021 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.8261, allocations: 4.031 kB / 1.021 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.98e-05/0.8261, allocations: 79.28 kB / 1.021 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003602/0.8265, allocations: 27.94 kB / 1.021 GB, free: 2.375 MB / 0.6355 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.0005251/0.8271, allocations: 140.2 kB / 1.021 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001303/0.8272, allocations: 11.06 kB / 1.021 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.8272, allocations: 0 / 1.021 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.864e-05/0.8273, allocations: 7.062 kB / 1.021 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006088/0.8279, allocations: 6.172 kB / 1.021 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004364/0.8284, allocations: 74.89 kB / 1.021 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005167/0.8289, allocations: 0.688 MB / 1.022 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of SimCode: time 9.32e-07/0.8289, allocations: 0 / 1.022 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of Templates: time 0.003703/0.8326, allocations: 0.6061 MB / 1.022 GB, free: 0.8125 MB / 0.6355 GB