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.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.Continuous.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_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 4.177/4.177, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5669/4.744, allocations: 104.4 MB / 0.5319 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/4.992, allocations: 98.72 MB / 0.6283 GB, free: 9.773 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2358/5.228, allocations: 123.4 MB / 0.7488 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/5.228, allocations: 71.59 kB / 0.7489 GB, free: 14.11 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.002722/5.231, allocations: 0.6703 MB / 0.7496 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/5.231, allocations: 8 kB / 0.7496 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/5.231, allocations: 4 kB / 0.7496 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/5.231, allocations: 167 kB / 0.7497 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/5.231, allocations: 8 kB / 0.7497 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/5.231, allocations: 3.938 kB / 0.7497 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.882e-05/5.231, allocations: 12 kB / 0.7498 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.654e-05/5.231, allocations: 37.62 kB / 0.7498 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/5.231, allocations: 0 / 0.7498 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/5.231, allocations: 0 / 0.7498 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/5.231, allocations: 0 / 0.7498 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005248/5.232, allocations: 245.4 kB / 0.75 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.343e-05/5.232, allocations: 26.58 kB / 0.7501 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.799e-05/5.232, allocations: 16.86 kB / 0.7501 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/5.232, allocations: 0 / 0.7501 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/5.232, allocations: 34.56 kB / 0.7501 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/5.232, allocations: 0 / 0.7501 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001752/5.232, allocations: 41.64 kB / 0.7501 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/5.232, allocations: 55.41 kB / 0.7502 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.806e-05/5.233, allocations: 89 kB / 0.7503 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/5.233, allocations: 29.7 kB / 0.7503 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.022e-05/5.233, allocations: 84.14 kB / 0.7504 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/5.233, allocations: 7.938 kB / 0.7504 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/5.233, allocations: 0 / 0.7504 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001256/5.233, allocations: 314.8 kB / 0.7507 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.776e-05/5.233, allocations: 8 kB / 0.7507 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.331e-05/5.233, allocations: 4 kB / 0.7507 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.568e-05/5.233, allocations: 3.938 kB / 0.7507 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/5.233, allocations: 7.938 kB / 0.7507 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001051/5.233, allocations: 37.7 kB / 0.7508 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/5.233, allocations: 4.094 kB / 0.7508 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/5.233, allocations: 4 kB / 0.7508 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/5.233, allocations: 0 / 0.7508 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/5.233, allocations: 15.89 kB / 0.7508 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/5.233, allocations: 0 / 0.7508 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/5.233, allocations: 15.98 kB / 0.7508 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/5.233, allocations: 4 kB / 0.7508 GB, free: 11.97 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 (greEquThr.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 8.204e-05/5.234, allocations: 101 kB / 0.7509 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/5.234, allocations: 3.906 kB / 0.7509 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.647e-05/5.234, allocations: 7.312 kB / 0.7509 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/5.234, allocations: 4 kB / 0.7509 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/5.234, allocations: 0 / 0.7509 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.371e-06/5.234, allocations: 0 / 0.7509 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/5.234, allocations: 138.2 kB / 0.751 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/5.234, allocations: 4 kB / 0.751 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/5.234, allocations: 11.98 kB / 0.7511 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/5.234, allocations: 0 / 0.7511 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/5.234, allocations: 0 / 0.7511 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/5.234, allocations: 3.938 kB / 0.7511 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/5.234, allocations: 7.844 kB / 0.7511 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001523/5.234, allocations: 135.8 kB / 0.7512 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003212/5.235, allocations: 0.5038 MB / 0.7517 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.725e-05/5.235, allocations: 81.11 kB / 0.7518 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/5.235, allocations: 3.906 kB / 0.7518 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/5.235, allocations: 16.05 kB / 0.7518 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/5.235, allocations: 4 kB / 0.7518 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/5.235, allocations: 4 kB / 0.7518 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.78e-05/5.235, allocations: 83.2 kB / 0.7519 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001366/5.236, allocations: 4 kB / 0.7519 GB, free: 10.77 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 (greEquThr.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.0001748/5.237, allocations: 103.2 kB / 0.752 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001149/5.237, allocations: 16 kB / 0.752 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/5.237, allocations: 0 / 0.752 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.627e-05/5.237, allocations: 8 kB / 0.752 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/5.237, allocations: 7.938 kB / 0.752 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002993/5.237, allocations: 67.7 kB / 0.7521 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003209/5.238, allocations: 0.6919 MB / 0.7527 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of SimCode: time 7.82e-07/5.238, allocations: 0 / 0.7527 GB, free: 9.82 MB / 0.6355 GB