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.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.Continuous.Validation.LessEqual,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_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 4.291/4.291, allocations: 433 MB / 440.3 MB, free: 24.69 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2882/4.579, allocations: 104.4 MB / 0.5319 GB, free: 4.457 MB / 434.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5912/5.17, allocations: 98.7 MB / 0.6283 GB, free: 0.6562 MB / 0.5027 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3331/5.503, allocations: 123.5 MB / 0.7489 GB, free: 5.676 MB / 0.6121 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003851/5.504, allocations: 79.83 kB / 0.7489 GB, free: 5.602 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.006279/5.51, allocations: 0.9198 MB / 0.7498 GB, free: 4.637 MB / 0.6121 GB Notification: Performance of prepare preOptimizeDAE: time 6.172e-05/5.51, allocations: 8 kB / 0.7498 GB, free: 4.629 MB / 0.6121 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.027e-05/5.51, allocations: 3.906 kB / 0.7498 GB, free: 4.625 MB / 0.6121 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/5.51, allocations: 163.1 kB / 0.75 GB, free: 4.426 MB / 0.6121 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/5.51, allocations: 0 / 0.75 GB, free: 4.426 MB / 0.6121 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/5.51, allocations: 4 kB / 0.75 GB, free: 4.422 MB / 0.6121 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00016/5.511, allocations: 19.91 kB / 0.75 GB, free: 4.402 MB / 0.6121 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/5.511, allocations: 45.69 kB / 0.7501 GB, free: 4.352 MB / 0.6121 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/5.511, allocations: 7.938 kB / 0.7501 GB, free: 4.344 MB / 0.6121 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/5.511, allocations: 0 / 0.7501 GB, free: 4.344 MB / 0.6121 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/5.511, allocations: 4 kB / 0.7501 GB, free: 4.34 MB / 0.6121 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/5.512, allocations: 281.4 kB / 0.7504 GB, free: 4.027 MB / 0.6121 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/5.512, allocations: 35.12 kB / 0.7504 GB, free: 3.984 MB / 0.6121 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.546e-05/5.512, allocations: 20.94 kB / 0.7504 GB, free: 3.961 MB / 0.6121 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/5.512, allocations: 3.984 kB / 0.7504 GB, free: 3.957 MB / 0.6121 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/5.512, allocations: 30.56 kB / 0.7504 GB, free: 3.918 MB / 0.6121 GB Notification: Performance of pre-optimization done (n=3): time 6.322e-06/5.512, allocations: 0 / 0.7504 GB, free: 3.918 MB / 0.6121 GB Notification: Performance of matching and sorting (n=3): time 0.0002866/5.513, allocations: 53.48 kB / 0.7505 GB, free: 3.859 MB / 0.6121 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/5.513, allocations: 55.41 kB / 0.7505 GB, free: 3.793 MB / 0.6121 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/5.513, allocations: 101 kB / 0.7506 GB, free: 3.688 MB / 0.6121 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/5.513, allocations: 25.7 kB / 0.7507 GB, free: 3.656 MB / 0.6121 GB Notification: Performance of collectInitialEqns (initialization): time 8.195e-05/5.513, allocations: 92.08 kB / 0.7507 GB, free: 3.562 MB / 0.6121 GB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/5.513, allocations: 3.906 kB / 0.7508 GB, free: 3.559 MB / 0.6121 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.694e-06/5.513, allocations: 0 / 0.7508 GB, free: 3.559 MB / 0.6121 GB Notification: Performance of setup shared object (initialization): time 0.0001907/5.513, allocations: 322.8 kB / 0.7511 GB, free: 3.234 MB / 0.6121 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.24e-05/5.513, allocations: 4 kB / 0.7511 GB, free: 3.23 MB / 0.6121 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.75e-05/5.513, allocations: 8 kB / 0.7511 GB, free: 3.223 MB / 0.6121 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.652e-05/5.514, allocations: 8 kB / 0.7511 GB, free: 3.215 MB / 0.6121 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/5.514, allocations: 3.938 kB / 0.7511 GB, free: 3.211 MB / 0.6121 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002131/5.514, allocations: 49.59 kB / 0.7511 GB, free: 3.156 MB / 0.6121 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/5.514, allocations: 11.94 kB / 0.7511 GB, free: 3.145 MB / 0.6121 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/5.514, allocations: 4 kB / 0.7511 GB, free: 3.141 MB / 0.6121 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/5.514, allocations: 0 / 0.7511 GB, free: 3.141 MB / 0.6121 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/5.514, allocations: 19.98 kB / 0.7512 GB, free: 3.121 MB / 0.6121 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/5.514, allocations: 0 / 0.7512 GB, free: 3.121 MB / 0.6121 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/5.515, allocations: 19.98 kB / 0.7512 GB, free: 3.102 MB / 0.6121 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/5.515, allocations: 0 / 0.7512 GB, free: 3.102 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 (lesEqu.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 0.0001351/5.515, allocations: 119.8 kB / 0.7513 GB, free: 2.98 MB / 0.6121 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.528e-05/5.515, allocations: 4 kB / 0.7513 GB, free: 2.977 MB / 0.6121 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.404e-05/5.515, allocations: 8 kB / 0.7513 GB, free: 2.965 MB / 0.6121 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/5.515, allocations: 3.906 kB / 0.7513 GB, free: 2.961 MB / 0.6121 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/5.515, allocations: 0 / 0.7513 GB, free: 2.961 MB / 0.6121 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/5.515, allocations: 0 / 0.7513 GB, free: 2.961 MB / 0.6121 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/5.515, allocations: 146.2 kB / 0.7515 GB, free: 2.781 MB / 0.6121 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/5.515, allocations: 0 / 0.7515 GB, free: 2.781 MB / 0.6121 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003124/5.516, allocations: 27.97 kB / 0.7515 GB, free: 2.754 MB / 0.6121 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/5.516, allocations: 0 / 0.7515 GB, free: 2.754 MB / 0.6121 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/5.516, allocations: 0 / 0.7515 GB, free: 2.754 MB / 0.6121 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/5.516, allocations: 0 / 0.7515 GB, free: 2.754 MB / 0.6121 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/5.516, allocations: 0 / 0.7515 GB, free: 2.754 MB / 0.6121 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000353/5.516, allocations: 147.4 kB / 0.7516 GB, free: 2.594 MB / 0.6121 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004535/5.517, allocations: 0.5155 MB / 0.7521 GB, free: 2.059 MB / 0.6121 GB Notification: Performance of postOpt removeConstants (simulation): time 8.162e-05/5.517, allocations: 85.02 kB / 0.7522 GB, free: 1.957 MB / 0.6121 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/5.517, allocations: 3.938 kB / 0.7522 GB, free: 1.953 MB / 0.6121 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/5.517, allocations: 19.98 kB / 0.7522 GB, free: 1.934 MB / 0.6121 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.367e-05/5.517, allocations: 7.984 kB / 0.7522 GB, free: 1.926 MB / 0.6121 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/5.517, allocations: 0 / 0.7522 GB, free: 1.926 MB / 0.6121 GB Notification: Performance of sort global known variables: time 6.687e-05/5.517, allocations: 83.28 kB / 0.7523 GB, free: 1.844 MB / 0.6121 GB Notification: Performance of remove unused functions: time 0.001154/5.518, allocations: 11.91 kB / 0.7523 GB, free: 1.832 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 (lesEqu.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.0001784/5.519, allocations: 102.5 kB / 0.7524 GB, free: 1.727 MB / 0.6121 GB Notification: Performance of simCode: created initialization part: time 0.0001635/5.519, allocations: 32.2 kB / 0.7525 GB, free: 1.695 MB / 0.6121 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/5.519, allocations: 0 / 0.7525 GB, free: 1.695 MB / 0.6121 GB Notification: Performance of simCode: created simulation system equations: time 6.028e-05/5.519, allocations: 12 kB / 0.7525 GB, free: 1.684 MB / 0.6121 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/5.519, allocations: 8.547 kB / 0.7525 GB, free: 1.676 MB / 0.6121 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005019/5.52, allocations: 76.56 kB / 0.7525 GB, free: 1.578 MB / 0.6121 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000642/5.52, allocations: 0.7003 MB / 0.7532 GB, free: 0.8555 MB / 0.6121 GB Notification: Performance of SimCode: time 1.582e-06/5.521, allocations: 0 / 0.7532 GB, free: 0.8555 MB / 0.6121 GB