Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit") [: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.364/1.364, allocations: 285.5 MB / 292.8 MB, free: 10.52 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.0009936/0.0009935, allocations: 177.4 kB / 361.1 MB, free: 7.121 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.083/1.083, allocations: 205.1 MB / 0.6195 GB, free: 10.39 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.000807/0.0008074, allocations: 86.66 kB / 0.7325 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.083e-06/7.103e-06, allocations: 4 kB / 0.8511 GB, free: 3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.431/0.4311, allocations: 115.3 MB / 0.9637 GB, free: 78.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1358/0.5669, allocations: 138 MB / 1.098 GB, free: 2.051 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001869/0.5671, allocations: 72.72 kB / 1.098 GB, free: 1.98 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.003743/0.5709, allocations: 1.072 MB / 1.1 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.5709, allocations: 0.5625 kB / 1.1 GB, free: 0.9453 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.0002753/0.5712, allocations: 343.9 kB / 1.1 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.5712, allocations: 8.031 kB / 1.1 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.554e-05/0.5712, allocations: 4.594 kB / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.5714, allocations: 176.8 kB / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.5714, allocations: 0 / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-06/0.5714, allocations: 0.5938 kB / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.063e-05/0.5715, allocations: 12 kB / 1.1 GB, free: 340 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.501e-05/0.5716, allocations: 42.34 kB / 1.1 GB, free: 292 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.5716, allocations: 0.5312 kB / 1.1 GB, free: 292 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.5716, allocations: 0 / 1.1 GB, free: 292 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.5716, allocations: 4.656 kB / 1.1 GB, free: 288 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002605/0.5719, allocations: 228.4 kB / 1.1 GB, free: 24 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.265e-05/0.572, allocations: 35.36 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.167e-05/0.572, allocations: 5.359 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006536/0.5726, allocations: 479.8 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.5727, allocations: 32.91 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.5727, allocations: 0 / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0003429/0.573, allocations: 91.45 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/0.5731, allocations: 55.97 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.395e-05/0.5731, allocations: 100.4 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.5732, allocations: 25.7 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.161e-05/0.5732, allocations: 81.2 kB / 1.101 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.5732, allocations: 11.83 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-06/0.5732, allocations: 0.5312 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.435e-05/0.5733, allocations: 323.2 kB / 1.101 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.514e-05/0.5733, allocations: 4.031 kB / 1.101 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.47e-05/0.5734, allocations: 8 kB / 1.101 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.5735, allocations: 43.95 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.5736, allocations: 0 / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002442/0.5738, allocations: 94.69 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.5738, allocations: 7.938 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.5738, allocations: 0 / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.5739, allocations: 3.938 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.328e-05/0.5739, allocations: 16.02 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.5739, allocations: 0 / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.348e-05/0.574, allocations: 0 / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.574, allocations: 4 kB / 1.102 GB, free: 14.49 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 5.031e-05/0.5741, allocations: 101 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.5741, allocations: 3.906 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002859/0.5744, allocations: 94.77 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.5744, allocations: 0 / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.5744, allocations: 0 / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.5744, allocations: 3.984 kB / 1.102 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.5745, allocations: 142.1 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.5745, allocations: 1.672 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.865e-05/0.5746, allocations: 11.98 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.5746, allocations: 3.938 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.5746, allocations: 4 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.5746, allocations: 1.125 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.5746, allocations: 0 / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002687/0.5749, allocations: 183.4 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.364e-05/0.5749, allocations: 81.02 kB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.575, allocations: 0 / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.771e-05/0.575, allocations: 4 kB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/0.5751, allocations: 8.031 kB / 1.102 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.5751, allocations: 3.984 kB / 1.102 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.146e-05/0.5751, allocations: 83.28 kB / 1.102 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002471/0.5754, allocations: 19.94 kB / 1.102 GB, free: 13.68 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.000148/0.5755, allocations: 123 kB / 1.102 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.151e-05/0.5756, allocations: 19.94 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5756, allocations: 0 / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.818e-05/0.5756, allocations: 4 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001277/0.5758, allocations: 12.3 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001961/0.576, allocations: 67.06 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.5762, allocations: 0.6957 MB / 1.103 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.5762, allocations: 0 / 1.103 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of Templates: time 0.002247/0.5785, allocations: 0.6604 MB / 1.104 GB, free: 12.08 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)