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.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.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_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 4.268/4.268, allocations: 433 MB / 440.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5718/4.84, allocations: 104.4 MB / 0.5319 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/5.087, allocations: 98.73 MB / 0.6283 GB, free: 9.773 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2548/5.342, allocations: 123.4 MB / 0.7489 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003498/5.342, allocations: 79.59 kB / 0.7489 GB, free: 14.1 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.003679/5.346, allocations: 0.6676 MB / 0.7496 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/5.346, allocations: 8 kB / 0.7496 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.707e-05/5.346, allocations: 4 kB / 0.7496 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/5.346, allocations: 171 kB / 0.7498 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/5.346, allocations: 0 / 0.7498 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/5.346, allocations: 4 kB / 0.7498 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001089/5.346, allocations: 12 kB / 0.7498 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/5.346, allocations: 37.62 kB / 0.7498 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/5.346, allocations: 0 / 0.7498 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/5.346, allocations: 0 / 0.7498 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/5.346, allocations: 0 / 0.7498 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007022/5.347, allocations: 257.4 kB / 0.7501 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/5.347, allocations: 22.58 kB / 0.7501 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.225e-05/5.347, allocations: 12.92 kB / 0.7501 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/5.347, allocations: 0 / 0.7501 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/5.348, allocations: 30.56 kB / 0.7501 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.595e-06/5.348, allocations: 4 kB / 0.7501 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002462/5.348, allocations: 41.61 kB / 0.7502 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/5.348, allocations: 59.34 kB / 0.7502 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/5.348, allocations: 92.98 kB / 0.7503 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/5.348, allocations: 25.7 kB / 0.7503 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.697e-05/5.348, allocations: 84.14 kB / 0.7504 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/5.348, allocations: 3.906 kB / 0.7504 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-06/5.348, allocations: 0 / 0.7504 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001613/5.348, allocations: 318.9 kB / 0.7507 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.72e-05/5.348, allocations: 4 kB / 0.7507 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.122e-05/5.348, allocations: 4 kB / 0.7507 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.164e-05/5.349, allocations: 11.98 kB / 0.7507 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/5.349, allocations: 3.938 kB / 0.7507 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001472/5.349, allocations: 33.7 kB / 0.7508 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/5.349, allocations: 4 kB / 0.7508 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/5.349, allocations: 0 / 0.7508 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/5.349, allocations: 4.094 kB / 0.7508 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/5.349, allocations: 19.89 kB / 0.7508 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/5.349, allocations: 0 / 0.7508 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/5.349, allocations: 11.98 kB / 0.7508 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/5.349, allocations: 3.938 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 (greThr.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 0.0001211/5.349, allocations: 113 kB / 0.7509 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.847e-05/5.349, allocations: 3.906 kB / 0.7509 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.854e-05/5.35, allocations: 3.312 kB / 0.7509 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/5.35, allocations: 0 / 0.7509 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/5.35, allocations: 256 / 0.7509 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/5.35, allocations: 0 / 0.7509 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/5.35, allocations: 142.2 kB / 0.7511 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/5.35, allocations: 4 kB / 0.7511 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/5.35, allocations: 12 kB / 0.7511 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/5.35, allocations: 0 / 0.7511 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/5.35, allocations: 0 / 0.7511 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/5.35, allocations: 0 / 0.7511 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/5.35, allocations: 11.83 kB / 0.7511 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000211/5.35, allocations: 131.6 kB / 0.7512 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000344/5.351, allocations: 0.5116 MB / 0.7517 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.541e-05/5.351, allocations: 81.11 kB / 0.7518 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/5.351, allocations: 3.906 kB / 0.7518 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/5.351, allocations: 16.02 kB / 0.7518 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.266e-05/5.351, allocations: 0 / 0.7518 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/5.351, allocations: 4 kB / 0.7518 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.286e-05/5.351, allocations: 79.27 kB / 0.7519 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001978/5.353, 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 (greThr.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.0002677/5.354, allocations: 107.2 kB / 0.752 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001686/5.354, allocations: 12 kB / 0.752 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/5.354, allocations: 4.062 kB / 0.752 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.41e-05/5.354, allocations: 7.938 kB / 0.752 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/5.354, allocations: 7.938 kB / 0.752 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/5.355, allocations: 63.77 kB / 0.7521 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004267/5.355, allocations: 0.6919 MB / 0.7528 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of SimCode: time 1.332e-06/5.355, allocations: 0 / 0.7528 GB, free: 9.812 MB / 0.6355 GB