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.Less.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.Less,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",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.23/4.23, allocations: 433 MB / 440.3 MB, free: 4.832 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5873/4.817, allocations: 104.4 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/5.049, allocations: 98.72 MB / 0.6283 GB, free: 9.773 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2735/5.322, allocations: 123.5 MB / 0.7489 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/5.323, allocations: 75.59 kB / 0.749 GB, free: 14.07 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.004306/5.327, allocations: 0.9361 MB / 0.7499 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/5.327, allocations: 8 kB / 0.7499 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.342e-05/5.327, allocations: 7.906 kB / 0.7499 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/5.327, allocations: 163.1 kB / 0.75 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/5.327, allocations: 4 kB / 0.75 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/5.327, allocations: 0 / 0.75 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001165/5.327, allocations: 19.91 kB / 0.7501 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/5.327, allocations: 41.7 kB / 0.7501 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/5.327, allocations: 0 / 0.7501 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/5.327, allocations: 3.984 kB / 0.7501 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/5.327, allocations: 4 kB / 0.7501 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007716/5.328, allocations: 289.3 kB / 0.7504 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/5.328, allocations: 30.58 kB / 0.7504 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.022e-05/5.328, allocations: 8.859 kB / 0.7504 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/5.328, allocations: 8 kB / 0.7504 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/5.329, allocations: 34.56 kB / 0.7505 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.455e-06/5.329, allocations: 0 / 0.7505 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002173/5.329, allocations: 49.64 kB / 0.7505 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/5.329, allocations: 55.39 kB / 0.7506 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/5.329, allocations: 101 kB / 0.7507 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/5.329, allocations: 25.7 kB / 0.7507 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.291e-05/5.329, allocations: 84.14 kB / 0.7508 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/5.329, allocations: 19.83 kB / 0.7508 GB, free: 12 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/5.329, allocations: 0 / 0.7508 GB, free: 12 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001254/5.329, allocations: 310.8 kB / 0.7511 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.998e-05/5.329, allocations: 8 kB / 0.7511 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.848e-05/5.329, allocations: 8 kB / 0.7511 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.196e-05/5.329, allocations: 4 kB / 0.7511 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/5.329, allocations: 3.938 kB / 0.7511 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001366/5.329, allocations: 57.53 kB / 0.7512 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/5.33, allocations: 8 kB / 0.7512 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/5.33, allocations: 0 / 0.7512 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/5.33, allocations: 4 kB / 0.7512 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/5.33, allocations: 24.11 kB / 0.7512 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/5.33, allocations: 0 / 0.7512 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/5.33, allocations: 27.97 kB / 0.7512 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/5.33, allocations: 0 / 0.7512 GB, free: 11.54 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: 1 (less1.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.092e-05/5.33, allocations: 104.9 kB / 0.7513 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/5.33, allocations: 7.984 kB / 0.7513 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.497e-05/5.33, allocations: 12 kB / 0.7513 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.351e-06/5.33, allocations: 3.906 kB / 0.7513 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/5.33, allocations: 0 / 0.7513 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/5.33, allocations: 0 / 0.7513 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/5.331, allocations: 150.2 kB / 0.7515 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/5.331, allocations: 0 / 0.7515 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/5.331, allocations: 23.98 kB / 0.7515 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/5.331, allocations: 0 / 0.7515 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/5.331, allocations: 0 / 0.7515 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/5.331, allocations: 0 / 0.7515 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/5.331, allocations: 4 kB / 0.7515 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002082/5.331, allocations: 147.4 kB / 0.7516 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003251/5.331, allocations: 0.5155 MB / 0.7522 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.483e-05/5.331, allocations: 81.02 kB / 0.7522 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/5.331, allocations: 0 / 0.7522 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002996/5.332, allocations: 27.97 kB / 0.7523 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.291e-05/5.332, allocations: 8 kB / 0.7523 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/5.332, allocations: 0 / 0.7523 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.094e-05/5.332, allocations: 87.27 kB / 0.7523 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001098/5.333, allocations: 11.91 kB / 0.7524 GB, free: 10.27 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: 1 (less1.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.000177/5.333, allocations: 99.25 kB / 0.7525 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001446/5.333, allocations: 19.94 kB / 0.7525 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/5.333, allocations: 4 kB / 0.7525 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.871e-05/5.334, allocations: 16 kB / 0.7525 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/5.334, allocations: 6.578 kB / 0.7525 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003377/5.334, allocations: 75.7 kB / 0.7526 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003837/5.335, allocations: 0.6954 MB / 0.7532 GB, free: 9.305 MB / 0.6355 GB Notification: Performance of SimCode: time 1.022e-06/5.335, allocations: 0 / 0.7532 GB, free: 9.305 MB / 0.6355 GB