Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.483/1.483, allocations: 289.8 MB / 297.1 MB, free: 6.621 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.001068/0.001068, allocations: 177.3 kB / 366.3 MB, free: 1.922 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.343/1.343, allocations: 205.2 MB / 0.6256 GB, free: 5.785 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.0009124/0.0009124, allocations: 83.36 kB / 0.7395 GB, free: 39.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.105e-06/8.115e-06, allocations: 0 / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6528/0.6528, allocations: 116.3 MB / 0.9726 GB, free: 68.45 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1748/0.8277, allocations: 140 MB / 1.109 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.828, allocations: 79.89 kB / 1.109 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01474/0.8427, allocations: 4.667 MB / 1.114 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.367e-06/0.8428, allocations: 5.406 kB / 1.114 GB, free: 3.801 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005219/0.8433, allocations: 414.1 kB / 1.114 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.8434, allocations: 8.031 kB / 1.114 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007327/0.8441, allocations: 131.8 kB / 1.114 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.8443, allocations: 183.4 kB / 1.115 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.7e-05/0.8444, allocations: 63.39 kB / 1.115 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.8444, allocations: 4 kB / 1.115 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001893/0.8446, allocations: 79.84 kB / 1.115 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.8448, allocations: 109.6 kB / 1.115 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.8448, allocations: 0 / 1.115 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.8448, allocations: 4 kB / 1.115 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.8449, allocations: 4 kB / 1.115 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.8459, allocations: 475.6 kB / 1.115 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.8461, allocations: 86.56 kB / 1.115 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.606e-05/0.8462, allocations: 36.98 kB / 1.115 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.8462, allocations: 4.547 kB / 1.115 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.8462, allocations: 38.56 kB / 1.115 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.8462, allocations: 3.938 kB / 1.115 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0002656/0.8465, allocations: 101.6 kB / 1.116 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.8465, allocations: 59.41 kB / 1.116 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.851e-05/0.8467, allocations: 120.4 kB / 1.116 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.8467, allocations: 31.48 kB / 1.116 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.325e-05/0.8468, allocations: 100.2 kB / 1.116 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.8468, allocations: 23.64 kB / 1.116 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-06/0.8468, allocations: 0 / 1.116 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.8469, allocations: 322.8 kB / 1.116 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.955e-05/0.847, allocations: 28 kB / 1.116 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.165e-05/0.8471, allocations: 54.58 kB / 1.116 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.217e-05/0.8472, allocations: 31.98 kB / 1.116 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8472, allocations: 0 / 1.116 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000202/0.8474, allocations: 109.5 kB / 1.116 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.8474, allocations: 8 kB / 1.116 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.8474, allocations: 7.891 kB / 1.116 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.8474, allocations: 0 / 1.116 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/0.8477, allocations: 59.95 kB / 1.116 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.8478, allocations: 0 / 1.116 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.848, allocations: 35.97 kB / 1.117 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.848, allocations: 0 / 1.117 GB, free: 0.9023 MB / 0.7136 GB 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 8.846e-05/0.8481, allocations: 116.9 kB / 1.117 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.8481, allocations: 7.906 kB / 1.117 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.8484, allocations: 116 kB / 1.117 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.8484, allocations: 0 / 1.117 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.8484, allocations: 7.938 kB / 1.117 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.8484, allocations: 0 / 1.117 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.8487, allocations: 214.5 kB / 1.117 GB, free: 404 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.8487, allocations: 192 / 1.117 GB, free: 404 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002493/0.8489, allocations: 51.95 kB / 1.117 GB, free: 352 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.849, allocations: 0 / 1.117 GB, free: 352 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.237e-05/0.849, allocations: 3.984 kB / 1.117 GB, free: 348 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.849, allocations: 4 kB / 1.117 GB, free: 344 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.849, allocations: 0 / 1.117 GB, free: 344 kB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002296/0.8493, allocations: 199.3 kB / 1.117 GB, free: 128 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.362e-05/0.8493, allocations: 92.95 kB / 1.117 GB, free: 16 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.8494, allocations: 0 / 1.117 GB, free: 16 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003475/0.8497, allocations: 48.02 kB / 1.117 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.8498, allocations: 3.984 kB / 1.117 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.8498, allocations: 7.984 kB / 1.117 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.576e-05/0.8498, allocations: 103.2 kB / 1.117 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002565/0.8501, allocations: 19.91 kB / 1.117 GB, free: 15.84 MB / 0.7292 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 (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.000124/0.8502, allocations: 103.2 kB / 1.118 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001943/0.8504, allocations: 84.73 kB / 1.118 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.8505, allocations: 0 / 1.118 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.301e-05/0.8505, allocations: 35.94 kB / 1.118 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.8507, allocations: 19.62 kB / 1.118 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000398/0.8512, allocations: 141.5 kB / 1.118 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003616/0.8515, allocations: 0.731 MB / 1.119 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of SimCode: time 2.71e-07/0.8515, allocations: 0 / 1.119 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of Templates: time 0.003835/0.8554, allocations: 1.688 MB / 1.12 GB, free: 13.02 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)