Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks") [: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.471/0.471, allocations: 94.74 MB / 102 MB, free: 10.35 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.001119/0.001119, allocations: 186.4 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.187/1.187, 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.001669/0.001669, allocations: 107.9 kB / 381 MB, free: 18.16 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.187e-05/1.189e-05, allocations: 4 kB / 448.6 MB, free: 2.098 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1419, allocations: 61.51 MB / 0.4981 GB, free: 4.484 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3634/0.5054, allocations: 95.23 MB / 0.5911 GB, free: 7.098 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.5057, allocations: 78.62 kB / 0.5912 GB, free: 7.023 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.01703/0.5227, allocations: 5.227 MB / 0.5963 GB, free: 1.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.5228, allocations: 4 kB / 0.5963 GB, free: 1.906 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006155/0.5234, allocations: 438.3 kB / 0.5967 GB, free: 1.438 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.5234, allocations: 12.03 kB / 0.5967 GB, free: 1.426 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.429e-05/0.5235, allocations: 11.81 kB / 0.5967 GB, free: 1.414 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.5237, allocations: 187.4 kB / 0.5969 GB, free: 1.191 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.5238, allocations: 63.41 kB / 0.597 GB, free: 1.117 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.5239, allocations: 4 kB / 0.597 GB, free: 1.113 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001326/0.524, allocations: 43.89 kB / 0.597 GB, free: 1.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.5242, allocations: 81.67 kB / 0.5971 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.5242, allocations: 3.938 kB / 0.5971 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.5242, allocations: 0 / 0.5971 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.5243, allocations: 5.562 kB / 0.5971 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008024/0.5251, allocations: 380.9 kB / 0.5975 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.5252, allocations: 54.56 kB / 0.5975 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.955e-05/0.5252, allocations: 28.92 kB / 0.5976 GB, free: 484 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001256/0.5265, allocations: 1.271 MB / 0.5988 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.047e-05/0.5266, allocations: 34.56 kB / 0.5988 GB, free: 14.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.415e-06/0.5266, allocations: 0 / 0.5988 GB, free: 14.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006131/0.5272, allocations: 85.73 kB / 0.5989 GB, free: 14.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.5273, allocations: 63.31 kB / 0.599 GB, free: 14.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.5275, allocations: 127.3 kB / 0.5991 GB, free: 14.56 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.135e-05/0.5275, allocations: 25.7 kB / 0.5991 GB, free: 14.53 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.459e-05/0.5276, allocations: 99.97 kB / 0.5992 GB, free: 14.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.5277, allocations: 15.72 kB / 0.5992 GB, free: 14.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-06/0.5278, allocations: 0 / 0.5992 GB, free: 14.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.528, allocations: 319.6 kB / 0.5995 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.67e-05/0.528, allocations: 20 kB / 0.5996 GB, free: 14.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.335e-05/0.5281, allocations: 34.58 kB / 0.5996 GB, free: 14.03 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.5283, allocations: 39.91 kB / 0.5996 GB, free: 13.99 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.5283, allocations: 0 / 0.5996 GB, free: 13.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002956/0.5287, allocations: 102.9 kB / 0.5997 GB, free: 13.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.5287, allocations: 4.938 kB / 0.5997 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.5287, allocations: 3.938 kB / 0.5997 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.5287, allocations: 2.25 kB / 0.5997 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.5289, allocations: 27.95 kB / 0.5998 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.5289, allocations: 4 kB / 0.5998 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.585e-05/0.529, allocations: 7.938 kB / 0.5998 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.529, allocations: 10.09 kB / 0.5998 GB, free: 13.83 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 0.0001/0.5291, allocations: 101 kB / 0.5999 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/0.5292, allocations: 11.81 kB / 0.5999 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000337/0.5295, allocations: 116.5 kB / 0.6 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.5295, allocations: 0 / 0.6 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.5296, allocations: 3.938 kB / 0.6 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.5296, allocations: 0 / 0.6 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.5298, allocations: 183.4 kB / 0.6002 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.5298, allocations: 0 / 0.6002 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.718e-05/0.5299, allocations: 19.98 kB / 0.6002 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.5299, allocations: 0 / 0.6002 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.5299, allocations: 7.875 kB / 0.6002 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.5299, allocations: 0 / 0.6002 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.53, allocations: 0 / 0.6002 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003413/0.5303, allocations: 196 kB / 0.6004 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.889e-05/0.5304, allocations: 93 kB / 0.6005 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.5304, allocations: 0 / 0.6005 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.5307, allocations: 27.97 kB / 0.6005 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.5307, allocations: 4 kB / 0.6005 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.5307, allocations: 7.984 kB / 0.6005 GB, free: 13 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.348e-05/0.5308, allocations: 108.5 kB / 0.6006 GB, free: 12.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002904/0.5311, allocations: 35.84 kB / 0.6007 GB, free: 12.86 MB / 426.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 (6): * Single equations (assignments): 6 * 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.0001967/0.5313, allocations: 123.2 kB / 0.6008 GB, free: 12.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001444/0.5315, allocations: 43.94 kB / 0.6008 GB, free: 12.69 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5315, allocations: 0 / 0.6008 GB, free: 12.69 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.69e-05/0.5315, allocations: 27.98 kB / 0.6008 GB, free: 12.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.5318, allocations: 4 kB / 0.6008 GB, free: 12.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000375/0.5322, allocations: 121.1 kB / 0.601 GB, free: 12.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003105/0.5325, allocations: 0.7228 MB / 0.6017 GB, free: 11.78 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/0.5325, allocations: 0 / 0.6017 GB, free: 11.78 MB / 426.7 MB Notification: Performance of Templates: time 0.004101/0.5366, allocations: 1.367 MB / 0.603 GB, free: 10.46 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)