Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) 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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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 3.0.0/package.mo): time 0.7983/0.7983, allocations: 132.4 MB / 139.7 MB, free: 15.54 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001125/0.001125, allocations: 166 kB / 171.6 MB, free: 1.992 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.306/1.306, allocations: 170.5 MB / 373.9 MB, free: 15.81 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001724/0.001724, allocations: 112 kB / 444.4 MB, free: 9.363 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.4886/0.4886, allocations: 73.39 MB / 0.666 GB, free: 62.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1324/0.6211, allocations: 102.6 MB / 0.7662 GB, free: 1.668 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/0.6215, allocations: 75.95 kB / 0.7663 GB, free: 1.594 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01626/0.6378, allocations: 4.626 MB / 0.7708 GB, free: 13.04 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.6378, allocations: 8 kB / 0.7708 GB, free: 13.03 MB / 490.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.0005858/0.6384, allocations: 421.2 kB / 0.7712 GB, free: 12.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.6385, allocations: 12.03 kB / 0.7712 GB, free: 12.56 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008/0.6393, allocations: 131.7 kB / 0.7713 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.6395, allocations: 187.3 kB / 0.7715 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.6396, allocations: 67.41 kB / 0.7716 GB, free: 12.13 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.6396, allocations: 4 kB / 0.7716 GB, free: 12.12 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001908/0.6398, allocations: 75.92 kB / 0.7716 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.6401, allocations: 107.4 kB / 0.7718 GB, free: 11.94 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.6401, allocations: 0 / 0.7718 GB, free: 11.94 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.6401, allocations: 4 kB / 0.7718 GB, free: 11.94 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.6401, allocations: 1.562 kB / 0.7718 GB, free: 11.94 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.6413, allocations: 479.4 kB / 0.7722 GB, free: 11.44 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.6415, allocations: 86.56 kB / 0.7723 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.545e-05/0.6416, allocations: 36.98 kB / 0.7723 GB, free: 11.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.6416, allocations: 11.98 kB / 0.7723 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.6417, allocations: 30.56 kB / 0.7724 GB, free: 11.25 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.973e-06/0.6417, allocations: 0 / 0.7724 GB, free: 11.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003006/0.642, allocations: 107.8 kB / 0.7725 GB, free: 11.14 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.642, allocations: 54.31 kB / 0.7725 GB, free: 11.08 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.6422, allocations: 126.1 kB / 0.7726 GB, free: 10.95 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.6422, allocations: 29.7 kB / 0.7727 GB, free: 10.91 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.467e-05/0.6423, allocations: 100 kB / 0.7728 GB, free: 10.81 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.6423, allocations: 23.66 kB / 0.7728 GB, free: 10.79 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-06/0.6423, allocations: 0 / 0.7728 GB, free: 10.79 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.6424, allocations: 322.8 kB / 0.7731 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.208e-05/0.6425, allocations: 28 kB / 0.7731 GB, free: 10.43 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.119e-05/0.6426, allocations: 54.56 kB / 0.7732 GB, free: 10.37 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.303e-05/0.6427, allocations: 24 kB / 0.7732 GB, free: 10.35 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.6427, allocations: 4 kB / 0.7732 GB, free: 10.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002226/0.6429, allocations: 117.5 kB / 0.7733 GB, free: 10.22 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.643, allocations: 7.984 kB / 0.7733 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.643, allocations: 0 / 0.7733 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.643, allocations: 3.938 kB / 0.7733 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003061/0.6433, allocations: 55.95 kB / 0.7734 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.6433, allocations: 3.906 kB / 0.7734 GB, free: 10.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.6436, allocations: 35.97 kB / 0.7734 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.6436, allocations: 7.984 kB / 0.7734 GB, free: 10.11 MB / 490.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 9.876e-05/0.6437, allocations: 108.9 kB / 0.7735 GB, free: 9.996 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.726e-05/0.6437, allocations: 11.81 kB / 0.7735 GB, free: 9.984 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002872/0.644, allocations: 119.6 kB / 0.7737 GB, free: 9.867 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.644, allocations: 0 / 0.7737 GB, free: 9.867 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.6441, allocations: 0 / 0.7737 GB, free: 9.867 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6441, allocations: 0 / 0.7737 GB, free: 9.867 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.6443, allocations: 214.4 kB / 0.7739 GB, free: 9.625 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.6443, allocations: 7.922 kB / 0.7739 GB, free: 9.617 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002688/0.6446, allocations: 43.95 kB / 0.7739 GB, free: 9.574 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.6446, allocations: 0 / 0.7739 GB, free: 9.574 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.6446, allocations: 8 kB / 0.7739 GB, free: 9.566 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.6446, allocations: 0 / 0.7739 GB, free: 9.566 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.6446, allocations: 1.406 kB / 0.7739 GB, free: 9.566 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002569/0.6449, allocations: 206 kB / 0.7741 GB, free: 9.352 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.533e-05/0.645, allocations: 101 kB / 0.7742 GB, free: 9.234 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.6451, allocations: 0 / 0.7742 GB, free: 9.234 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003519/0.6454, allocations: 55.94 kB / 0.7743 GB, free: 9.18 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.6455, allocations: 4 kB / 0.7743 GB, free: 9.176 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/0.6455, allocations: 11.98 kB / 0.7743 GB, free: 9.164 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.642e-05/0.6456, allocations: 101.7 kB / 0.7744 GB, free: 9.066 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002858/0.6459, allocations: 23.91 kB / 0.7744 GB, free: 9.043 MB / 490.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.0001425/0.646, allocations: 101.8 kB / 0.7745 GB, free: 8.934 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.6462, allocations: 75.98 kB / 0.7746 GB, free: 8.859 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.6462, allocations: 128 / 0.7746 GB, free: 8.859 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.252e-05/0.6463, allocations: 51.92 kB / 0.7746 GB, free: 8.809 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.6466, allocations: 0 / 0.7746 GB, free: 8.809 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/0.647, allocations: 147.5 kB / 0.7748 GB, free: 8.645 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003742/0.6474, allocations: 0.7266 MB / 0.7755 GB, free: 7.895 MB / 490.7 MB Notification: Performance of SimCode: time 2.81e-07/0.6474, allocations: 0 / 0.7755 GB, free: 7.895 MB / 490.7 MB Notification: Performance of Templates: time 0.004504/0.6519, allocations: 1.688 MB / 0.7771 GB, free: 6.242 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)