Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.6927/0.6927, allocations: 127.4 MB / 134.6 MB, free: 4.102 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001355/0.001355, allocations: 173.3 kB / 164.4 MB, free: 6.898 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.847/1.847, allocations: 205.1 MB / 399.1 MB, free: 6.074 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 78.95 kB / 476.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.462e-05/1.467e-05, allocations: 0 / 0.546 GB, free: 42.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1992, allocations: 76.75 MB / 0.6209 GB, free: 13.92 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4648/0.664, allocations: 103.7 MB / 0.7222 GB, free: 8.75 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.6643, allocations: 79.95 kB / 0.7223 GB, free: 8.672 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.01632/0.6807, allocations: 5.04 MB / 0.7272 GB, free: 3.629 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.6807, allocations: 0 / 0.7272 GB, free: 3.629 MB / 490.7 MB 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.0006311/0.6814, allocations: 418.1 kB / 0.7276 GB, free: 3.176 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.6814, allocations: 8.031 kB / 0.7276 GB, free: 3.168 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007853/0.6822, allocations: 139.7 kB / 0.7277 GB, free: 3.031 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.6824, allocations: 178.8 kB / 0.7279 GB, free: 2.816 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.6825, allocations: 67.39 kB / 0.728 GB, free: 2.738 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.6826, allocations: 4 kB / 0.728 GB, free: 2.734 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001923/0.6828, allocations: 71.94 kB / 0.728 GB, free: 2.664 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002374/0.683, allocations: 117.5 kB / 0.7281 GB, free: 2.543 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.683, allocations: 0 / 0.7281 GB, free: 2.543 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/0.6831, allocations: 0 / 0.7281 GB, free: 2.543 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.6831, allocations: 4 kB / 0.7281 GB, free: 2.539 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.6842, allocations: 470.8 kB / 0.7286 GB, free: 2.043 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.6844, allocations: 90.56 kB / 0.7287 GB, free: 1.945 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.696e-05/0.6845, allocations: 32.98 kB / 0.7287 GB, free: 1.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.955e-05/0.6845, allocations: 11.98 kB / 0.7287 GB, free: 1.898 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.6845, allocations: 30.56 kB / 0.7288 GB, free: 1.859 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.6846, allocations: 0 / 0.7288 GB, free: 1.859 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003135/0.6849, allocations: 101.5 kB / 0.7289 GB, free: 1.754 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.6849, allocations: 55.39 kB / 0.7289 GB, free: 1.688 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.685, allocations: 128.1 kB / 0.729 GB, free: 1.559 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.46e-05/0.6851, allocations: 25.7 kB / 0.7291 GB, free: 1.527 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.387e-05/0.6852, allocations: 104.1 kB / 0.7292 GB, free: 1.418 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.6852, allocations: 23.59 kB / 0.7292 GB, free: 1.395 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-06/0.6852, allocations: 0 / 0.7292 GB, free: 1.395 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.6853, allocations: 318.8 kB / 0.7295 GB, free: 1.074 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.436e-05/0.6854, allocations: 36 kB / 0.7295 GB, free: 1.039 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.21e-05/0.6855, allocations: 54.56 kB / 0.7296 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.66e-05/0.6856, allocations: 32.05 kB / 0.7296 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6856, allocations: 0 / 0.7296 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002136/0.6858, allocations: 117.5 kB / 0.7297 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.6858, allocations: 4 kB / 0.7297 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.6858, allocations: 0 / 0.7297 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.6859, allocations: 4 kB / 0.7297 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002996/0.6862, allocations: 48.02 kB / 0.7298 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.6862, allocations: 3.938 kB / 0.7298 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.6864, allocations: 39.88 kB / 0.7298 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.6864, allocations: 7.984 kB / 0.7298 GB, free: 0.7188 MB / 490.7 MB 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.372e-05/0.6865, allocations: 105.7 kB / 0.7299 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.399e-05/0.6866, allocations: 7.906 kB / 0.7299 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002655/0.6868, allocations: 118 kB / 0.73 GB, free: 496 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.6869, allocations: 4 kB / 0.73 GB, free: 492 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.6869, allocations: 0 / 0.73 GB, free: 492 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.6869, allocations: 4 kB / 0.73 GB, free: 488 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.6871, allocations: 210.9 kB / 0.7302 GB, free: 240 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.6871, allocations: 0 / 0.7302 GB, free: 240 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002585/0.6874, allocations: 51.8 kB / 0.7303 GB, free: 188 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.6874, allocations: 4 kB / 0.7303 GB, free: 184 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.6874, allocations: 0 / 0.7303 GB, free: 184 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.6874, allocations: 3.938 kB / 0.7303 GB, free: 180 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.6874, allocations: 0 / 0.7303 GB, free: 180 kB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002325/0.6877, allocations: 199.4 kB / 0.7305 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.692e-05/0.6877, allocations: 81.02 kB / 0.7306 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.6877, allocations: 12.08 kB / 0.7306 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003441/0.6881, allocations: 51.95 kB / 0.7306 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.6881, allocations: 8 kB / 0.7306 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.6882, allocations: 7.984 kB / 0.7306 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.718e-05/0.6882, allocations: 106.3 kB / 0.7307 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002573/0.6885, allocations: 20 kB / 0.7308 GB, free: 15.67 MB / 0.4948 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.0001525/0.6887, allocations: 107.2 kB / 0.7309 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001851/0.6889, allocations: 75.98 kB / 0.7309 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.6889, allocations: 0 / 0.7309 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.622e-05/0.6889, allocations: 47.92 kB / 0.731 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.6891, allocations: 7.906 kB / 0.731 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003915/0.6895, allocations: 135.6 kB / 0.7311 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003544/0.6899, allocations: 0.731 MB / 0.7318 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of SimCode: time 4.11e-07/0.6899, allocations: 0 / 0.7318 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of Templates: time 0.003828/0.6938, allocations: 1.693 MB / 0.7335 GB, free: 12.82 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)