Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothExponential") [: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.106/2.106, allocations: 253.1 MB / 260.4 MB, free: 7.555 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.001641/0.001641, allocations: 189.2 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 1.884/1.884, allocations: 205.4 MB / 0.5704 GB, free: 15.14 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.001306/0.001305, allocations: 94.33 kB / 0.6746 GB, free: 4.488 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.523e-05/1.539e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2065, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.672/0.8786, allocations: 131.8 MB / 1.017 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.8789, allocations: 71.52 kB / 1.017 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.005887/0.8848, allocations: 1.041 MB / 1.018 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.8849, allocations: 0 / 1.018 GB, free: 5.75 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.0004775/0.8854, allocations: 353 kB / 1.018 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.8854, allocations: 8.031 kB / 1.018 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.8855, allocations: 7.812 kB / 1.018 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.8856, allocations: 171.7 kB / 1.018 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.8857, allocations: 0.8438 kB / 1.018 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.8857, allocations: 4 kB / 1.018 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.373e-05/0.8858, allocations: 7 kB / 1.018 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.168e-05/0.8859, allocations: 37.64 kB / 1.018 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.8859, allocations: 0 / 1.018 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.8859, allocations: 4 kB / 1.018 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.8859, allocations: 0.625 kB / 1.018 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005292/0.8865, allocations: 252.1 kB / 1.019 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.901e-05/0.8865, allocations: 25.7 kB / 1.019 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.473e-05/0.8866, allocations: 12.48 kB / 1.019 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/0.8867, allocations: 85.16 kB / 1.019 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.8868, allocations: 34.5 kB / 1.019 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.8868, allocations: 4 kB / 1.019 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002218/0.887, allocations: 45.3 kB / 1.019 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.887, allocations: 51.41 kB / 1.019 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.414e-05/0.8871, allocations: 96.88 kB / 1.019 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.8872, allocations: 25.7 kB / 1.019 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.202e-05/0.8872, allocations: 84.12 kB / 1.019 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.8873, allocations: 7.906 kB / 1.019 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.8873, allocations: 0 / 1.019 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.8875, allocations: 314.9 kB / 1.019 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.616e-05/0.8875, allocations: 7.438 kB / 1.019 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.034e-05/0.8875, allocations: 3.375 kB / 1.019 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.955e-05/0.8876, allocations: 4 kB / 1.019 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.8876, allocations: 0 / 1.019 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001333/0.8877, allocations: 49.06 kB / 1.019 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.8878, allocations: 4 kB / 1.019 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.8878, allocations: 0 / 1.019 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.8878, allocations: 3.906 kB / 1.019 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.888, allocations: 20.08 kB / 1.019 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.888, allocations: 3.938 kB / 1.019 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.864e-05/0.8881, allocations: 8 kB / 1.019 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.8881, allocations: 0 / 1.019 GB, free: 3.879 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 (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 8.754e-05/0.8882, allocations: 109 kB / 1.02 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/0.8883, allocations: 3.906 kB / 1.02 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001719/0.8885, allocations: 56.27 kB / 1.02 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.8885, allocations: 0 / 1.02 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.8885, allocations: 0 / 1.02 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.8885, allocations: 0 / 1.02 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.8887, allocations: 137.1 kB / 1.02 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.8887, allocations: 3.938 kB / 1.02 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.8888, allocations: 20.02 kB / 1.02 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.8888, allocations: 3.906 kB / 1.02 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.8889, allocations: 0 / 1.02 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.8889, allocations: 0 / 1.02 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.8889, allocations: 0 / 1.02 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001681/0.8891, allocations: 141.3 kB / 1.02 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.047e-05/0.8891, allocations: 81.02 kB / 1.02 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.8892, allocations: 4.031 kB / 1.02 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.8893, allocations: 11.98 kB / 1.02 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.8894, allocations: 0 / 1.02 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/0.8894, allocations: 7.938 kB / 1.02 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.152e-05/0.8894, allocations: 79.53 kB / 1.02 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00033/0.8898, allocations: 18.62 kB / 1.02 GB, free: 3.156 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 (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.0002038/0.89, allocations: 111.2 kB / 1.02 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.97e-05/0.8901, allocations: 14.5 kB / 1.02 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8901, allocations: 0 / 1.02 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.441e-05/0.8902, allocations: 6.938 kB / 1.02 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.8905, allocations: 8.094 kB / 1.02 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002559/0.8907, allocations: 62.7 kB / 1.02 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003277/0.8911, allocations: 0.6992 MB / 1.021 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of SimCode: time 1.072e-06/0.8911, allocations: 0 / 1.021 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of Templates: time 0.003236/0.8943, allocations: 0.533 MB / 1.021 GB, free: 1.684 MB / 0.6355 GB