Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [: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.116/2.116, allocations: 253.1 MB / 260.4 MB, free: 7.512 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.00158/0.001579, allocations: 177.3 kB / 319.6 MB, free: 3.316 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.006/2.006, 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.001294/0.001294, allocations: 94.14 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.13e-05/1.187e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1993, allocations: 106.2 MB / 0.8881 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.676/0.8753, allocations: 131.3 MB / 1.016 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004244/0.8758, allocations: 75.64 kB / 1.016 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01478/0.8906, allocations: 1.699 MB / 1.018 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.8907, allocations: 0 / 1.018 GB, free: 5.676 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004725/0.8912, allocations: 332.1 kB / 1.018 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.158e-05/0.8913, allocations: 12.03 kB / 1.018 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.204e-05/0.8913, allocations: 3.984 kB / 1.018 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.8915, allocations: 163.1 kB / 1.018 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.8916, allocations: 0 / 1.018 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.877e-05/0.8916, allocations: 7.906 kB / 1.018 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001058/0.8918, allocations: 11.25 kB / 1.018 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.8919, allocations: 37.69 kB / 1.019 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.892, allocations: 0 / 1.019 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.892, allocations: 3.938 kB / 1.019 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.892, allocations: 0 / 1.019 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000247/0.8923, allocations: 137.4 kB / 1.019 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.8924, allocations: 41.86 kB / 1.019 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.07e-05/0.8925, allocations: 16.55 kB / 1.019 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001689/0.8927, allocations: 81.11 kB / 1.019 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/0.8928, allocations: 30.56 kB / 1.019 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 3.156e-06/0.8928, allocations: 0 / 1.019 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.002296/0.8951, allocations: 446.9 kB / 1.019 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.8952, allocations: 51.41 kB / 1.019 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.985e-05/0.8953, allocations: 89 kB / 1.019 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.8954, allocations: 25.7 kB / 1.019 GB, free: 4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.479e-05/0.8954, allocations: 80.14 kB / 1.019 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.738e-05/0.8955, allocations: 23.16 kB / 1.019 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.363e-06/0.8955, allocations: 0 / 1.019 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.8957, allocations: 326.4 kB / 1.02 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.612e-05/0.8958, allocations: 11.94 kB / 1.02 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.044e-05/0.8959, allocations: 7.438 kB / 1.02 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.896, allocations: 13.69 kB / 1.02 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.896, allocations: 3.984 kB / 1.02 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002816/0.8963, allocations: 63.81 kB / 1.02 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.8964, allocations: 4 kB / 1.02 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.8964, allocations: 4 kB / 1.02 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.8964, allocations: 3.938 kB / 1.02 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.8967, allocations: 12 kB / 1.02 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.8967, allocations: 7.906 kB / 1.02 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.864e-05/0.8968, allocations: 0 / 1.02 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.8968, allocations: 0 / 1.02 GB, free: 3.453 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 (8): * Single equations (assignments): 8 * 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.0001214/0.8969, allocations: 109 kB / 1.02 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.897, allocations: 0 / 1.02 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004257/0.8974, allocations: 89.16 kB / 1.02 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.8975, allocations: 0 / 1.02 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-06/0.8975, allocations: 4 kB / 1.02 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.8975, allocations: 0 / 1.02 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.8978, allocations: 141.8 kB / 1.02 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/0.8978, allocations: 4 kB / 1.02 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002354/0.898, allocations: 15.98 kB / 1.02 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.415e-06/0.8981, allocations: 0 / 1.02 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.8981, allocations: 0 / 1.02 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.598e-06/0.8981, allocations: 3.906 kB / 1.02 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.8981, allocations: 80 / 1.02 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004758/0.8986, allocations: 117.8 kB / 1.02 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.806e-05/0.8987, allocations: 85.02 kB / 1.02 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.8988, allocations: 0 / 1.02 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.8989, allocations: 0 / 1.02 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.8989, allocations: 4 kB / 1.02 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.899, allocations: 3.984 kB / 1.02 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.492e-05/0.899, allocations: 75.28 kB / 1.021 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006105/0.8997, allocations: 43.69 kB / 1.021 GB, free: 2.715 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0004531/0.9002, allocations: 143.4 kB / 1.021 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002219/0.9004, allocations: 34.31 kB / 1.021 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.9004, allocations: 0 / 1.021 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.488e-05/0.9005, allocations: 23.42 kB / 1.021 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.9007, allocations: 7.906 kB / 1.021 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005166/0.9013, allocations: 95.92 kB / 1.021 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005516/0.9019, allocations: 0.6958 MB / 1.022 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of SimCode: time 2.475e-06/0.9019, allocations: 0 / 1.022 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of Templates: time 0.006207/0.9081, allocations: 0.8738 MB / 1.022 GB, free: 0.8242 MB / 0.6355 GB