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.Greater.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.Greater,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater",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.277/4.277, allocations: 433 MB / 440.3 MB, free: 24.67 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2654/4.542, allocations: 104.4 MB / 0.5319 GB, free: 4.434 MB / 434.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5817/5.124, allocations: 98.69 MB / 0.6283 GB, free: 0.6406 MB / 0.5027 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2692/5.393, allocations: 123.5 MB / 0.7489 GB, free: 5.645 MB / 0.6121 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003363/5.394, allocations: 75.8 kB / 0.7489 GB, free: 5.574 MB / 0.6121 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.006072/5.4, allocations: 0.9354 MB / 0.7499 GB, free: 4.594 MB / 0.6121 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/5.4, allocations: 8 kB / 0.7499 GB, free: 4.586 MB / 0.6121 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.201e-05/5.4, allocations: 7.906 kB / 0.7499 GB, free: 4.578 MB / 0.6121 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/5.4, allocations: 163.1 kB / 0.75 GB, free: 4.379 MB / 0.6121 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/5.4, allocations: 4 kB / 0.75 GB, free: 4.375 MB / 0.6121 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/5.4, allocations: 0 / 0.75 GB, free: 4.375 MB / 0.6121 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001232/5.4, allocations: 19.91 kB / 0.75 GB, free: 4.355 MB / 0.6121 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/5.4, allocations: 45.62 kB / 0.7501 GB, free: 4.305 MB / 0.6121 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/5.4, allocations: 4 kB / 0.7501 GB, free: 4.301 MB / 0.6121 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/5.4, allocations: 4.547 kB / 0.7501 GB, free: 4.297 MB / 0.6121 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/5.4, allocations: 0 / 0.7501 GB, free: 4.297 MB / 0.6121 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007355/5.401, allocations: 285.4 kB / 0.7504 GB, free: 3.98 MB / 0.6121 GB Notification: Performance of preOpt comSubExp (simulation): time 9.828e-05/5.401, allocations: 30.58 kB / 0.7504 GB, free: 3.941 MB / 0.6121 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.537e-05/5.401, allocations: 12.86 kB / 0.7504 GB, free: 3.926 MB / 0.6121 GB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/5.401, allocations: 7.938 kB / 0.7504 GB, free: 3.918 MB / 0.6121 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/5.401, allocations: 38.5 kB / 0.7505 GB, free: 3.871 MB / 0.6121 GB Notification: Performance of pre-optimization done (n=3): time 2.194e-06/5.401, allocations: 0 / 0.7505 GB, free: 3.871 MB / 0.6121 GB Notification: Performance of matching and sorting (n=3): time 0.0002115/5.402, allocations: 53.67 kB / 0.7505 GB, free: 3.812 MB / 0.6121 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/5.402, allocations: 51.41 kB / 0.7506 GB, free: 3.75 MB / 0.6121 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.864e-05/5.402, allocations: 101 kB / 0.7507 GB, free: 3.645 MB / 0.6121 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/5.402, allocations: 25.7 kB / 0.7507 GB, free: 3.613 MB / 0.6121 GB Notification: Performance of collectInitialEqns (initialization): time 5.672e-05/5.402, allocations: 96.06 kB / 0.7508 GB, free: 3.516 MB / 0.6121 GB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/5.402, allocations: 3.906 kB / 0.7508 GB, free: 3.512 MB / 0.6121 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-06/5.402, allocations: 0 / 0.7508 GB, free: 3.512 MB / 0.6121 GB Notification: Performance of setup shared object (initialization): time 0.0001355/5.402, allocations: 314.8 kB / 0.7511 GB, free: 3.195 MB / 0.6121 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.036e-05/5.402, allocations: 8 kB / 0.7511 GB, free: 3.188 MB / 0.6121 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.726e-05/5.402, allocations: 8 kB / 0.7511 GB, free: 3.18 MB / 0.6121 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.328e-05/5.402, allocations: 8 kB / 0.7511 GB, free: 3.172 MB / 0.6121 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/5.402, allocations: 0 / 0.7511 GB, free: 3.172 MB / 0.6121 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000141/5.402, allocations: 53.53 kB / 0.7511 GB, free: 3.113 MB / 0.6121 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/5.402, allocations: 8 kB / 0.7512 GB, free: 3.105 MB / 0.6121 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/5.402, allocations: 4 kB / 0.7512 GB, free: 3.102 MB / 0.6121 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/5.402, allocations: 0 / 0.7512 GB, free: 3.102 MB / 0.6121 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/5.403, allocations: 23.97 kB / 0.7512 GB, free: 3.078 MB / 0.6121 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/5.403, allocations: 0 / 0.7512 GB, free: 3.078 MB / 0.6121 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/5.403, allocations: 23.98 kB / 0.7512 GB, free: 3.055 MB / 0.6121 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/5.403, allocations: 0 / 0.7512 GB, free: 3.055 MB / 0.6121 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (greater1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.954e-05/5.403, allocations: 104.9 kB / 0.7513 GB, free: 2.945 MB / 0.6121 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.945e-05/5.403, allocations: 4 kB / 0.7513 GB, free: 2.941 MB / 0.6121 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.316e-05/5.403, allocations: 12 kB / 0.7513 GB, free: 2.926 MB / 0.6121 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/5.403, allocations: 3.906 kB / 0.7513 GB, free: 2.922 MB / 0.6121 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/5.403, allocations: 3.938 kB / 0.7513 GB, free: 2.918 MB / 0.6121 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/5.403, allocations: 3.984 kB / 0.7513 GB, free: 2.914 MB / 0.6121 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/5.403, allocations: 142.2 kB / 0.7515 GB, free: 2.738 MB / 0.6121 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/5.403, allocations: 0 / 0.7515 GB, free: 2.738 MB / 0.6121 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/5.404, allocations: 23.98 kB / 0.7515 GB, free: 2.715 MB / 0.6121 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/5.404, allocations: 0 / 0.7515 GB, free: 2.715 MB / 0.6121 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/5.404, allocations: 0 / 0.7515 GB, free: 2.715 MB / 0.6121 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/5.404, allocations: 0 / 0.7515 GB, free: 2.715 MB / 0.6121 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.929e-05/5.404, allocations: 3.938 kB / 0.7515 GB, free: 2.711 MB / 0.6121 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002222/5.404, allocations: 151.4 kB / 0.7516 GB, free: 2.547 MB / 0.6121 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004311/5.404, allocations: 0.5155 MB / 0.7521 GB, free: 2.012 MB / 0.6121 GB Notification: Performance of postOpt removeConstants (simulation): time 5.96e-05/5.404, allocations: 81.02 kB / 0.7522 GB, free: 1.914 MB / 0.6121 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/5.404, allocations: 0 / 0.7522 GB, free: 1.914 MB / 0.6121 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002629/5.405, allocations: 31.97 kB / 0.7522 GB, free: 1.883 MB / 0.6121 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.743e-05/5.405, allocations: 4 kB / 0.7523 GB, free: 1.879 MB / 0.6121 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/5.405, allocations: 0 / 0.7523 GB, free: 1.879 MB / 0.6121 GB Notification: Performance of sort global known variables: time 8.132e-05/5.405, allocations: 87.27 kB / 0.7523 GB, free: 1.793 MB / 0.6121 GB Notification: Performance of remove unused functions: time 0.001101/5.406, allocations: 11.91 kB / 0.7523 GB, free: 1.781 MB / 0.6121 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (greater1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002425/5.406, allocations: 103.2 kB / 0.7524 GB, free: 1.672 MB / 0.6121 GB Notification: Performance of simCode: created initialization part: time 0.000167/5.406, allocations: 24 kB / 0.7525 GB, free: 1.648 MB / 0.6121 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/5.406, allocations: 0 / 0.7525 GB, free: 1.648 MB / 0.6121 GB Notification: Performance of simCode: created simulation system equations: time 6.177e-05/5.407, allocations: 12 kB / 0.7525 GB, free: 1.637 MB / 0.6121 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/5.407, allocations: 7.984 kB / 0.7525 GB, free: 1.629 MB / 0.6121 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003627/5.407, allocations: 76.31 kB / 0.7526 GB, free: 1.531 MB / 0.6121 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004155/5.408, allocations: 0.6926 MB / 0.7532 GB, free: 0.8164 MB / 0.6121 GB Notification: Performance of SimCode: time 1.342e-06/5.408, allocations: 0 / 0.7532 GB, free: 0.8164 MB / 0.6121 GB