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.GreaterThreshold.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.GreaterThreshold,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",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.824/3.824, allocations: 433 MB / 440.3 MB, free: 4.801 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5253/4.349, allocations: 104.4 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/4.587, allocations: 98.73 MB / 0.6283 GB, free: 9.75 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2481/4.835, allocations: 123.8 MB / 0.7492 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/4.835, allocations: 79.59 kB / 0.7492 GB, free: 13.74 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.005003/4.84, allocations: 0.9996 MB / 0.7502 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/4.84, allocations: 8 kB / 0.7502 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.529e-05/4.84, allocations: 11.89 kB / 0.7502 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/4.841, allocations: 170.9 kB / 0.7504 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/4.841, allocations: 4 kB / 0.7504 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/4.841, allocations: 4 kB / 0.7504 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001334/4.841, allocations: 27.91 kB / 0.7504 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/4.841, allocations: 49.67 kB / 0.7505 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/4.841, allocations: 4 kB / 0.7505 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/4.841, allocations: 0 / 0.7505 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/4.841, allocations: 3.938 kB / 0.7505 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005696/4.842, allocations: 265.3 kB / 0.7507 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/4.842, allocations: 46.56 kB / 0.7508 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.152e-05/4.842, allocations: 16.89 kB / 0.7508 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/4.842, allocations: 0 / 0.7508 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/4.842, allocations: 30.56 kB / 0.7508 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/4.842, allocations: 0 / 0.7508 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002678/4.842, allocations: 61.67 kB / 0.7509 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/4.842, allocations: 55.41 kB / 0.7509 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/4.843, allocations: 101 kB / 0.751 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/4.843, allocations: 25.7 kB / 0.7511 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.159e-05/4.843, allocations: 88.14 kB / 0.7512 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/4.843, allocations: 7.812 kB / 0.7512 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-06/4.843, allocations: 0 / 0.7512 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001396/4.843, allocations: 326.8 kB / 0.7515 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.617e-05/4.843, allocations: 8 kB / 0.7515 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.669e-05/4.843, allocations: 12.05 kB / 0.7515 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.047e-05/4.843, allocations: 12.08 kB / 0.7515 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/4.843, allocations: 0 / 0.7515 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001762/4.843, allocations: 57.59 kB / 0.7516 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/4.843, allocations: 11.98 kB / 0.7516 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/4.843, allocations: 0 / 0.7516 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/4.843, allocations: 0 / 0.7516 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/4.844, allocations: 19.92 kB / 0.7516 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/4.844, allocations: 0 / 0.7516 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/4.844, allocations: 15.98 kB / 0.7516 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/4.844, allocations: 0 / 0.7516 GB, free: 11.12 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 (intGreThr.u,intGreThr.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 0.0001076/4.844, allocations: 105 kB / 0.7517 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.221e-05/4.844, allocations: 7.906 kB / 0.7517 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.806e-05/4.844, allocations: 4 kB / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/4.844, allocations: 4 kB / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/4.844, allocations: 4 kB / 0.7517 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/4.844, allocations: 0 / 0.7517 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/4.844, allocations: 162.2 kB / 0.7519 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/4.844, allocations: 0 / 0.7519 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/4.844, allocations: 15.98 kB / 0.7519 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/4.844, allocations: 0 / 0.7519 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/4.844, allocations: 0 / 0.7519 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/4.844, allocations: 0 / 0.7519 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/4.844, allocations: 4.312 kB / 0.7519 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002599/4.845, allocations: 163.4 kB / 0.7521 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003531/4.845, allocations: 0.5155 MB / 0.7526 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/4.845, allocations: 88.89 kB / 0.7526 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/4.845, allocations: 4 kB / 0.7526 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/4.845, allocations: 11.98 kB / 0.7527 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.413e-05/4.846, allocations: 11.98 kB / 0.7527 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/4.846, allocations: 7.984 kB / 0.7527 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.574e-05/4.846, allocations: 91.2 kB / 0.7528 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001118/4.847, allocations: 12 kB / 0.7528 GB, free: 9.824 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 (intGreThr.u,intGreThr.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.0001783/4.847, allocations: 103.2 kB / 0.7529 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001734/4.847, allocations: 35.92 kB / 0.7529 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/4.847, allocations: 0 / 0.7529 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.598e-05/4.847, allocations: 20 kB / 0.7529 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/4.848, allocations: 7.891 kB / 0.7529 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003859/4.848, allocations: 75.78 kB / 0.753 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004331/4.848, allocations: 0.6993 MB / 0.7537 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of SimCode: time 8.51e-07/4.848, allocations: 3.938 kB / 0.7537 GB, free: 8.828 MB / 0.6355 GB