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.GreaterEqualThreshold.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.GreaterEqualThreshold,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",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.896/3.896, allocations: 433 MB / 440.3 MB, free: 4.832 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5045/4.4, allocations: 104.4 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/4.622, allocations: 98.73 MB / 0.6283 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2226/4.845, allocations: 123.8 MB / 0.7492 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/4.845, allocations: 71.59 kB / 0.7492 GB, free: 13.81 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.004768/4.85, allocations: 1.004 MB / 0.7502 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/4.85, allocations: 8 kB / 0.7502 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/4.85, allocations: 3.906 kB / 0.7502 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/4.85, allocations: 171 kB / 0.7504 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/4.85, allocations: 0 / 0.7504 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/4.85, allocations: 7.984 kB / 0.7504 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001233/4.85, allocations: 23.91 kB / 0.7504 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/4.85, allocations: 57.61 kB / 0.7505 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/4.85, allocations: 4 kB / 0.7505 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/4.85, allocations: 0 / 0.7505 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/4.85, allocations: 8 kB / 0.7505 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005137/4.851, allocations: 253.4 kB / 0.7507 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/4.851, allocations: 46.58 kB / 0.7508 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.29e-05/4.851, allocations: 20.97 kB / 0.7508 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/4.851, allocations: 3.984 kB / 0.7508 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/4.851, allocations: 34.56 kB / 0.7508 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.733e-06/4.851, allocations: 0 / 0.7508 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0003451/4.852, allocations: 57.59 kB / 0.7509 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/4.852, allocations: 51.41 kB / 0.7509 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/4.852, allocations: 97 kB / 0.751 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/4.852, allocations: 25.7 kB / 0.7511 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.629e-05/4.852, allocations: 92.12 kB / 0.7511 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/4.852, allocations: 11.89 kB / 0.7512 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.725e-06/4.852, allocations: 3.938 kB / 0.7512 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001471/4.852, allocations: 310.8 kB / 0.7515 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.729e-05/4.852, allocations: 12 kB / 0.7515 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.573e-05/4.852, allocations: 11.98 kB / 0.7515 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.279e-05/4.852, allocations: 15.94 kB / 0.7515 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/4.852, allocations: 0 / 0.7515 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002265/4.853, allocations: 57.59 kB / 0.7515 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/4.853, allocations: 4 kB / 0.7516 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/4.853, allocations: 0 / 0.7516 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/4.853, allocations: 11.94 kB / 0.7516 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/4.853, allocations: 11.98 kB / 0.7516 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/4.853, allocations: 0 / 0.7516 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/4.853, allocations: 11.98 kB / 0.7516 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/4.853, allocations: 4 kB / 0.7516 GB, free: 11.2 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 (intGreEquThr.u,intGreEquThr.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.88e-05/4.853, allocations: 105 kB / 0.7517 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/4.853, allocations: 7.906 kB / 0.7517 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.557e-05/4.853, allocations: 12.17 kB / 0.7517 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/4.853, allocations: 3.984 kB / 0.7517 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/4.853, allocations: 0 / 0.7517 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/4.853, allocations: 0 / 0.7517 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/4.854, allocations: 154.1 kB / 0.7519 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/4.854, allocations: 0 / 0.7519 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002743/4.854, allocations: 23.92 kB / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/4.854, allocations: 0 / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/4.854, allocations: 3.984 kB / 0.7519 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/4.854, allocations: 4 kB / 0.7519 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/4.854, allocations: 0 / 0.7519 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002305/4.854, allocations: 147.5 kB / 0.752 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003595/4.855, allocations: 0.5272 MB / 0.7525 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.854e-05/4.855, allocations: 88.95 kB / 0.7526 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/4.855, allocations: 3.938 kB / 0.7526 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/4.855, allocations: 11.98 kB / 0.7526 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.063e-05/4.855, allocations: 15.98 kB / 0.7527 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/4.855, allocations: 7.938 kB / 0.7527 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.865e-05/4.855, allocations: 83.28 kB / 0.7527 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001159/4.856, allocations: 12 kB / 0.7528 GB, free: 9.902 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 (intGreEquThr.u,intGreEquThr.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.0001799/4.856, allocations: 107.2 kB / 0.7529 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001696/4.857, allocations: 24 kB / 0.7529 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/4.857, allocations: 0 / 0.7529 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.126e-05/4.857, allocations: 27.92 kB / 0.7529 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/4.857, allocations: 11.91 kB / 0.7529 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005297/4.858, allocations: 79.7 kB / 0.753 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005752/4.858, allocations: 0.6954 MB / 0.7537 GB, free: 8.906 MB / 0.6355 GB Notification: Performance of SimCode: time 1.242e-06/4.858, allocations: 0 / 0.7537 GB, free: 8.906 MB / 0.6355 GB