Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.453/1.453, allocations: 289.8 MB / 297.1 MB, free: 6.625 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.0009251/0.0009251, allocations: 172.1 kB / 366.3 MB, free: 1.957 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.286/1.286, allocations: 205.1 MB / 0.6256 GB, free: 5.789 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.000937/0.0009373, allocations: 96.14 kB / 0.7396 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.733e-06/6.763e-06, allocations: 0 / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6478/0.6478, allocations: 116.3 MB / 0.9726 GB, free: 68.35 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1776/0.8255, allocations: 138.9 MB / 1.108 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.8258, allocations: 71.95 kB / 1.108 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.004026/0.8299, allocations: 1.075 MB / 1.109 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.8299, allocations: 0 / 1.109 GB, free: 8.359 MB / 0.7136 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.0003254/0.8302, allocations: 348.2 kB / 1.11 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.8303, allocations: 8.031 kB / 1.11 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.8303, allocations: 3.906 kB / 1.11 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.8305, allocations: 175 kB / 1.11 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.8305, allocations: 0 / 1.11 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.8305, allocations: 4 kB / 1.11 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.775e-05/0.8306, allocations: 8 kB / 1.11 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.008e-05/0.8306, allocations: 37.69 kB / 1.11 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.8307, allocations: 3.938 kB / 1.11 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.8307, allocations: 4 kB / 1.11 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.8307, allocations: 0 / 1.11 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/0.831, allocations: 229.4 kB / 1.11 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.95e-05/0.8311, allocations: 30.61 kB / 1.11 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.472e-05/0.8311, allocations: 8.922 kB / 1.11 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006642/0.8318, allocations: 477.5 kB / 1.111 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.8318, allocations: 30.56 kB / 1.111 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.8318, allocations: 0 / 1.111 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0003499/0.8322, allocations: 97.48 kB / 1.111 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.8322, allocations: 51.41 kB / 1.111 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.648e-05/0.8323, allocations: 97.84 kB / 1.111 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.8323, allocations: 25.7 kB / 1.111 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.699e-05/0.8324, allocations: 80.14 kB / 1.111 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.8324, allocations: 11.83 kB / 1.111 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.8324, allocations: 4.031 kB / 1.111 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.8325, allocations: 318.8 kB / 1.111 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.805e-05/0.8326, allocations: 4 kB / 1.111 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.287e-05/0.8326, allocations: 4 kB / 1.111 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.8328, allocations: 48.02 kB / 1.111 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8328, allocations: 1.688 kB / 1.111 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002368/0.833, allocations: 85.55 kB / 1.111 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.8331, allocations: 11.97 kB / 1.111 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.8331, allocations: 0 / 1.111 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.8331, allocations: 0 / 1.111 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.015e-05/0.8332, allocations: 23.92 kB / 1.111 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.8332, allocations: 3.125 kB / 1.111 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.632e-05/0.8332, allocations: 4 kB / 1.111 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.8332, allocations: 0 / 1.111 GB, free: 5.883 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 7.892e-05/0.8333, allocations: 101 kB / 1.112 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.8334, allocations: 11.91 kB / 1.112 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000289/0.8337, allocations: 85.27 kB / 1.112 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.8337, allocations: 0 / 1.112 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.8337, allocations: 12.02 kB / 1.112 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.8337, allocations: 0 / 1.112 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.8338, allocations: 138.1 kB / 1.112 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.8338, allocations: 0 / 1.112 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.864e-05/0.8339, allocations: 11.98 kB / 1.112 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.8339, allocations: 0.8438 kB / 1.112 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.8339, allocations: 0 / 1.112 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.8339, allocations: 0 / 1.112 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.8339, allocations: 3.938 kB / 1.112 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002985/0.8342, allocations: 183.4 kB / 1.112 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.333e-05/0.8343, allocations: 81.02 kB / 1.112 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.8343, allocations: 0 / 1.112 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.666e-05/0.8344, allocations: 8.031 kB / 1.112 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.8344, allocations: 3.984 kB / 1.112 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.8344, allocations: 8.641 kB / 1.112 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.345e-05/0.8345, allocations: 83.28 kB / 1.112 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002392/0.8347, allocations: 19.94 kB / 1.112 GB, free: 5.055 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.0001762/0.8349, allocations: 123.2 kB / 1.112 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.879e-05/0.835, allocations: 19.94 kB / 1.112 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.835, allocations: 0 / 1.112 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.082e-05/0.835, allocations: 8 kB / 1.112 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.8352, allocations: 1.031 kB / 1.112 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002517/0.8354, allocations: 72.48 kB / 1.112 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/0.8357, allocations: 0.6919 MB / 1.113 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.8357, allocations: 0 / 1.113 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of Templates: time 0.002592/0.8383, allocations: 0.6566 MB / 1.114 GB, free: 3.457 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)