Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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 8.0.1-maint.8.0.x/package.mo): time 1.335/1.335, allocations: 285.5 MB / 292.8 MB, free: 10.45 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 185.2 kB / 361.1 MB, free: 7.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.061/1.061, allocations: 205.1 MB / 0.6195 GB, free: 10.33 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007799/0.0007798, allocations: 86.22 kB / 0.7325 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.767e-06/8.787e-06, allocations: 4 kB / 0.8511 GB, free: 2.996 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4197, allocations: 115.3 MB / 0.9637 GB, free: 78.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1422/0.562, allocations: 137.2 MB / 1.098 GB, free: 2.801 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000183/0.5622, allocations: 73.17 kB / 1.098 GB, free: 2.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.00355/0.5658, allocations: 1.038 MB / 1.099 GB, free: 1.734 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.5658, allocations: 0 / 1.099 GB, free: 1.734 MB / 0.698 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.0003135/0.5661, allocations: 345.1 kB / 1.099 GB, free: 1.355 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.5662, allocations: 8.031 kB / 1.099 GB, free: 1.348 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.972e-05/0.5662, allocations: 11.38 kB / 1.099 GB, free: 1.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.5664, allocations: 168.5 kB / 1.099 GB, free: 1.137 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.5664, allocations: 3.938 kB / 1.099 GB, free: 1.133 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.5664, allocations: 0 / 1.099 GB, free: 1.133 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.068e-05/0.5665, allocations: 12.8 kB / 1.099 GB, free: 1.121 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.511e-05/0.5665, allocations: 41.59 kB / 1.099 GB, free: 1.074 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.5665, allocations: 0 / 1.099 GB, free: 1.074 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.5666, allocations: 0 / 1.099 GB, free: 1.074 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.5666, allocations: 4 kB / 1.099 GB, free: 1.07 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003635/0.5669, allocations: 241.9 kB / 1.1 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.171e-05/0.567, allocations: 31.23 kB / 1.1 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.419e-05/0.567, allocations: 9.453 kB / 1.1 GB, free: 0.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.028e-05/0.5671, allocations: 86.94 kB / 1.1 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.5672, allocations: 35.28 kB / 1.1 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.5672, allocations: 0 / 1.1 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001628/0.5673, allocations: 34.81 kB / 1.1 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.5674, allocations: 60.19 kB / 1.1 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.616e-05/0.5674, allocations: 95.8 kB / 1.1 GB, free: 408 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.5675, allocations: 25.7 kB / 1.1 GB, free: 376 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.074e-05/0.5675, allocations: 85.23 kB / 1.1 GB, free: 288 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/0.5675, allocations: 3.906 kB / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.5675, allocations: 0.5625 kB / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.788e-05/0.5676, allocations: 315.3 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.625e-05/0.5676, allocations: 4.812 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.272e-05/0.5677, allocations: 9.625 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.521e-05/0.5677, allocations: 16.42 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5677, allocations: 1.219 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.339e-05/0.5678, allocations: 41.7 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.5678, allocations: 4.5 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.5678, allocations: 0 / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.5679, allocations: 0.625 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.363e-05/0.568, allocations: 17.33 kB / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.568, allocations: 0.5938 kB / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.902e-05/0.568, allocations: 12.11 kB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.5681, allocations: 4 kB / 1.1 GB, free: 15.85 MB / 0.7136 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.105e-05/0.5681, allocations: 108.9 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.5682, allocations: 0 / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/0.5683, allocations: 53.5 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.5683, allocations: 0 / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5683, allocations: 7.938 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.5683, allocations: 0 / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.5685, allocations: 134.2 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.5685, allocations: 3.75 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.194e-05/0.5685, allocations: 17.61 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.5686, allocations: 0.7969 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.5686, allocations: 0 / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.5686, allocations: 0 / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5686, allocations: 0 / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001185/0.5687, allocations: 145.9 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.068e-05/0.5687, allocations: 77.11 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.5688, allocations: 3.906 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.749e-05/0.5689, allocations: 11.98 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-05/0.5689, allocations: 4.031 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.5689, allocations: 3.938 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.23e-05/0.5689, allocations: 84.66 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002076/0.5692, allocations: 19.92 kB / 1.101 GB, free: 15.11 MB / 0.7136 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.0001363/0.5693, allocations: 111 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.315e-05/0.5694, allocations: 12 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5694, allocations: 0 / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.085e-05/0.5694, allocations: 8 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.5695, allocations: 12.06 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001747/0.5697, allocations: 60.67 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/0.57, allocations: 0.6919 MB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.57, allocations: 0 / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of Templates: time 0.002113/0.5721, allocations: 0.5365 MB / 1.102 GB, free: 13.67 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)