Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.3-maint.7.0.x/package.mo): time 1.267/1.267, allocations: 249.4 MB / 256.7 MB, free: 7.039 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009484/0.0009485, allocations: 181.3 kB / 316 MB, free: 3.535 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.1/1.1, allocations: 205.2 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008936/0.0008936, allocations: 95.25 kB / 0.671 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3344/0.3353, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.5051, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4594/0.9645, allocations: 132.2 MB / 1.014 GB, free: 6.598 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001876/0.9648, allocations: 72.58 kB / 1.014 GB, free: 6.559 MB / 0.6355 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.00993/0.9747, allocations: 3.521 MB / 1.017 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.9748, allocations: 8 kB / 1.017 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.18e-05/0.9748, allocations: 27.62 kB / 1.017 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.9751, allocations: 232.2 kB / 1.018 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.9751, allocations: 8 kB / 1.018 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.9751, allocations: 4 kB / 1.018 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002138/0.9753, allocations: 101.7 kB / 1.018 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.9756, allocations: 120.5 kB / 1.018 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.9756, allocations: 1.031 kB / 1.018 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.9756, allocations: 3.906 kB / 1.018 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.9756, allocations: 7.984 kB / 1.018 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.9769, allocations: 0.6263 MB / 1.018 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.9771, allocations: 124.8 kB / 1.018 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.9772, allocations: 61.11 kB / 1.019 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.576e-05/0.9773, allocations: 4.312 kB / 1.019 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.9773, allocations: 37.91 kB / 1.019 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.9773, allocations: 0 / 1.019 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17): time 0.0003609/0.9777, allocations: 154.5 kB / 1.019 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.9777, allocations: 51.41 kB / 1.019 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.9779, allocations: 180 kB / 1.019 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.9779, allocations: 29.64 kB / 1.019 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.721e-05/0.978, allocations: 118 kB / 1.019 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.671e-05/0.978, allocations: 60.34 kB / 1.019 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.171e-05/0.978, allocations: 0 / 1.019 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.9781, allocations: 329.8 kB / 1.019 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.614e-05/0.9782, allocations: 49.19 kB / 1.02 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.066e-05/0.9783, allocations: 49.5 kB / 1.02 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.9785, allocations: 45.05 kB / 1.02 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.9785, allocations: 0 / 1.02 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002644/0.9787, allocations: 167.3 kB / 1.02 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.9788, allocations: 4 kB / 1.02 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.9788, allocations: 3.375 kB / 1.02 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.9788, allocations: 4 kB / 1.02 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004823/0.9793, allocations: 111.8 kB / 1.02 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.9793, allocations: 0 / 1.02 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003422/0.9796, allocations: 99.08 kB / 1.02 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.9797, allocations: 4 kB / 1.02 GB, free: 0.8438 MB / 0.6355 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 7.253e-05/0.9797, allocations: 105 kB / 1.02 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.511e-05/0.9798, allocations: 19.72 kB / 1.02 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.609e-05/0.9799, allocations: 27.14 kB / 1.02 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.9799, allocations: 4 kB / 1.02 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.9799, allocations: 7.984 kB / 1.02 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.9799, allocations: 0 / 1.02 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.9801, allocations: 251.5 kB / 1.02 GB, free: 456 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.9801, allocations: 3.906 kB / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004575/0.9806, allocations: 115.8 kB / 1.02 GB, free: 336 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.9806, allocations: 0 / 1.02 GB, free: 336 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.9807, allocations: 3.938 kB / 1.02 GB, free: 332 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.9807, allocations: 0 / 1.02 GB, free: 332 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.9807, allocations: 4 kB / 1.02 GB, free: 328 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004711/0.9811, allocations: 350.6 kB / 1.021 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007271/0.9819, allocations: 0.809 MB / 1.022 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.149e-05/0.982, allocations: 97.08 kB / 1.022 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.088e-05/0.982, allocations: 7.984 kB / 1.022 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003873/0.9824, allocations: 87.55 kB / 1.022 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.541e-05/0.9825, allocations: 26.38 kB / 1.022 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.9825, allocations: 4 kB / 1.022 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001052/0.9826, allocations: 140.4 kB / 1.022 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007885/0.9834, allocations: 39.94 kB / 1.022 GB, free: 14.97 MB / 0.6511 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.0001701/0.9836, allocations: 107.2 kB / 1.022 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000285/0.9839, allocations: 126.5 kB / 1.022 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.9839, allocations: 3.938 kB / 1.022 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.984, allocations: 74.25 kB / 1.022 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.9844, allocations: 24.19 kB / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007274/0.9851, allocations: 292.1 kB / 1.023 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003836/0.9855, allocations: 0.7737 MB / 1.023 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of SimCode: time 2.7e-07/0.9855, allocations: 0 / 1.023 GB, free: 13.62 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_SlewRateLimiter_fmu --startTime=0 --stopTime=480 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_SlewRateLimiter.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe 2>&1)