Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [: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.214/2.214, allocations: 253.1 MB / 260.4 MB, free: 7.582 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.001543/0.001543, allocations: 185.2 kB / 319.6 MB, free: 3.293 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.909/1.909, allocations: 205.4 MB / 0.5704 GB, free: 14.96 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.001251/0.001251, allocations: 95.31 kB / 0.6746 GB, free: 4.312 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.171e-05/1.199e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2015, allocations: 106.3 MB / 0.8881 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6406/0.8421, allocations: 131.6 MB / 1.017 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.8424, allocations: 77.58 kB / 1.017 GB, free: 6.641 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003075/0.8455, allocations: 0.5157 MB / 1.017 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.8456, allocations: 0 / 1.017 GB, free: 6.23 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.0002438/0.8458, allocations: 322.5 kB / 1.017 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.8459, allocations: 8.031 kB / 1.017 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.8459, allocations: 10.28 kB / 1.017 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.846, allocations: 160.1 kB / 1.018 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.8461, allocations: 0 / 1.018 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.8461, allocations: 0 / 1.018 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.708e-05/0.8462, allocations: 11.92 kB / 1.018 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.942e-05/0.8463, allocations: 37.62 kB / 1.018 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.8463, allocations: 3.906 kB / 1.018 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.996e-06/0.8463, allocations: 7.828 kB / 1.018 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.8463, allocations: 0 / 1.018 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/0.8465, allocations: 130.3 kB / 1.018 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.8467, allocations: 25.59 kB / 1.018 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.377e-05/0.8467, allocations: 4.859 kB / 1.018 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001842/0.8469, allocations: 89.12 kB / 1.018 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.8469, allocations: 30.56 kB / 1.018 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.572e-06/0.847, allocations: 11.94 kB / 1.018 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.004905/0.8519, allocations: 359.7 kB / 1.018 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.8519, allocations: 51.41 kB / 1.018 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.144e-05/0.852, allocations: 85 kB / 1.018 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.852, allocations: 25.7 kB / 1.018 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.632e-05/0.8521, allocations: 87.95 kB / 1.019 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.824e-05/0.8521, allocations: 15.8 kB / 1.019 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.69e-05/0.8522, allocations: 0 / 1.019 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.8523, allocations: 314.8 kB / 1.019 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.425e-05/0.8524, allocations: 10.81 kB / 1.019 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.604e-05/0.8525, allocations: 26.39 kB / 1.019 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.8527, allocations: 23.97 kB / 1.019 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.8527, allocations: 0 / 1.019 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003222/0.853, allocations: 65.36 kB / 1.019 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.853, allocations: 7.984 kB / 1.019 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.8531, allocations: 0 / 1.019 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.8531, allocations: 4 kB / 1.019 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007817/0.8539, allocations: 48.06 kB / 1.019 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.8539, allocations: 0 / 1.019 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000694/0.8546, allocations: 40.73 kB / 1.019 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.8546, allocations: 4 kB / 1.019 GB, free: 4.066 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 0.0001062/0.8548, allocations: 104.9 kB / 1.019 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.8548, allocations: 3.984 kB / 1.019 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006497/0.8554, allocations: 104.2 kB / 1.019 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.8555, allocations: 0.75 kB / 1.019 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.8555, allocations: 3.984 kB / 1.019 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.8555, allocations: 0 / 1.019 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005986/0.8561, allocations: 285.1 kB / 1.02 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.8561, allocations: 2.688 kB / 1.02 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007802/0.8569, allocations: 59.91 kB / 1.02 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.8569, allocations: 0 / 1.02 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.857, allocations: 7.906 kB / 1.02 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.857, allocations: 3.984 kB / 1.02 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.857, allocations: 0 / 1.02 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003603/0.8574, allocations: 154.9 kB / 1.02 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.8574, allocations: 81.02 kB / 1.02 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.8575, allocations: 0 / 1.02 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007305/0.8582, allocations: 43.97 kB / 1.02 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.399e-05/0.8582, allocations: 0 / 1.02 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/0.8583, allocations: 4.281 kB / 1.02 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.776e-05/0.8583, allocations: 79.22 kB / 1.02 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003585/0.8587, allocations: 15.94 kB / 1.02 GB, free: 3.066 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 (5): * Single equations (assignments): 5 * 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.0002069/0.8589, allocations: 103.2 kB / 1.02 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002026/0.8591, allocations: 27.38 kB / 1.02 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.8592, allocations: 2.438 kB / 1.02 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.036e-05/0.8592, allocations: 18.86 kB / 1.02 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001655/0.8594, allocations: 0 / 1.02 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.8605, allocations: 108 kB / 1.02 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004654/0.861, allocations: 0.6957 MB / 1.021 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of SimCode: time 9.52e-07/0.861, allocations: 4 kB / 1.021 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of Templates: time 0.004714/0.8657, allocations: 1.324 MB / 1.022 GB, free: 0.75 MB / 0.6355 GB