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.LessEqualThreshold.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.LessEqualThreshold,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold",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.118/4.118, allocations: 433 MB / 440.3 MB, free: 4.766 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5424/4.661, allocations: 104.4 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/4.905, allocations: 98.72 MB / 0.6283 GB, free: 9.691 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2661/5.171, allocations: 123.4 MB / 0.7488 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004259/5.171, allocations: 71.61 kB / 0.7489 GB, free: 14.02 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.002808/5.174, allocations: 0.6547 MB / 0.7496 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/5.174, allocations: 12 kB / 0.7496 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/5.174, allocations: 0 / 0.7496 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/5.174, allocations: 175 kB / 0.7497 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/5.174, allocations: 0 / 0.7497 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/5.174, allocations: 0 / 0.7497 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.768e-05/5.175, allocations: 11.94 kB / 0.7497 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.551e-05/5.175, allocations: 41.69 kB / 0.7498 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/5.175, allocations: 0 / 0.7498 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/5.175, allocations: 0 / 0.7498 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/5.175, allocations: 0 / 0.7498 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005304/5.175, allocations: 245.4 kB / 0.75 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.208e-05/5.175, allocations: 26.56 kB / 0.75 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.552e-05/5.175, allocations: 16.86 kB / 0.7501 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/5.175, allocations: 4 kB / 0.7501 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/5.175, allocations: 34.59 kB / 0.7501 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.184e-06/5.175, allocations: 0 / 0.7501 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001935/5.176, allocations: 41.61 kB / 0.7501 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.672e-05/5.176, allocations: 51.41 kB / 0.7502 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.004e-05/5.176, allocations: 93 kB / 0.7503 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/5.176, allocations: 25.7 kB / 0.7503 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.91e-05/5.176, allocations: 88.17 kB / 0.7504 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/5.176, allocations: 7.891 kB / 0.7504 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/5.176, allocations: 3.938 kB / 0.7504 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001381/5.176, allocations: 314.8 kB / 0.7507 GB, free: 12 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.65e-05/5.176, allocations: 4 kB / 0.7507 GB, free: 12 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.319e-05/5.176, allocations: 7.938 kB / 0.7507 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.87e-05/5.176, allocations: 4 kB / 0.7507 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/5.176, allocations: 3.938 kB / 0.7507 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001067/5.176, allocations: 45.77 kB / 0.7508 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/5.176, allocations: 4 kB / 0.7508 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/5.176, allocations: 0 / 0.7508 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/5.176, allocations: 3.984 kB / 0.7508 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/5.177, allocations: 11.91 kB / 0.7508 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/5.177, allocations: 3.984 kB / 0.7508 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/5.177, allocations: 16.02 kB / 0.7508 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/5.177, allocations: 0 / 0.7508 GB, free: 11.89 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 (lesEquThr.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.596e-05/5.177, allocations: 105 kB / 0.7509 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/5.177, allocations: 3.906 kB / 0.7509 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.803e-05/5.177, allocations: 3.562 kB / 0.7509 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/5.177, allocations: 0 / 0.7509 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/5.177, allocations: 8 kB / 0.7509 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/5.177, allocations: 3.984 kB / 0.7509 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/5.177, allocations: 138.2 kB / 0.751 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/5.177, allocations: 0 / 0.751 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/5.177, allocations: 11.98 kB / 0.7511 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/5.177, allocations: 0 / 0.7511 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/5.177, allocations: 0 / 0.7511 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/5.177, allocations: 3.938 kB / 0.7511 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/5.177, allocations: 3.906 kB / 0.7511 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001482/5.178, allocations: 135.6 kB / 0.7512 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002827/5.178, allocations: 0.5077 MB / 0.7517 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.911e-05/5.178, allocations: 77.11 kB / 0.7518 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/5.178, allocations: 3.906 kB / 0.7518 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/5.178, allocations: 16.05 kB / 0.7518 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/5.178, allocations: 0 / 0.7518 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/5.178, allocations: 3.984 kB / 0.7518 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.207e-05/5.178, allocations: 83.28 kB / 0.7519 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00108/5.179, allocations: 7.938 kB / 0.7519 GB, free: 10.69 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 (lesEquThr.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.0001823/5.18, allocations: 107.2 kB / 0.752 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001064/5.18, allocations: 12 kB / 0.752 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/5.18, allocations: 0 / 0.752 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.495e-05/5.18, allocations: 7.938 kB / 0.752 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/5.18, allocations: 18.45 kB / 0.752 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00027/5.18, allocations: 55.83 kB / 0.7521 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003733/5.181, allocations: 0.6996 MB / 0.7528 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of SimCode: time 9.32e-07/5.181, allocations: 4.125 kB / 0.7528 GB, free: 9.73 MB / 0.6355 GB