Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin") [: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.7153/0.7153, allocations: 132.4 MB / 139.7 MB, free: 15.56 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.00103/0.00103, allocations: 172.4 kB / 171.6 MB, free: 1.988 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.235/1.235, allocations: 170.5 MB / 373.9 MB, free: 15.84 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.001751/0.001751, allocations: 122.4 kB / 444.4 MB, free: 9.352 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.5033/0.5033, allocations: 73.39 MB / 0.666 GB, free: 62.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1365/0.6399, allocations: 101 MB / 0.7646 GB, free: 3.266 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.6402, allocations: 67.97 kB / 0.7647 GB, free: 3.199 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.003505/0.6438, allocations: 0.8364 MB / 0.7655 GB, free: 2.395 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.6438, allocations: 0 / 0.7655 GB, free: 2.395 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004319/0.6442, allocations: 356.4 kB / 0.7658 GB, free: 2.004 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.6443, allocations: 8.031 kB / 0.7658 GB, free: 1.996 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008746/0.6452, allocations: 179.7 kB / 0.766 GB, free: 1.82 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.6453, allocations: 163.1 kB / 0.7662 GB, free: 1.621 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.6454, allocations: 7.891 kB / 0.7662 GB, free: 1.613 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.6454, allocations: 4 kB / 0.7662 GB, free: 1.609 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003271/0.6457, allocations: 115.9 kB / 0.7663 GB, free: 1.496 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.646, allocations: 105.6 kB / 0.7664 GB, free: 1.387 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.646, allocations: 3.094 kB / 0.7664 GB, free: 1.387 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.646, allocations: 7.938 kB / 0.7664 GB, free: 1.379 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.6461, allocations: 0 / 0.7664 GB, free: 1.379 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.6471, allocations: 445.5 kB / 0.7668 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004196/0.6475, allocations: 166.5 kB / 0.767 GB, free: 0.7383 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.365e-05/0.6476, allocations: 56.92 kB / 0.767 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.6477, allocations: 0 / 0.767 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.6477, allocations: 34.5 kB / 0.7671 GB, free: 0.6367 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.6477, allocations: 4 kB / 0.7671 GB, free: 0.6328 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002678/0.648, allocations: 111.2 kB / 0.7672 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.648, allocations: 51.41 kB / 0.7672 GB, free: 468 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.6481, allocations: 104.8 kB / 0.7673 GB, free: 360 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.6481, allocations: 25.7 kB / 0.7674 GB, free: 328 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.242e-05/0.6482, allocations: 92.03 kB / 0.7674 GB, free: 232 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.6482, allocations: 7.906 kB / 0.7674 GB, free: 224 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-06/0.6483, allocations: 0 / 0.7674 GB, free: 224 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.6484, allocations: 314.8 kB / 0.7677 GB, free: 15.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.337e-05/0.6485, allocations: 46.91 kB / 0.7678 GB, free: 15.86 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.657e-05/0.6486, allocations: 47.97 kB / 0.7678 GB, free: 15.81 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.76e-05/0.6487, allocations: 31.97 kB / 0.7679 GB, free: 15.78 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6487, allocations: 7.281 kB / 0.7679 GB, free: 15.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000188/0.6489, allocations: 113.6 kB / 0.768 GB, free: 15.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.6489, allocations: 4 kB / 0.768 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.6489, allocations: 0 / 0.768 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.6489, allocations: 0 / 0.768 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002838/0.6492, allocations: 43.95 kB / 0.768 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.6492, allocations: 3.906 kB / 0.768 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.6494, allocations: 51.89 kB / 0.7681 GB, free: 15.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.6495, allocations: 0 / 0.7681 GB, free: 15.56 MB / 490.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 (3): * Single equations (assignments): 3 * 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.9e-05/0.6496, allocations: 105 kB / 0.7682 GB, free: 15.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.6496, allocations: 7.906 kB / 0.7682 GB, free: 15.44 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.531e-05/0.6497, allocations: 12 kB / 0.7682 GB, free: 15.43 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.6497, allocations: 2.812 kB / 0.7682 GB, free: 15.43 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.6497, allocations: 1.562 kB / 0.7682 GB, free: 15.43 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.6497, allocations: 0 / 0.7682 GB, free: 15.43 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.6499, allocations: 190.2 kB / 0.7684 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6499, allocations: 0 / 0.7684 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/0.6502, allocations: 47.86 kB / 0.7684 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.6502, allocations: 3.938 kB / 0.7684 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.6502, allocations: 4 kB / 0.7684 GB, free: 15.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.6502, allocations: 3.938 kB / 0.7684 GB, free: 15.15 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.6502, allocations: 4 kB / 0.7684 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002451/0.6505, allocations: 207.4 kB / 0.7686 GB, free: 14.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.921e-05/0.6505, allocations: 81.11 kB / 0.7687 GB, free: 14.83 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.6506, allocations: 1.312 kB / 0.7687 GB, free: 14.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.6508, allocations: 39.95 kB / 0.7688 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.6509, allocations: 3.906 kB / 0.7688 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.6509, allocations: 4 kB / 0.7688 GB, free: 14.78 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.626e-05/0.6509, allocations: 87.27 kB / 0.7689 GB, free: 14.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002258/0.6512, allocations: 16 kB / 0.7689 GB, free: 14.68 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 (3): * Single equations (assignments): 3 * 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.000131/0.6513, allocations: 95.25 kB / 0.769 GB, free: 14.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.6515, allocations: 91.88 kB / 0.769 GB, free: 14.48 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6515, allocations: 4 kB / 0.7691 GB, free: 14.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.411e-05/0.6516, allocations: 51.95 kB / 0.7691 GB, free: 14.43 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001655/0.6518, allocations: 4.844 kB / 0.7691 GB, free: 14.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007318/0.6525, allocations: 191.6 kB / 0.7693 GB, free: 14.21 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003712/0.6529, allocations: 0.711 MB / 0.77 GB, free: 13.48 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6529, allocations: 0 / 0.77 GB, free: 13.48 MB / 490.7 MB Notification: Performance of Templates: time 0.003382/0.6563, allocations: 1.159 MB / 0.7711 GB, free: 12.35 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)