Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5032/0.5032, allocations: 94.73 MB / 102 MB, free: 10.38 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001096/0.001096, allocations: 177.9 kB / 125.3 MB, free: 12 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.108/1.108, allocations: 170.5 MB / 319 MB, free: 9.344 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001618/0.001618, allocations: 102.7 kB / 381 MB, free: 18.18 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.674e-06/7.694e-06, allocations: 0 / 448.6 MB, free: 2.113 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1527, allocations: 61.51 MB / 0.4981 GB, free: 4.508 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3785/0.5313, allocations: 92.98 MB / 0.5889 GB, free: 9.395 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.5316, allocations: 74.52 kB / 0.589 GB, free: 9.324 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.003816/0.5354, allocations: 1.002 MB / 0.59 GB, free: 8.363 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.5355, allocations: 0 / 0.59 GB, free: 8.363 MB / 410.7 MB 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.0003667/0.5358, allocations: 345.4 kB / 0.5903 GB, free: 7.984 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.5359, allocations: 8.781 kB / 0.5903 GB, free: 7.977 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.5359, allocations: 6.484 kB / 0.5903 GB, free: 7.973 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.5361, allocations: 168.4 kB / 0.5905 GB, free: 7.773 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.5361, allocations: 0 / 0.5905 GB, free: 7.773 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.5361, allocations: 10.11 kB / 0.5905 GB, free: 7.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.211e-05/0.5362, allocations: 12 kB / 0.5905 GB, free: 7.758 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.462e-05/0.5363, allocations: 37.69 kB / 0.5905 GB, free: 7.715 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.5363, allocations: 0 / 0.5905 GB, free: 7.715 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.5363, allocations: 3.906 kB / 0.5905 GB, free: 7.711 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.5363, allocations: 0 / 0.5905 GB, free: 7.711 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004099/0.5367, allocations: 251.9 kB / 0.5908 GB, free: 7.434 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.674e-05/0.5368, allocations: 27.17 kB / 0.5908 GB, free: 7.398 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.571e-05/0.5369, allocations: 8.922 kB / 0.5908 GB, free: 7.387 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.671e-05/0.537, allocations: 86.3 kB / 0.5909 GB, free: 7.285 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.537, allocations: 35.47 kB / 0.5909 GB, free: 7.242 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 2.054e-06/0.537, allocations: 0.8906 kB / 0.5909 GB, free: 7.242 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001994/0.5372, allocations: 38.39 kB / 0.591 GB, free: 7.199 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.5373, allocations: 52.16 kB / 0.591 GB, free: 7.137 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.571e-05/0.5373, allocations: 101 kB / 0.5911 GB, free: 7.031 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.5374, allocations: 26.2 kB / 0.5911 GB, free: 7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.921e-05/0.5374, allocations: 81.14 kB / 0.5912 GB, free: 6.918 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.5374, allocations: 11.38 kB / 0.5912 GB, free: 6.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.5374, allocations: 0.75 kB / 0.5912 GB, free: 6.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.5376, allocations: 314.8 kB / 0.5915 GB, free: 6.594 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.334e-05/0.5376, allocations: 4.031 kB / 0.5915 GB, free: 6.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.457e-05/0.5376, allocations: 8 kB / 0.5915 GB, free: 6.582 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.781e-05/0.5376, allocations: 11.92 kB / 0.5915 GB, free: 6.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.5376, allocations: 0 / 0.5915 GB, free: 6.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.466e-05/0.5377, allocations: 45.61 kB / 0.5916 GB, free: 6.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.5378, allocations: 4 kB / 0.5916 GB, free: 6.516 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.5378, allocations: 2.516 kB / 0.5916 GB, free: 6.516 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.5378, allocations: 0 / 0.5916 GB, free: 6.516 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.54e-05/0.5379, allocations: 16.08 kB / 0.5916 GB, free: 6.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.5379, allocations: 0 / 0.5916 GB, free: 6.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.447e-05/0.538, allocations: 11.98 kB / 0.5916 GB, free: 6.488 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.538, allocations: 2.25 kB / 0.5916 GB, free: 6.488 MB / 410.7 MB 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 6.974e-05/0.538, allocations: 108.9 kB / 0.5917 GB, free: 6.375 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.381e-05/0.5381, allocations: 4 kB / 0.5917 GB, free: 6.371 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.5382, allocations: 56.89 kB / 0.5918 GB, free: 6.312 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.5382, allocations: 6.016 kB / 0.5918 GB, free: 6.309 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.5382, allocations: 0 / 0.5918 GB, free: 6.309 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.5382, allocations: 0 / 0.5918 GB, free: 6.309 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.5384, allocations: 134.1 kB / 0.5919 GB, free: 6.141 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.5384, allocations: 0 / 0.5919 GB, free: 6.141 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.297e-05/0.5385, allocations: 20.02 kB / 0.5919 GB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.5385, allocations: 0 / 0.5919 GB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.5385, allocations: 4 kB / 0.5919 GB, free: 6.117 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.5385, allocations: 0 / 0.5919 GB, free: 6.117 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5385, allocations: 0 / 0.5919 GB, free: 6.117 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001259/0.5386, allocations: 141.9 kB / 0.5921 GB, free: 5.965 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.23e-05/0.5387, allocations: 77.11 kB / 0.5922 GB, free: 5.871 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.5387, allocations: 4.031 kB / 0.5922 GB, free: 5.867 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.05e-05/0.5388, allocations: 11.98 kB / 0.5922 GB, free: 5.855 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.5388, allocations: 9.156 kB / 0.5922 GB, free: 5.848 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.5388, allocations: 0 / 0.5922 GB, free: 5.848 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.5e-05/0.5389, allocations: 91.2 kB / 0.5923 GB, free: 5.758 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002345/0.5391, allocations: 19.94 kB / 0.5923 GB, free: 5.738 MB / 410.7 MB 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.0001492/0.5393, allocations: 107.2 kB / 0.5924 GB, free: 5.625 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.561e-05/0.5393, allocations: 13.03 kB / 0.5924 GB, free: 5.613 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.5394, allocations: 4 kB / 0.5924 GB, free: 5.609 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.899e-05/0.5394, allocations: 4 kB / 0.5924 GB, free: 5.605 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.5395, allocations: 10.91 kB / 0.5924 GB, free: 5.598 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002103/0.5398, allocations: 57.42 kB / 0.5925 GB, free: 5.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002814/0.5401, allocations: 0.688 MB / 0.5931 GB, free: 4.805 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5401, allocations: 4.125 kB / 0.5931 GB, free: 4.801 MB / 410.7 MB Notification: Performance of Templates: time 0.002375/0.5424, allocations: 0.5323 MB / 0.5937 GB, free: 4.305 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)