Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside") [: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 8.1.4-maint.8.1.x/package.mo): time 1.438/1.438, allocations: 289.8 MB / 297.1 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009982/0.0009982, allocations: 180.8 kB / 366.3 MB, free: 1.988 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.302/1.302, allocations: 205.1 MB / 0.6256 GB, free: 5.832 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008911/0.0008911, allocations: 83.47 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.257e-06/9.297e-06, allocations: 4 kB / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6041/0.6041, allocations: 116.3 MB / 0.9726 GB, free: 68.01 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1829/0.7871, allocations: 138.6 MB / 1.108 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/0.7874, allocations: 75.95 kB / 1.108 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.003416/0.7909, allocations: 0.7641 MB / 1.109 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.7909, allocations: 0 / 1.109 GB, free: 9.066 MB / 0.7136 GB 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.0004146/0.7913, allocations: 338.4 kB / 1.109 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.7914, allocations: 8.031 kB / 1.109 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.7914, allocations: 3.906 kB / 1.109 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.7916, allocations: 167.1 kB / 1.109 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.7916, allocations: 0 / 1.109 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.7916, allocations: 6.188 kB / 1.109 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.145e-05/0.7917, allocations: 12.5 kB / 1.109 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.194e-05/0.7918, allocations: 45.53 kB / 1.109 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.7918, allocations: 0 / 1.109 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.7918, allocations: 0 / 1.109 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.7918, allocations: 3.984 kB / 1.109 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004539/0.7923, allocations: 242.8 kB / 1.11 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.447e-05/0.7924, allocations: 30.48 kB / 1.11 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.255e-05/0.7924, allocations: 8.922 kB / 1.11 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001495/0.7926, allocations: 89.09 kB / 1.11 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.7926, allocations: 34.56 kB / 1.11 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.7926, allocations: 0 / 1.11 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002887/0.7929, allocations: 53.61 kB / 1.11 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.7929, allocations: 51.41 kB / 1.11 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.954e-05/0.793, allocations: 98.34 kB / 1.11 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.7931, allocations: 25.7 kB / 1.11 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.7931, allocations: 80.14 kB / 1.11 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.7931, allocations: 3.906 kB / 1.11 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.37e-05/0.7931, allocations: 4.031 kB / 1.11 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.7933, allocations: 322.8 kB / 1.11 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.635e-05/0.7933, allocations: 4 kB / 1.11 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.293e-05/0.7933, allocations: 5.125 kB / 1.11 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.7934, allocations: 19.89 kB / 1.11 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.7934, allocations: 0 / 1.11 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001476/0.7936, allocations: 53.67 kB / 1.11 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.7936, allocations: 4 kB / 1.11 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.7936, allocations: 4.094 kB / 1.11 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.7937, allocations: 3.938 kB / 1.11 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.617e-05/0.7938, allocations: 12.23 kB / 1.11 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.7938, allocations: 0 / 1.11 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.834e-05/0.7938, allocations: 15.94 kB / 1.11 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.7939, allocations: 4 kB / 1.11 GB, free: 7.137 MB / 0.7136 GB 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 8.6e-05/0.7939, allocations: 112.9 kB / 1.111 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.794, allocations: 0.5625 kB / 1.111 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.7942, allocations: 56.98 kB / 1.111 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.7942, allocations: 4 kB / 1.111 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.7942, allocations: 3.906 kB / 1.111 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.7942, allocations: 0 / 1.111 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.7944, allocations: 134.2 kB / 1.111 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7944, allocations: 5.344 kB / 1.111 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.876e-05/0.7945, allocations: 11.98 kB / 1.111 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.7945, allocations: 0 / 1.111 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.7945, allocations: 4 kB / 1.111 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.7945, allocations: 3.938 kB / 1.111 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.7945, allocations: 0 / 1.111 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002069/0.7947, allocations: 151.4 kB / 1.111 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.779e-05/0.7948, allocations: 81.09 kB / 1.111 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.7948, allocations: 3.906 kB / 1.111 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.828e-05/0.7949, allocations: 8 kB / 1.111 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.7949, allocations: 3.984 kB / 1.111 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.7949, allocations: 0 / 1.111 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.159e-05/0.795, allocations: 87.31 kB / 1.111 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002142/0.7952, allocations: 12 kB / 1.111 GB, free: 6.379 MB / 0.7136 GB 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.0001535/0.7954, allocations: 96.56 kB / 1.111 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.75e-05/0.7955, allocations: 15.94 kB / 1.111 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.7955, allocations: 3.938 kB / 1.111 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.784e-05/0.7955, allocations: 12 kB / 1.111 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.7957, allocations: 6.453 kB / 1.111 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002415/0.796, allocations: 68.03 kB / 1.111 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003149/0.7963, allocations: 0.688 MB / 1.112 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.7963, allocations: 0 / 1.112 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of Templates: time 0.002544/0.7988, allocations: 0.5172 MB / 1.112 GB, free: 4.953 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)