Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.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.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter") [: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.362/1.362, allocations: 289.8 MB / 297.1 MB, free: 6.664 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.001022/0.001023, allocations: 173.3 kB / 366.3 MB, free: 1.957 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.108/1.108, allocations: 205.1 MB / 0.6256 GB, free: 5.793 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.0008321/0.000832, allocations: 93.31 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.738e-06/9.758e-06, allocations: 4 kB / 0.859 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4486/0.4486, allocations: 116.3 MB / 0.9726 GB, free: 68.38 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1455/0.5942, allocations: 138.2 MB / 1.107 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001902/0.5944, allocations: 67.97 kB / 1.108 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.008775/0.6032, allocations: 2.783 MB / 1.11 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.584e-05/0.6032, allocations: 4 kB / 1.11 GB, free: 7.473 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001039/0.6043, allocations: 0.6187 MB / 1.111 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.6043, allocations: 8.031 kB / 1.111 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/0.6044, allocations: 23.72 kB / 1.111 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.6047, allocations: 237.5 kB / 1.111 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-06/0.6047, allocations: 4 kB / 1.111 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.291e-05/0.6047, allocations: 8 kB / 1.111 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002438/0.605, allocations: 100 kB / 1.111 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.6052, allocations: 122.4 kB / 1.111 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.6052, allocations: 0 / 1.111 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.6052, allocations: 0 / 1.111 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.6052, allocations: 0 / 1.111 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.6064, allocations: 0.6333 MB / 1.112 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.6067, allocations: 130.5 kB / 1.112 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.6068, allocations: 60.86 kB / 1.112 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.6068, allocations: 8 kB / 1.112 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.6068, allocations: 35.78 kB / 1.112 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=17): time 1.202e-06/0.6069, allocations: 0 / 1.112 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17): time 0.0003638/0.6072, allocations: 154.5 kB / 1.112 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.6073, allocations: 55.41 kB / 1.112 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.6074, allocations: 172.2 kB / 1.113 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.6074, allocations: 25.7 kB / 1.113 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.397e-05/0.6075, allocations: 120.3 kB / 1.113 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.673e-05/0.6075, allocations: 55.2 kB / 1.113 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.134e-05/0.6076, allocations: 0 / 1.113 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.6077, allocations: 330.8 kB / 1.113 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.6078, allocations: 51.94 kB / 1.113 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.199e-05/0.6079, allocations: 47.91 kB / 1.113 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.609e-05/0.608, allocations: 50.8 kB / 1.113 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.608, allocations: 1.125 kB / 1.113 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002768/0.6082, allocations: 157.4 kB / 1.113 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.6083, allocations: 4 kB / 1.113 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.6083, allocations: 4 kB / 1.113 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.6083, allocations: 7.844 kB / 1.113 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004683/0.6088, allocations: 119.8 kB / 1.114 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.6088, allocations: 0 / 1.114 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003382/0.6091, allocations: 91.86 kB / 1.114 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.6092, allocations: 11.91 kB / 1.114 GB, free: 3.871 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 (18): * Single equations (assignments): 18 * 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 6.901e-05/0.6092, allocations: 101 kB / 1.114 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.647e-05/0.6093, allocations: 27.7 kB / 1.114 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.734e-05/0.6093, allocations: 25.89 kB / 1.114 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.6093, allocations: 1.031 kB / 1.114 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.6094, allocations: 4 kB / 1.114 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.6094, allocations: 0 / 1.114 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.6096, allocations: 254 kB / 1.114 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.6096, allocations: 0 / 1.114 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004438/0.6101, allocations: 115.8 kB / 1.114 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.6101, allocations: 4 kB / 1.114 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.6101, allocations: 0 / 1.114 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.6101, allocations: 0 / 1.114 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6101, allocations: 0 / 1.114 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004645/0.6106, allocations: 362 kB / 1.114 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.6106, allocations: 94.08 kB / 1.115 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.6107, allocations: 0 / 1.115 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003874/0.6111, allocations: 87.89 kB / 1.115 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.75e-05/0.6112, allocations: 23.97 kB / 1.115 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.6112, allocations: 7.984 kB / 1.115 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.605e-05/0.6113, allocations: 136.5 kB / 1.115 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002386/0.6115, allocations: 39.94 kB / 1.115 GB, free: 2.543 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (sleRatLim.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001541/0.6117, allocations: 111.2 kB / 1.115 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002517/0.6119, allocations: 127.8 kB / 1.115 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.6119, allocations: 0 / 1.115 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.6121, allocations: 75.92 kB / 1.115 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.6124, allocations: 29.83 kB / 1.115 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005865/0.613, allocations: 269.9 kB / 1.115 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003964/0.6134, allocations: 0.7703 MB / 1.116 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.6134, allocations: 7.938 kB / 1.116 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of Templates: time 0.00489/0.6183, allocations: 2.594 MB / 1.119 GB, free: 14.57 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe 2>&1)