Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothLimit") [: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.189/2.189, allocations: 253.1 MB / 260.4 MB, free: 11.45 MB / 210.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00153/0.001529, allocations: 183.5 kB / 319.6 MB, free: 2.082 MB / 242.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.036/2.036, allocations: 205.4 MB / 0.5704 GB, free: 8.059 MB / 434.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001777/0.001777, allocations: 97.75 kB / 0.6746 GB, free: 21.51 MB / 466.8 MB Notification: Performance of FrontEnd - loaded program: time 1.01e-05/1.024e-05, allocations: 0 / 0.7843 GB, free: 5.121 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5458/0.5459, allocations: 106.2 MB / 0.888 GB, free: 64.83 MB / 0.5965 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2649/0.8108, allocations: 131.5 MB / 1.016 GB, free: 8.469 MB / 0.659 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/0.8112, allocations: 75.94 kB / 1.017 GB, free: 8.395 MB / 0.659 GB Notification: Performance of FrontEnd: time 0.006606/0.8178, allocations: 1.075 MB / 1.018 GB, free: 7.32 MB / 0.659 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.8179, allocations: 0 / 1.018 GB, free: 7.32 MB / 0.659 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.0004108/0.8184, allocations: 346.3 kB / 1.018 GB, free: 6.938 MB / 0.659 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.8184, allocations: 8.031 kB / 1.018 GB, free: 6.93 MB / 0.659 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/0.8185, allocations: 0 / 1.018 GB, free: 6.93 MB / 0.659 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.8186, allocations: 171 kB / 1.018 GB, free: 6.723 MB / 0.659 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.8186, allocations: 0 / 1.018 GB, free: 6.723 MB / 0.659 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.8187, allocations: 11.28 kB / 1.018 GB, free: 6.715 MB / 0.659 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.897e-05/0.8188, allocations: 11.94 kB / 1.018 GB, free: 6.703 MB / 0.659 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.154e-05/0.8189, allocations: 33.69 kB / 1.018 GB, free: 6.664 MB / 0.659 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.8189, allocations: 0 / 1.018 GB, free: 6.664 MB / 0.659 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.8189, allocations: 11.91 kB / 1.018 GB, free: 6.652 MB / 0.659 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.8189, allocations: 0 / 1.018 GB, free: 6.652 MB / 0.659 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.8193, allocations: 225.5 kB / 1.018 GB, free: 6.395 MB / 0.659 GB Notification: Performance of preOpt comSubExp (simulation): time 6.752e-05/0.8194, allocations: 26.58 kB / 1.018 GB, free: 6.359 MB / 0.659 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.032e-05/0.8194, allocations: 16.91 kB / 1.018 GB, free: 6.34 MB / 0.659 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/0.8205, allocations: 473.4 kB / 1.019 GB, free: 5.785 MB / 0.659 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.8206, allocations: 46.41 kB / 1.019 GB, free: 5.73 MB / 0.659 GB Notification: Performance of pre-optimization done (n=2): time 2.043e-06/0.8206, allocations: 0 / 1.019 GB, free: 5.73 MB / 0.659 GB Notification: Performance of matching and sorting (n=2): time 0.0005123/0.8211, allocations: 77.66 kB / 1.019 GB, free: 5.648 MB / 0.659 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.8212, allocations: 55.39 kB / 1.019 GB, free: 5.582 MB / 0.659 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.551e-05/0.8213, allocations: 105 kB / 1.019 GB, free: 5.473 MB / 0.659 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.8213, allocations: 25.7 kB / 1.019 GB, free: 5.441 MB / 0.659 GB Notification: Performance of collectInitialEqns (initialization): time 4.66e-05/0.8214, allocations: 84.14 kB / 1.019 GB, free: 5.355 MB / 0.659 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.8214, allocations: 7.844 kB / 1.019 GB, free: 5.348 MB / 0.659 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/0.8214, allocations: 0 / 1.019 GB, free: 5.348 MB / 0.659 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.8216, allocations: 318.8 kB / 1.02 GB, free: 5.027 MB / 0.659 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.821e-05/0.8216, allocations: 8 kB / 1.02 GB, free: 5.02 MB / 0.659 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.171e-05/0.8216, allocations: 0 / 1.02 GB, free: 5.02 MB / 0.659 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.822, allocations: 52.02 kB / 1.02 GB, free: 4.969 MB / 0.659 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.822, allocations: 3.906 kB / 1.02 GB, free: 4.965 MB / 0.659 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004027/0.8224, allocations: 89.58 kB / 1.02 GB, free: 4.871 MB / 0.659 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.8224, allocations: 4 kB / 1.02 GB, free: 4.867 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.8225, allocations: 0 / 1.02 GB, free: 4.867 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.8225, allocations: 0 / 1.02 GB, free: 4.867 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.8226, allocations: 8 kB / 1.02 GB, free: 4.859 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.8226, allocations: 4.016 kB / 1.02 GB, free: 4.855 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.081e-05/0.8227, allocations: 15.84 kB / 1.02 GB, free: 4.84 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.8227, allocations: 0 / 1.02 GB, free: 4.84 MB / 0.659 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.535e-05/0.8228, allocations: 101 kB / 1.02 GB, free: 4.734 MB / 0.659 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.8228, allocations: 4 kB / 1.02 GB, free: 4.73 MB / 0.659 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004617/0.8233, allocations: 101.1 kB / 1.02 GB, free: 4.625 MB / 0.659 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.8233, allocations: 0 / 1.02 GB, free: 4.625 MB / 0.659 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/0.8233, allocations: 4 kB / 1.02 GB, free: 4.621 MB / 0.659 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.8234, allocations: 3.938 kB / 1.02 GB, free: 4.617 MB / 0.659 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.8235, allocations: 138.2 kB / 1.02 GB, free: 4.445 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.8236, allocations: 0 / 1.02 GB, free: 4.445 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.528e-05/0.8236, allocations: 8.031 kB / 1.02 GB, free: 4.438 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.8237, allocations: 4 kB / 1.02 GB, free: 4.434 MB / 0.659 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.8237, allocations: 3.984 kB / 1.02 GB, free: 4.43 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.8237, allocations: 0 / 1.02 GB, free: 4.43 MB / 0.659 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.8237, allocations: 3.906 kB / 1.02 GB, free: 4.426 MB / 0.659 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000434/0.8241, allocations: 179.5 kB / 1.02 GB, free: 4.234 MB / 0.659 GB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/0.8242, allocations: 85 kB / 1.02 GB, free: 4.133 MB / 0.659 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.8242, allocations: 0 / 1.02 GB, free: 4.133 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.8244, allocations: 8 kB / 1.02 GB, free: 4.125 MB / 0.659 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.8244, allocations: 0 / 1.02 GB, free: 4.125 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.8244, allocations: 4 kB / 1.02 GB, free: 4.121 MB / 0.659 GB Notification: Performance of sort global known variables: time 5.935e-05/0.8245, allocations: 95.23 kB / 1.02 GB, free: 4.027 MB / 0.659 GB Notification: Performance of remove unused functions: time 0.0003355/0.8248, allocations: 19.94 kB / 1.02 GB, free: 4.008 MB / 0.659 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.0002234/0.8251, allocations: 122.7 kB / 1.021 GB, free: 3.883 MB / 0.659 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.8252, allocations: 16 kB / 1.021 GB, free: 3.867 MB / 0.659 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8252, allocations: 0 / 1.021 GB, free: 3.867 MB / 0.659 GB Notification: Performance of simCode: created simulation system equations: time 3.372e-05/0.8252, allocations: 8 kB / 1.021 GB, free: 3.859 MB / 0.659 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.8254, allocations: 5.984 kB / 1.021 GB, free: 3.855 MB / 0.659 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002705/0.8257, allocations: 70.5 kB / 1.021 GB, free: 3.766 MB / 0.659 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003931/0.8261, allocations: 0.6919 MB / 1.021 GB, free: 3.047 MB / 0.659 GB Notification: Performance of SimCode: time 2.996e-06/0.8261, allocations: 3.938 kB / 1.021 GB, free: 3.043 MB / 0.659 GB Notification: Performance of Templates: time 0.003466/0.8296, allocations: 0.6593 MB / 1.022 GB, free: 2.387 MB / 0.659 GB