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.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.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_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 4.368/4.368, allocations: 433 MB / 440.3 MB, free: 8.453 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.5378/4.906, allocations: 104.4 MB / 0.5319 GB, free: 16.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/5.156, allocations: 98.72 MB / 0.6283 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2636/5.42, allocations: 123.4 MB / 0.7488 GB, free: 5.215 MB / 0.6231 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/5.42, allocations: 71.94 kB / 0.7489 GB, free: 5.145 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.002842/5.423, allocations: 0.656 MB / 0.7496 GB, free: 4.445 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/5.423, allocations: 8 kB / 0.7496 GB, free: 4.438 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/5.423, allocations: 4 kB / 0.7496 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/5.423, allocations: 163 kB / 0.7497 GB, free: 4.234 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/5.423, allocations: 0 / 0.7497 GB, free: 4.234 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/5.423, allocations: 7.938 kB / 0.7497 GB, free: 4.227 MB / 0.6231 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.182e-05/5.424, allocations: 8 kB / 0.7497 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.496e-05/5.424, allocations: 41.69 kB / 0.7498 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/5.424, allocations: 0 / 0.7498 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/5.424, allocations: 0 / 0.7498 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/5.424, allocations: 0 / 0.7498 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005451/5.424, allocations: 249.4 kB / 0.75 GB, free: 3.891 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 7.76e-05/5.424, allocations: 30.55 kB / 0.75 GB, free: 3.852 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.088e-05/5.424, allocations: 12.64 kB / 0.7501 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/5.424, allocations: 0 / 0.7501 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/5.425, allocations: 34.56 kB / 0.7501 GB, free: 3.797 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/5.425, allocations: 0 / 0.7501 GB, free: 3.797 MB / 0.6231 GB Notification: Performance of matching and sorting (n=2): time 0.0001815/5.425, allocations: 45.61 kB / 0.7501 GB, free: 3.746 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/5.425, allocations: 59.34 kB / 0.7502 GB, free: 3.676 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/5.425, allocations: 93 kB / 0.7503 GB, free: 3.578 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/5.425, allocations: 25.7 kB / 0.7503 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/5.425, allocations: 84.12 kB / 0.7504 GB, free: 3.461 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/5.425, allocations: 7.844 kB / 0.7504 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/5.425, allocations: 0 / 0.7504 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.00014/5.425, allocations: 318.8 kB / 0.7507 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.421e-05/5.425, allocations: 4.031 kB / 0.7507 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.552e-05/5.425, allocations: 8 kB / 0.7507 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.054e-05/5.425, allocations: 7.938 kB / 0.7507 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/5.425, allocations: 0 / 0.7507 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001591/5.426, allocations: 41.69 kB / 0.7508 GB, free: 3.066 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/5.426, allocations: 4 kB / 0.7508 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/5.426, allocations: 0 / 0.7508 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/5.426, allocations: 4 kB / 0.7508 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/5.426, allocations: 16 kB / 0.7508 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/5.426, allocations: 0 / 0.7508 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/5.426, allocations: 11.98 kB / 0.7508 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/5.426, allocations: 0 / 0.7508 GB, free: 3.031 MB / 0.6231 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 (lesThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.363e-05/5.426, allocations: 105 kB / 0.7509 GB, free: 2.922 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.04e-05/5.426, allocations: 11.89 kB / 0.7509 GB, free: 2.91 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.936e-05/5.426, allocations: 7.297 kB / 0.7509 GB, free: 2.906 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/5.426, allocations: 0 / 0.7509 GB, free: 2.906 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/5.426, allocations: 0 / 0.7509 GB, free: 2.906 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/5.426, allocations: 0 / 0.7509 GB, free: 2.906 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/5.426, allocations: 134.2 kB / 0.751 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/5.426, allocations: 0 / 0.751 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/5.427, allocations: 15.98 kB / 0.751 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/5.427, allocations: 0 / 0.751 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/5.427, allocations: 7.938 kB / 0.7511 GB, free: 2.715 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/5.427, allocations: 0 / 0.7511 GB, free: 2.715 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/5.427, allocations: 3.906 kB / 0.7511 GB, free: 2.711 MB / 0.6231 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001571/5.427, allocations: 131.5 kB / 0.7512 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002819/5.427, allocations: 0.5077 MB / 0.7517 GB, free: 2.039 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/5.427, allocations: 81.05 kB / 0.7518 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/5.427, allocations: 11.83 kB / 0.7518 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/5.427, allocations: 8 kB / 0.7518 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/5.427, allocations: 8.016 kB / 0.7518 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/5.427, allocations: 4.25 kB / 0.7518 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6.006e-05/5.428, allocations: 91.22 kB / 0.7519 GB, free: 1.82 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001629/5.429, allocations: 4 kB / 0.7519 GB, free: 1.816 MB / 0.6231 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 (lesThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002243/5.429, allocations: 99.25 kB / 0.752 GB, free: 1.707 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001394/5.43, allocations: 12 kB / 0.752 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/5.43, allocations: 0 / 0.752 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 3.72e-05/5.43, allocations: 4 kB / 0.752 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/5.43, allocations: 20.05 kB / 0.752 GB, free: 1.672 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/5.43, allocations: 63.77 kB / 0.7521 GB, free: 1.586 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003606/5.431, allocations: 0.688 MB / 0.7527 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of SimCode: time 1.022e-06/5.431, allocations: 0 / 0.7527 GB, free: 0.8711 MB / 0.6231 GB