Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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 3.0.0/package.mo): time 0.6708/0.6708, 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.001096/0.001096, allocations: 170.2 kB / 171.6 MB, free: 2.004 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.325/1.325, allocations: 170.5 MB / 373.9 MB, free: 15.89 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.001687/0.001687, allocations: 112.7 kB / 444.4 MB, free: 9.426 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.4974/0.4974, allocations: 73.39 MB / 0.666 GB, free: 62.19 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1372/0.6346, allocations: 101.5 MB / 0.7651 GB, free: 2.773 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.635, allocations: 82.45 kB / 0.7652 GB, free: 2.695 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.004294/0.6393, allocations: 1.023 MB / 0.7662 GB, free: 1.703 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.6393, allocations: 0 / 0.7662 GB, free: 1.703 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000394/0.6397, allocations: 348.4 kB / 0.7665 GB, free: 1.32 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.98e-05/0.6398, allocations: 12.03 kB / 0.7665 GB, free: 1.309 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.823e-05/0.6399, allocations: 3.906 kB / 0.7665 GB, free: 1.305 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.64, allocations: 168 kB / 0.7667 GB, free: 1.102 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.6401, allocations: 0 / 0.7667 GB, free: 1.102 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.6401, allocations: 4 kB / 0.7667 GB, free: 1.098 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.789e-05/0.6402, allocations: 11.91 kB / 0.7667 GB, free: 1.086 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.093e-05/0.6403, allocations: 37.69 kB / 0.7668 GB, free: 1.043 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.6403, allocations: 4 kB / 0.7668 GB, free: 1.039 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.6403, allocations: 0 / 0.7668 GB, free: 1.039 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.6403, allocations: 2.203 kB / 0.7668 GB, free: 1.039 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003605/0.6407, allocations: 233.4 kB / 0.767 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.459e-05/0.6408, allocations: 31.27 kB / 0.767 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.351e-05/0.6408, allocations: 12.92 kB / 0.767 GB, free: 0.7188 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007554/0.6416, allocations: 473.5 kB / 0.7675 GB, free: 168 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.6416, allocations: 37.48 kB / 0.7675 GB, free: 124 kB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.6416, allocations: 0 / 0.7675 GB, free: 124 kB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004243/0.642, allocations: 85.66 kB / 0.7676 GB, free: 32 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.6421, allocations: 51.41 kB / 0.7676 GB, free: 15.97 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.819e-05/0.6422, allocations: 102.9 kB / 0.7677 GB, free: 15.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.965e-05/0.6423, allocations: 26.69 kB / 0.7678 GB, free: 15.83 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.6423, allocations: 95.92 kB / 0.7679 GB, free: 15.73 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.6423, allocations: 4 kB / 0.7679 GB, free: 15.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-06/0.6423, allocations: 0 / 0.7679 GB, free: 15.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.6425, allocations: 318.8 kB / 0.7682 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.013e-05/0.6425, allocations: 11.98 kB / 0.7682 GB, free: 15.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.386e-05/0.6425, allocations: 4 kB / 0.7682 GB, free: 15.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.6428, allocations: 44.02 kB / 0.7682 GB, free: 15.35 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.6428, allocations: 4 kB / 0.7682 GB, free: 15.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002771/0.6431, allocations: 84.38 kB / 0.7683 GB, free: 15.26 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.6431, allocations: 10.06 kB / 0.7683 GB, free: 15.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.6431, allocations: 8.031 kB / 0.7683 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.6431, allocations: 3.906 kB / 0.7683 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.964e-05/0.6432, allocations: 4 kB / 0.7683 GB, free: 15.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.6432, allocations: 1.016 kB / 0.7683 GB, free: 15.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.765e-05/0.6433, allocations: 4 kB / 0.7683 GB, free: 15.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.6433, allocations: 5.734 kB / 0.7683 GB, free: 15.23 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 (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 0.0001168/0.6434, allocations: 101 kB / 0.7684 GB, free: 15.13 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.6434, allocations: 11.91 kB / 0.7685 GB, free: 15.12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000306/0.6438, allocations: 93.2 kB / 0.7685 GB, free: 15.02 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.6438, allocations: 0 / 0.7685 GB, free: 15.02 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.6438, allocations: 4.031 kB / 0.7685 GB, free: 15.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.6438, allocations: 0 / 0.7685 GB, free: 15.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.644, allocations: 142.2 kB / 0.7687 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.644, allocations: 3.906 kB / 0.7687 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.688e-05/0.644, allocations: 4 kB / 0.7687 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.644, allocations: 1.562 kB / 0.7687 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.6441, allocations: 0 / 0.7687 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.6441, allocations: 0 / 0.7687 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.6441, allocations: 4 kB / 0.7687 GB, free: 14.83 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003115/0.6444, allocations: 187.3 kB / 0.7689 GB, free: 14.63 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-05/0.6444, allocations: 86.12 kB / 0.769 GB, free: 14.53 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.6445, allocations: 0 / 0.769 GB, free: 14.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.214e-05/0.6446, allocations: 11.94 kB / 0.769 GB, free: 14.52 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.6446, allocations: 3.938 kB / 0.769 GB, free: 14.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.85e-06/0.6446, allocations: 0 / 0.769 GB, free: 14.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.471e-05/0.6447, allocations: 92.39 kB / 0.7691 GB, free: 14.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002513/0.6449, allocations: 19.94 kB / 0.7691 GB, free: 14.41 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 (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.0002431/0.6452, allocations: 119.2 kB / 0.7692 GB, free: 14.28 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.742e-05/0.6453, allocations: 16 kB / 0.7692 GB, free: 14.26 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6453, allocations: 0 / 0.7692 GB, free: 14.26 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.575e-05/0.6453, allocations: 11.94 kB / 0.7692 GB, free: 14.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.6455, allocations: 4 kB / 0.7692 GB, free: 14.25 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002782/0.6458, allocations: 66.31 kB / 0.7693 GB, free: 14.16 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003515/0.6461, allocations: 0.6919 MB / 0.77 GB, free: 13.44 MB / 490.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6461, allocations: 0 / 0.77 GB, free: 13.44 MB / 490.7 MB Notification: Performance of Templates: time 0.003278/0.6494, allocations: 0.6642 MB / 0.7706 GB, free: 12.81 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)