Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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 1.6.0+build.1/package.mo): time 0.4983/0.4983, allocations: 94.74 MB / 102 MB, free: 10.36 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.0009653/0.0009654, allocations: 181.1 kB / 125.3 MB, free: 11.98 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.153/1.153, allocations: 170.5 MB / 319 MB, free: 9.34 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.001535/0.001535, allocations: 113 kB / 381 MB, free: 18.14 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.604e-06/7.795e-06, allocations: 224 / 448.6 MB, free: 2.121 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1365, allocations: 61.52 MB / 0.4981 GB, free: 4.516 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3646/0.5012, allocations: 94.17 MB / 0.5901 GB, free: 8.207 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.5015, allocations: 74.27 kB / 0.5902 GB, free: 8.137 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.006212/0.5078, allocations: 1.618 MB / 0.5917 GB, free: 6.559 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.737e-06/0.5078, allocations: 4.812 kB / 0.5917 GB, free: 6.555 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.0004119/0.5082, allocations: 359.7 kB / 0.5921 GB, free: 6.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.5083, allocations: 15.97 kB / 0.5921 GB, free: 6.145 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.5084, allocations: 9.344 kB / 0.5921 GB, free: 6.145 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.5085, allocations: 171.5 kB / 0.5923 GB, free: 5.938 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.5085, allocations: 0 / 0.5923 GB, free: 5.938 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.5086, allocations: 2.438 kB / 0.5923 GB, free: 5.938 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001/0.5087, allocations: 12 kB / 0.5923 GB, free: 5.926 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.452e-05/0.5088, allocations: 42.09 kB / 0.5923 GB, free: 5.883 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.5088, allocations: 0 / 0.5923 GB, free: 5.883 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.5088, allocations: 3.828 kB / 0.5923 GB, free: 5.883 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.5088, allocations: 0 / 0.5923 GB, free: 5.883 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.5092, allocations: 245.2 kB / 0.5926 GB, free: 5.609 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.426e-05/0.5093, allocations: 22.58 kB / 0.5926 GB, free: 5.578 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.324e-05/0.5093, allocations: 12.92 kB / 0.5926 GB, free: 5.562 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001192/0.5105, allocations: 1.353 MB / 0.5939 GB, free: 3.898 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.5106, allocations: 30.56 kB / 0.5939 GB, free: 3.859 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.402e-06/0.5106, allocations: 1 kB / 0.5939 GB, free: 3.859 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003333/0.5109, allocations: 57.53 kB / 0.594 GB, free: 3.797 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.511, allocations: 63.88 kB / 0.5941 GB, free: 3.727 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.909e-05/0.5111, allocations: 101.5 kB / 0.5942 GB, free: 3.621 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.5111, allocations: 25.7 kB / 0.5942 GB, free: 3.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.653e-05/0.5111, allocations: 81.39 kB / 0.5943 GB, free: 3.508 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.5112, allocations: 3.906 kB / 0.5943 GB, free: 3.504 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.5112, allocations: 4.031 kB / 0.5943 GB, free: 3.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.5113, allocations: 322.8 kB / 0.5946 GB, free: 3.172 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.156e-05/0.5113, allocations: 4 kB / 0.5946 GB, free: 3.168 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.388e-05/0.5113, allocations: 4 kB / 0.5946 GB, free: 3.164 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.5115, allocations: 15.98 kB / 0.5946 GB, free: 3.148 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.5115, allocations: 0 / 0.5946 GB, free: 3.148 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000177/0.5117, allocations: 61.58 kB / 0.5947 GB, free: 3.082 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.5117, allocations: 4.094 kB / 0.5947 GB, free: 3.078 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.5117, allocations: 4 kB / 0.5947 GB, free: 3.074 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.5117, allocations: 0 / 0.5947 GB, free: 3.074 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.506e-05/0.5118, allocations: 11.94 kB / 0.5947 GB, free: 3.062 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.5118, allocations: 0 / 0.5947 GB, free: 3.062 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.952e-05/0.5119, allocations: 6.469 kB / 0.5947 GB, free: 3.059 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.5119, allocations: 0 / 0.5947 GB, free: 3.059 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 7.84e-05/0.512, allocations: 105 kB / 0.5948 GB, free: 2.949 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.512, allocations: 15.91 kB / 0.5948 GB, free: 2.934 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/0.5123, allocations: 61.25 kB / 0.5949 GB, free: 2.871 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-06/0.5123, allocations: 4 kB / 0.5949 GB, free: 2.867 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5123, allocations: 0 / 0.5949 GB, free: 2.867 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.5123, allocations: 0 / 0.5949 GB, free: 2.867 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.5125, allocations: 141.1 kB / 0.595 GB, free: 2.695 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.5125, allocations: 3.984 kB / 0.595 GB, free: 2.691 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.898e-05/0.5125, allocations: 10.06 kB / 0.595 GB, free: 2.684 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.5125, allocations: 4.031 kB / 0.595 GB, free: 2.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.5125, allocations: 0 / 0.595 GB, free: 2.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.5126, allocations: 0.9375 kB / 0.595 GB, free: 2.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.5126, allocations: 0 / 0.595 GB, free: 2.68 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002116/0.5128, allocations: 159.4 kB / 0.5952 GB, free: 2.508 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.302e-05/0.5128, allocations: 89 kB / 0.5953 GB, free: 2.402 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.5129, allocations: 0 / 0.5953 GB, free: 2.402 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.521e-05/0.5129, allocations: 4.031 kB / 0.5953 GB, free: 2.398 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.513, allocations: 4 kB / 0.5953 GB, free: 2.395 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.513, allocations: 1.875 kB / 0.5953 GB, free: 2.395 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.939e-05/0.5131, allocations: 91.27 kB / 0.5953 GB, free: 2.305 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002441/0.5133, allocations: 23.94 kB / 0.5954 GB, free: 2.281 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.000202/0.5135, allocations: 124 kB / 0.5955 GB, free: 2.152 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.304e-05/0.5136, allocations: 15.94 kB / 0.5955 GB, free: 2.137 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.5136, allocations: 8.062 kB / 0.5955 GB, free: 2.129 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.089e-05/0.5136, allocations: 4 kB / 0.5955 GB, free: 2.125 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.5138, allocations: 4 kB / 0.5955 GB, free: 2.121 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000282/0.5141, allocations: 61.34 kB / 0.5956 GB, free: 2.039 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002685/0.5144, allocations: 0.6919 MB / 0.5963 GB, free: 1.32 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5144, allocations: 2.625 kB / 0.5963 GB, free: 1.32 MB / 410.7 MB Notification: Performance of Templates: time 0.003172/0.5176, allocations: 0.6478 MB / 0.5969 GB, free: 0.7031 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)