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.Integers.Validation.LessEqual.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.Integers.Validation.LessEqual,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual",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 3.803/3.803, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5464/4.35, allocations: 104.3 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/4.577, allocations: 98.72 MB / 0.6283 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3079/4.885, allocations: 123.9 MB / 0.7493 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003952/4.886, allocations: 79.58 kB / 0.7493 GB, free: 13.67 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.01138/4.897, allocations: 1.545 MB / 0.7508 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/4.897, allocations: 15.94 kB / 0.7509 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.87e-05/4.897, allocations: 11.81 kB / 0.7509 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/4.898, allocations: 167 kB / 0.751 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.21e-05/4.898, allocations: 7.906 kB / 0.751 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/4.898, allocations: 4 kB / 0.751 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003006/4.898, allocations: 47.92 kB / 0.7511 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/4.898, allocations: 73.59 kB / 0.7512 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/4.898, allocations: 0 / 0.7512 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.47e-05/4.898, allocations: 0 / 0.7512 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/4.898, allocations: 4 kB / 0.7512 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/4.9, allocations: 321.1 kB / 0.7515 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/4.901, allocations: 90.64 kB / 0.7516 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/4.901, allocations: 28.86 kB / 0.7516 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/4.901, allocations: 0 / 0.7516 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/4.901, allocations: 34.56 kB / 0.7516 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.856e-06/4.901, allocations: 0 / 0.7516 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0004786/4.901, allocations: 85.52 kB / 0.7517 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/4.902, allocations: 51.41 kB / 0.7517 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/4.902, allocations: 109 kB / 0.7519 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/4.902, allocations: 25.7 kB / 0.7519 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.443e-05/4.902, allocations: 96.05 kB / 0.752 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.152e-05/4.902, allocations: 19.73 kB / 0.752 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.675e-05/4.902, allocations: 0 / 0.752 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001687/4.902, allocations: 318.8 kB / 0.7523 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/4.902, allocations: 20 kB / 0.7523 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/4.902, allocations: 23.98 kB / 0.7523 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/4.903, allocations: 16.22 kB / 0.7523 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/4.903, allocations: 3.938 kB / 0.7524 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003821/4.903, allocations: 89.72 kB / 0.7524 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/4.903, allocations: 8 kB / 0.7524 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/4.903, allocations: 0 / 0.7524 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/4.903, allocations: 0 / 0.7524 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000531/4.904, allocations: 35.91 kB / 0.7525 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/4.904, allocations: 0 / 0.7525 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003676/4.904, allocations: 19.98 kB / 0.7525 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/4.904, allocations: 7.984 kB / 0.7525 GB, free: 10.22 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: 3 (intLesEqu.u1,intLesEqu.u2,intLesEqu.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001303/4.904, allocations: 105 kB / 0.7526 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.847e-05/4.904, allocations: 7.906 kB / 0.7526 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.813e-05/4.904, allocations: 8.375 kB / 0.7526 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/4.904, allocations: 7.906 kB / 0.7526 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/4.905, allocations: 0 / 0.7526 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/4.905, allocations: 3.984 kB / 0.7526 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004066/4.905, allocations: 182.1 kB / 0.7528 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/4.905, allocations: 0 / 0.7528 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004448/4.905, allocations: 31.97 kB / 0.7528 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/4.905, allocations: 0 / 0.7528 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/4.905, allocations: 4 kB / 0.7528 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/4.906, allocations: 3.906 kB / 0.7528 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/4.906, allocations: 0 / 0.7528 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004449/4.906, allocations: 179.4 kB / 0.753 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005678/4.907, allocations: 0.5506 MB / 0.7536 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.272e-05/4.907, allocations: 85.02 kB / 0.7536 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.951e-05/4.907, allocations: 3.984 kB / 0.7536 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000443/4.907, allocations: 19.98 kB / 0.7537 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/4.907, allocations: 19.97 kB / 0.7537 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/4.907, allocations: 8 kB / 0.7537 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001048/4.908, allocations: 95.2 kB / 0.7538 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002049/4.91, allocations: 15.91 kB / 0.7538 GB, free: 8.805 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (intLesEqu.u1,intLesEqu.u2,intLesEqu.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.00025/4.91, allocations: 107.1 kB / 0.7539 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003417/4.91, allocations: 51.98 kB / 0.7539 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/4.91, allocations: 4 kB / 0.7539 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002047/4.911, allocations: 43.92 kB / 0.754 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/4.911, allocations: 4 kB / 0.754 GB, free: 8.59 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007298/4.912, allocations: 115.5 kB / 0.7541 GB, free: 8.453 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005773/4.912, allocations: 0.7114 MB / 0.7548 GB, free: 7.715 MB / 0.6355 GB Notification: Performance of SimCode: time 1.253e-06/4.912, allocations: 0 / 0.7548 GB, free: 7.715 MB / 0.6355 GB