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.LessThreshold.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.LessThreshold,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",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.996/3.996, allocations: 433 MB / 440.3 MB, free: 4.734 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5058/4.502, allocations: 104.3 MB / 0.5319 GB, free: 12.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/4.729, allocations: 98.72 MB / 0.6283 GB, free: 9.738 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2369/4.965, allocations: 123.8 MB / 0.7492 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003208/4.966, allocations: 79.59 kB / 0.7492 GB, free: 13.73 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.004868/4.971, allocations: 1.002 MB / 0.7502 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/4.971, allocations: 8 kB / 0.7502 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.957e-05/4.971, allocations: 15.83 kB / 0.7502 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/4.971, allocations: 163 kB / 0.7504 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/4.971, allocations: 4 kB / 0.7504 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/4.971, allocations: 4 kB / 0.7504 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001259/4.971, allocations: 27.91 kB / 0.7504 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/4.971, allocations: 53.61 kB / 0.7505 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/4.971, allocations: 4 kB / 0.7505 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/4.971, allocations: 0 / 0.7505 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/4.971, allocations: 0 / 0.7505 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005285/4.972, allocations: 265.3 kB / 0.7507 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/4.972, allocations: 46.56 kB / 0.7508 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.829e-05/4.972, allocations: 16.89 kB / 0.7508 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/4.972, allocations: 0 / 0.7508 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/4.972, allocations: 34.5 kB / 0.7508 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/4.972, allocations: 0 / 0.7508 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002399/4.973, allocations: 57.73 kB / 0.7509 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/4.973, allocations: 55.41 kB / 0.7509 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.137e-05/4.973, allocations: 101.2 kB / 0.751 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/4.973, allocations: 25.7 kB / 0.7511 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.596e-05/4.973, allocations: 88.14 kB / 0.7512 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/4.973, allocations: 11.75 kB / 0.7512 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-06/4.973, allocations: 0 / 0.7512 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001355/4.973, allocations: 318.8 kB / 0.7515 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.399e-05/4.973, allocations: 8 kB / 0.7515 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.581e-05/4.973, allocations: 16 kB / 0.7515 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.531e-05/4.973, allocations: 8 kB / 0.7515 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/4.973, allocations: 0 / 0.7515 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001677/4.973, allocations: 69.64 kB / 0.7516 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/4.973, allocations: 8 kB / 0.7516 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/4.973, allocations: 0 / 0.7516 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/4.973, allocations: 0 / 0.7516 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/4.974, allocations: 15.98 kB / 0.7516 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/4.974, allocations: 8.062 kB / 0.7516 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/4.974, allocations: 11.98 kB / 0.7516 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/4.974, allocations: 0 / 0.7516 GB, free: 11.11 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: 2 (intLesThr.u,intLesThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.447e-05/4.974, allocations: 101 kB / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-05/4.974, allocations: 11.91 kB / 0.7517 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.7e-05/4.974, allocations: 4 kB / 0.7517 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/4.974, allocations: 4 kB / 0.7517 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/4.974, allocations: 4 kB / 0.7517 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/4.974, allocations: 0 / 0.7517 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/4.974, allocations: 154.1 kB / 0.7519 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/4.974, allocations: 3.938 kB / 0.7519 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/4.975, allocations: 15.98 kB / 0.7519 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/4.975, allocations: 3.938 kB / 0.7519 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/4.975, allocations: 0 / 0.7519 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/4.975, allocations: 4 kB / 0.7519 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/4.975, allocations: 0 / 0.7519 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002241/4.975, allocations: 155.4 kB / 0.752 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003095/4.975, allocations: 0.5233 MB / 0.7526 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.296e-05/4.975, allocations: 84.95 kB / 0.7526 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/4.975, allocations: 4 kB / 0.7526 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/4.975, allocations: 11.98 kB / 0.7527 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.307e-05/4.976, allocations: 15.92 kB / 0.7527 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/4.976, allocations: 11.92 kB / 0.7527 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.468e-05/4.976, allocations: 83.28 kB / 0.7528 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001128/4.977, allocations: 12 kB / 0.7528 GB, free: 9.809 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: 2 (intLesThr.u,intLesThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001785/4.977, allocations: 103.2 kB / 0.7529 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001681/4.977, allocations: 27.98 kB / 0.7529 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/4.977, allocations: 4 kB / 0.7529 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.826e-05/4.977, allocations: 20 kB / 0.7529 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/4.978, allocations: 10.98 kB / 0.7529 GB, free: 9.641 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004152/4.978, allocations: 79.72 kB / 0.753 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004047/4.978, allocations: 0.7032 MB / 0.7537 GB, free: 8.812 MB / 0.6355 GB Notification: Performance of SimCode: time 8.41e-07/4.978, allocations: 0 / 0.7537 GB, free: 8.812 MB / 0.6355 GB