Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.312/2.312, allocations: 253.1 MB / 260.4 MB, free: 7.52 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.001623/0.001622, allocations: 192.5 kB / 319.6 MB, free: 3.309 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.179/2.179, allocations: 205.4 MB / 0.5704 GB, free: 15.01 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.001917/0.001916, allocations: 104.5 kB / 0.6746 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.107e-05/1.123e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1966, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6379/0.8345, allocations: 131.1 MB / 1.016 GB, free: 7.195 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/0.8349, allocations: 76.94 kB / 1.016 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.005006/0.8399, allocations: 0.9178 MB / 1.017 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.84, allocations: 0 / 1.017 GB, free: 6.41 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003111/0.8403, allocations: 326.4 kB / 1.017 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.8404, allocations: 8.031 kB / 1.017 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.155e-05/0.8404, allocations: 7.906 kB / 1.017 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.8405, allocations: 163.1 kB / 1.018 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.8406, allocations: 0.875 kB / 1.018 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.8406, allocations: 0 / 1.018 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.936e-05/0.8406, allocations: 4 kB / 1.018 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.006e-05/0.8407, allocations: 25.7 kB / 1.018 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.8407, allocations: 0 / 1.018 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.8407, allocations: 0 / 1.018 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.8408, allocations: 3.938 kB / 1.018 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.8409, allocations: 137.5 kB / 1.018 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.989e-05/0.841, allocations: 14.58 kB / 1.018 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.055e-05/0.841, allocations: 4.859 kB / 1.018 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008651/0.8419, allocations: 442.4 kB / 1.018 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.8419, allocations: 38 kB / 1.018 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.743e-06/0.8419, allocations: 0 / 1.018 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001878/0.8421, allocations: 33.69 kB / 1.018 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.8422, allocations: 51.41 kB / 1.018 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.977e-05/0.8422, allocations: 85 kB / 1.018 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.8423, allocations: 29.64 kB / 1.018 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.025e-05/0.8423, allocations: 80.14 kB / 1.018 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.8424, allocations: 7.906 kB / 1.018 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-06/0.8424, allocations: 7.969 kB / 1.018 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.8425, allocations: 313.3 kB / 1.019 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.017e-06/0.8425, allocations: 0 / 1.019 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.023e-06/0.8425, allocations: 0 / 1.019 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.781e-05/0.8426, allocations: 4 kB / 1.019 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.8426, allocations: 0 / 1.019 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001078/0.8427, allocations: 33.69 kB / 1.019 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.8427, allocations: 4 kB / 1.019 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.8428, allocations: 4.094 kB / 1.019 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.8428, allocations: 0 / 1.019 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.806e-05/0.8428, allocations: 4.75 kB / 1.019 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.8429, allocations: 0 / 1.019 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.682e-05/0.8429, allocations: 7.844 kB / 1.019 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.8429, allocations: 0 / 1.019 GB, free: 4.328 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 (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 6.797e-05/0.843, allocations: 101 kB / 1.019 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-06/0.843, allocations: 0 / 1.019 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.8431, allocations: 51.83 kB / 1.019 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.8431, allocations: 8.031 kB / 1.019 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.8432, allocations: 0 / 1.019 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.8432, allocations: 0 / 1.019 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.331e-05/0.8433, allocations: 126.2 kB / 1.019 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.8433, allocations: 0 / 1.019 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.991e-05/0.8433, allocations: 4 kB / 1.019 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.8433, allocations: 0 / 1.019 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.8433, allocations: 0 / 1.019 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.8433, allocations: 0 / 1.019 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.8434, allocations: 3.984 kB / 1.019 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001008/0.8435, allocations: 66.8 kB / 1.019 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.823e-05/0.8436, allocations: 81.11 kB / 1.019 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.8436, allocations: 0 / 1.019 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.075e-05/0.8436, allocations: 0 / 1.019 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.16e-05/0.8436, allocations: 0 / 1.019 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.8436, allocations: 3.984 kB / 1.019 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.333e-05/0.8437, allocations: 75.28 kB / 1.019 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002992/0.844, allocations: 19.94 kB / 1.019 GB, free: 3.723 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 (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.0003673/0.8444, allocations: 139.2 kB / 1.019 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.802e-05/0.8445, allocations: 6.812 kB / 1.02 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.8445, allocations: 0 / 1.02 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.909e-06/0.8445, allocations: 4 kB / 1.02 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001135/0.8446, allocations: 3.906 kB / 1.02 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001761/0.8448, allocations: 55.8 kB / 1.02 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002739/0.8451, allocations: 0.6802 MB / 1.02 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of SimCode: time 8.52e-07/0.8451, allocations: 4.125 kB / 1.02 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of Templates: time 0.002947/0.8481, allocations: 398.2 kB / 1.021 GB, free: 2.395 MB / 0.6355 GB