Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.BesselY0.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.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.11/2.11, allocations: 253.1 MB / 260.4 MB, free: 0.5547 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.001655/0.001655, allocations: 182.5 kB / 319.6 MB, free: 7.68 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 2.057/2.057, allocations: 205.4 MB / 0.5704 GB, free: 25.62 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.001351/0.001351, allocations: 99.12 kB / 0.6746 GB, free: 3.066 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 1.223e-05/1.232e-05, allocations: 4 kB / 0.7843 GB, free: 2.68 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4747/0.4747, allocations: 106.2 MB / 0.8881 GB, free: 77.12 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2373/0.7121, allocations: 130.4 MB / 1.015 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.7125, allocations: 79.92 kB / 1.016 GB, free: 10.42 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.009525/0.722, allocations: 1.761 MB / 1.017 GB, free: 8.66 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.7221, allocations: 0 / 1.017 GB, free: 8.66 MB / 0.6667 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.000348/0.7225, allocations: 346.3 kB / 1.018 GB, free: 8.277 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.7225, allocations: 8.031 kB / 1.018 GB, free: 8.27 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.7225, allocations: 7.906 kB / 1.018 GB, free: 8.262 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.7227, allocations: 159.1 kB / 1.018 GB, free: 8.066 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.7227, allocations: 0 / 1.018 GB, free: 8.066 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.7227, allocations: 3.938 kB / 1.018 GB, free: 8.062 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.182e-05/0.7228, allocations: 4 kB / 1.018 GB, free: 8.059 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.228e-05/0.7228, allocations: 25.7 kB / 1.018 GB, free: 8.027 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.7229, allocations: 0 / 1.018 GB, free: 8.027 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.7229, allocations: 7.984 kB / 1.018 GB, free: 8.02 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.7229, allocations: 3.984 kB / 1.018 GB, free: 8.016 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001323/0.723, allocations: 126.2 kB / 1.018 GB, free: 7.855 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 4.012e-05/0.7231, allocations: 18.58 kB / 1.018 GB, free: 7.828 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.154e-05/0.7231, allocations: 7.328 kB / 1.018 GB, free: 7.82 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009176/0.724, allocations: 449.5 kB / 1.018 GB, free: 7.289 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.7241, allocations: 34.5 kB / 1.018 GB, free: 7.246 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=1): time 1.703e-06/0.7241, allocations: 0 / 1.018 GB, free: 7.246 MB / 0.6667 GB Notification: Performance of matching and sorting (n=1): time 0.0002091/0.7243, allocations: 29.7 kB / 1.018 GB, free: 7.211 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.7244, allocations: 51.41 kB / 1.018 GB, free: 7.148 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.953e-05/0.7244, allocations: 89.03 kB / 1.019 GB, free: 7.055 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.7244, allocations: 25.7 kB / 1.019 GB, free: 7.023 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 3.181e-05/0.7245, allocations: 80.14 kB / 1.019 GB, free: 6.941 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.7245, allocations: 3.906 kB / 1.019 GB, free: 6.938 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-06/0.7245, allocations: 0 / 1.019 GB, free: 6.938 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.7247, allocations: 322.8 kB / 1.019 GB, free: 6.613 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.857e-06/0.7247, allocations: 0 / 1.019 GB, free: 6.613 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.494e-06/0.7247, allocations: 3.938 kB / 1.019 GB, free: 6.609 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.844e-05/0.7247, allocations: 4.062 kB / 1.019 GB, free: 6.605 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.7248, allocations: 0 / 1.019 GB, free: 6.605 MB / 0.6667 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.405e-05/0.7249, allocations: 37.64 kB / 1.019 GB, free: 6.562 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.7249, allocations: 5.875 kB / 1.019 GB, free: 6.559 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.7249, allocations: 0 / 1.019 GB, free: 6.559 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.7249, allocations: 0 / 1.019 GB, free: 6.559 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.803e-05/0.725, allocations: 4 kB / 1.019 GB, free: 6.555 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.725, allocations: 0 / 1.019 GB, free: 6.555 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.941e-05/0.725, allocations: 7.891 kB / 1.019 GB, free: 6.547 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.725, allocations: 3.938 kB / 1.019 GB, free: 6.543 MB / 0.6667 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 7.078e-05/0.7251, allocations: 105 kB / 1.019 GB, free: 6.434 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-06/0.7251, allocations: 0 / 1.019 GB, free: 6.434 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.7252, allocations: 36.66 kB / 1.019 GB, free: 6.395 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.7253, allocations: 0 / 1.019 GB, free: 6.395 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.7253, allocations: 8 kB / 1.019 GB, free: 6.387 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.7253, allocations: 0 / 1.019 GB, free: 6.387 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.7254, allocations: 134.1 kB / 1.019 GB, free: 6.219 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.7254, allocations: 3.938 kB / 1.019 GB, free: 6.215 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.718e-05/0.7254, allocations: 0 / 1.019 GB, free: 6.215 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.7255, allocations: 8.031 kB / 1.019 GB, free: 6.207 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.7255, allocations: 0 / 1.019 GB, free: 6.207 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.7255, allocations: 0 / 1.019 GB, free: 6.207 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.7255, allocations: 0 / 1.019 GB, free: 6.207 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001025/0.7256, allocations: 57.03 kB / 1.019 GB, free: 6.133 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 4.45e-05/0.7257, allocations: 77.11 kB / 1.019 GB, free: 6.039 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.7257, allocations: 4 kB / 1.019 GB, free: 6.035 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.253e-05/0.7257, allocations: 4.031 kB / 1.019 GB, free: 6.031 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.162e-05/0.7257, allocations: 0 / 1.019 GB, free: 6.031 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.7257, allocations: 0 / 1.019 GB, free: 6.031 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.127e-05/0.7258, allocations: 75.28 kB / 1.02 GB, free: 5.957 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003733/0.7262, allocations: 43.92 kB / 1.02 GB, free: 5.914 MB / 0.6667 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.0005261/0.7267, allocations: 171.1 kB / 1.02 GB, free: 5.734 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 7.896e-05/0.7268, allocations: 4 kB / 1.02 GB, free: 5.73 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.7268, allocations: 0 / 1.02 GB, free: 5.73 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 1.053e-05/0.7268, allocations: 3.984 kB / 1.02 GB, free: 5.727 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001152/0.7269, allocations: 3.906 kB / 1.02 GB, free: 5.723 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001819/0.7271, allocations: 48.06 kB / 1.02 GB, free: 5.652 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002754/0.7274, allocations: 0.6841 MB / 1.02 GB, free: 4.941 MB / 0.6667 GB Notification: Performance of SimCode: time 1.153e-06/0.7274, allocations: 0 / 1.02 GB, free: 4.941 MB / 0.6667 GB Notification: Performance of Templates: time 0.003522/0.731, allocations: 0.6039 MB / 1.021 GB, free: 4.34 MB / 0.6667 GB