Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter,fileNamePrefix="Buildings_6_0_0_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 loadModel(Buildings): time 4.267/4.267, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5316/4.798, allocations: 104.3 MB / 0.5319 GB, free: 12.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/5.048, allocations: 98.73 MB / 0.6283 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2389/5.287, allocations: 124 MB / 0.7494 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/5.287, allocations: 75.59 kB / 0.7495 GB, free: 13.55 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.01839/5.306, allocations: 3.521 MB / 0.7529 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/5.306, allocations: 8 kB / 0.7529 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/5.306, allocations: 27.62 kB / 0.753 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003812/5.306, allocations: 229.6 kB / 0.7532 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/5.306, allocations: 8 kB / 0.7532 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.875e-05/5.307, allocations: 8 kB / 0.7532 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004327/5.307, allocations: 100 kB / 0.7533 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003993/5.307, allocations: 121.6 kB / 0.7534 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/5.307, allocations: 7.938 kB / 0.7534 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.076e-05/5.307, allocations: 3.906 kB / 0.7534 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/5.307, allocations: 0 / 0.7534 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002373/5.31, allocations: 0.6295 MB / 0.754 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003753/5.31, allocations: 122.5 kB / 0.7541 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/5.311, allocations: 65.17 kB / 0.7542 GB, free: 8.57 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.884e-05/5.311, allocations: 7.891 kB / 0.7542 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/5.311, allocations: 42.56 kB / 0.7542 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=17): time 3.066e-06/5.311, allocations: 0 / 0.7542 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17): time 0.000594/5.311, allocations: 149.4 kB / 0.7544 GB, free: 8.359 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/5.311, allocations: 55.41 kB / 0.7544 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/5.312, allocations: 172.2 kB / 0.7546 GB, free: 8.121 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/5.312, allocations: 25.7 kB / 0.7546 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.343e-05/5.312, allocations: 116.3 kB / 0.7547 GB, free: 7.973 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.952e-05/5.312, allocations: 59.11 kB / 0.7548 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.995e-05/5.312, allocations: 0 / 0.7548 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001399/5.312, allocations: 334.8 kB / 0.7551 GB, free: 7.578 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/5.312, allocations: 51.94 kB / 0.7552 GB, free: 7.527 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/5.312, allocations: 47.12 kB / 0.7552 GB, free: 7.484 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/5.313, allocations: 47.98 kB / 0.7553 GB, free: 7.438 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/5.313, allocations: 0 / 0.7553 GB, free: 7.438 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005099/5.313, allocations: 165.2 kB / 0.7554 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/5.313, allocations: 4 kB / 0.7554 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/5.313, allocations: 0 / 0.7554 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/5.313, allocations: 0 / 0.7554 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009769/5.314, allocations: 123.8 kB / 0.7555 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/5.314, allocations: 0 / 0.7555 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008798/5.315, allocations: 91.77 kB / 0.7556 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.985e-05/5.315, allocations: 4 kB / 0.7556 GB, free: 7.051 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 0.000185/5.315, allocations: 105 kB / 0.7557 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/5.316, allocations: 23.72 kB / 0.7558 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001353/5.316, allocations: 25.89 kB / 0.7558 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/5.316, allocations: 0 / 0.7558 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/5.316, allocations: 4 kB / 0.7558 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/5.316, allocations: 3.906 kB / 0.7558 GB, free: 6.887 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000675/5.316, allocations: 254 kB / 0.756 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/5.317, allocations: 0 / 0.756 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/5.318, allocations: 115.8 kB / 0.7561 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.204e-05/5.318, allocations: 4 kB / 0.7561 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.383e-05/5.318, allocations: 0 / 0.7561 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/5.318, allocations: 0 / 0.7561 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.812e-06/5.318, allocations: 3.984 kB / 0.7561 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001247/5.319, allocations: 353.4 kB / 0.7565 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001756/5.321, allocations: 0.8153 MB / 0.7573 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/5.321, allocations: 101.1 kB / 0.7574 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.747e-05/5.321, allocations: 0 / 0.7574 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/5.322, allocations: 83.98 kB / 0.7575 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/5.323, allocations: 27.88 kB / 0.7575 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.993e-05/5.323, allocations: 4 kB / 0.7575 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0002674/5.323, allocations: 144.5 kB / 0.7576 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002007/5.325, allocations: 32 kB / 0.7577 GB, free: 4.883 MB / 0.6355 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.0003319/5.325, allocations: 111.2 kB / 0.7578 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007198/5.326, allocations: 127.8 kB / 0.7579 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/5.326, allocations: 0 / 0.7579 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003678/5.327, allocations: 71.94 kB / 0.758 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008054/5.327, allocations: 36.34 kB / 0.758 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/5.329, allocations: 284.3 kB / 0.7583 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005859/5.329, allocations: 0.7703 MB / 0.759 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of SimCode: time 1.342e-06/5.329, allocations: 0 / 0.759 GB, free: 3.434 MB / 0.6355 GB