Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.327/1.327, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.0009351/0.0009351, allocations: 185.2 kB / 361.1 MB, free: 7.086 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.065/1.065, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.0007834/0.0007834, allocations: 87.67 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.723e-06/6.743e-06, allocations: 0 / 0.8511 GB, free: 2.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.4199, allocations: 115.3 MB / 0.9637 GB, free: 78.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1367/0.5566, allocations: 137.6 MB / 1.098 GB, free: 2.422 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002044/0.5569, allocations: 72.91 kB / 1.098 GB, free: 2.352 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.003104/0.56, allocations: 0.7663 MB / 1.099 GB, free: 1.617 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.56, allocations: 6.188 kB / 1.099 GB, free: 1.613 MB / 0.698 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.0003406/0.5604, allocations: 337.6 kB / 1.099 GB, free: 1.242 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.5604, allocations: 12.53 kB / 1.099 GB, free: 1.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.5604, allocations: 4.406 kB / 1.099 GB, free: 1.227 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.5606, allocations: 167.5 kB / 1.099 GB, free: 1.023 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.5606, allocations: 4 kB / 1.099 GB, free: 1.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.5606, allocations: 1.594 kB / 1.099 GB, free: 1.02 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.143e-05/0.5607, allocations: 10.78 kB / 1.099 GB, free: 1.012 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.815e-05/0.5607, allocations: 37.61 kB / 1.099 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.5608, allocations: 0.5312 kB / 1.099 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.5608, allocations: 0 / 1.099 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.5608, allocations: 7.125 kB / 1.099 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/0.5612, allocations: 244.6 kB / 1.1 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.988e-05/0.5612, allocations: 32.2 kB / 1.1 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.547e-05/0.5613, allocations: 12.92 kB / 1.1 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/0.5614, allocations: 82.53 kB / 1.1 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.5614, allocations: 39.2 kB / 1.1 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.5614, allocations: 0 / 1.1 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002807/0.5617, allocations: 50.33 kB / 1.1 GB, free: 452 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.5618, allocations: 52.78 kB / 1.1 GB, free: 388 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.555e-05/0.5618, allocations: 93 kB / 1.1 GB, free: 288 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.5619, allocations: 25.7 kB / 1.1 GB, free: 256 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.414e-05/0.5619, allocations: 84.7 kB / 1.1 GB, free: 168 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.5619, allocations: 4.469 kB / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.5619, allocations: 0.5 kB / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.5621, allocations: 327.2 kB / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/0.5621, allocations: 5.594 kB / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.464e-05/0.5621, allocations: 8 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.5622, allocations: 15.89 kB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5622, allocations: 0.5938 kB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001472/0.5624, allocations: 50.3 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.5624, allocations: 8 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.5624, allocations: 0.5312 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.5624, allocations: 4.125 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.445e-05/0.5625, allocations: 11.98 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.5625, allocations: 0 / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.863e-05/0.5626, allocations: 15.94 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.5626, allocations: 0 / 1.101 GB, free: 15.71 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 5.607e-05/0.5627, allocations: 112.9 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.5627, allocations: 5.812 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001766/0.5629, allocations: 56.92 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.5629, allocations: 1.547 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5629, allocations: 3.906 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.5629, allocations: 0 / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.5631, allocations: 138.2 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.5631, allocations: 0 / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.204e-05/0.5631, allocations: 16.02 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.5631, allocations: 0 / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.5632, allocations: 0 / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5632, allocations: 0 / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.5632, allocations: 2.422 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001781/0.5634, allocations: 155.4 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.176e-05/0.5634, allocations: 85.12 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.5634, allocations: 9.719 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.828e-05/0.5635, allocations: 4 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.05e-05/0.5636, allocations: 7.984 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.5636, allocations: 2.531 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.207e-05/0.5636, allocations: 79.28 kB / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002182/0.5638, allocations: 4 kB / 1.101 GB, free: 14.96 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.0001188/0.564, allocations: 111 kB / 1.101 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.163e-05/0.564, allocations: 12 kB / 1.101 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.564, allocations: 3.938 kB / 1.101 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.276e-05/0.5641, allocations: 8 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.5643, allocations: 10.45 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001951/0.5645, allocations: 60.8 kB / 1.101 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/0.5647, allocations: 0.6919 MB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.5648, allocations: 0 / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of Templates: time 0.002166/0.5669, allocations: 0.5182 MB / 1.103 GB, free: 13.54 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)