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.Limiter.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.Limiter,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter",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.391/4.391, allocations: 433 MB / 440.3 MB, free: 10.8 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.294/4.686, allocations: 104.4 MB / 0.5319 GB, free: 2.309 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5475/5.233, allocations: 98.69 MB / 0.6283 GB, free: 100 kB / 0.4949 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2426/5.476, allocations: 123.5 MB / 0.7489 GB, free: 4.469 MB / 0.6199 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/5.476, allocations: 75.89 kB / 0.749 GB, free: 4.395 MB / 0.6199 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.004129/5.48, allocations: 0.8472 MB / 0.7498 GB, free: 3.504 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/5.48, allocations: 8 kB / 0.7498 GB, free: 3.496 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/5.48, allocations: 7.938 kB / 0.7498 GB, free: 3.488 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/5.48, allocations: 163 kB / 0.75 GB, free: 3.289 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/5.481, allocations: 0 / 0.75 GB, free: 3.289 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/5.481, allocations: 4 kB / 0.75 GB, free: 3.285 MB / 0.6199 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001029/5.481, allocations: 12 kB / 0.75 GB, free: 3.273 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/5.481, allocations: 41.67 kB / 0.75 GB, free: 3.227 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/5.481, allocations: 0 / 0.75 GB, free: 3.227 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/5.481, allocations: 4 kB / 0.75 GB, free: 3.223 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/5.481, allocations: 4 kB / 0.75 GB, free: 3.219 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000608/5.481, allocations: 253.4 kB / 0.7503 GB, free: 2.934 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/5.482, allocations: 38.45 kB / 0.7503 GB, free: 2.887 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.504e-05/5.482, allocations: 12.92 kB / 0.7503 GB, free: 2.871 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/5.482, allocations: 3.984 kB / 0.7503 GB, free: 2.867 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/5.482, allocations: 34.56 kB / 0.7503 GB, free: 2.824 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=2): time 1.703e-06/5.482, allocations: 0 / 0.7503 GB, free: 2.824 MB / 0.6199 GB Notification: Performance of matching and sorting (n=2): time 0.0002336/5.482, allocations: 45.61 kB / 0.7504 GB, free: 2.773 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/5.482, allocations: 51.41 kB / 0.7504 GB, free: 2.711 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/5.482, allocations: 105 kB / 0.7505 GB, free: 2.602 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/5.482, allocations: 25.7 kB / 0.7506 GB, free: 2.57 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 5.709e-05/5.482, allocations: 80.14 kB / 0.7506 GB, free: 2.488 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/5.482, allocations: 7.906 kB / 0.7506 GB, free: 2.48 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-06/5.482, allocations: 3.938 kB / 0.7506 GB, free: 2.477 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.0001741/5.482, allocations: 310.8 kB / 0.7509 GB, free: 2.164 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.665e-05/5.483, allocations: 8 kB / 0.751 GB, free: 2.156 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.611e-05/5.483, allocations: 25.7 kB / 0.751 GB, free: 2.125 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.744e-05/5.483, allocations: 8 kB / 0.751 GB, free: 2.117 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/5.483, allocations: 0 / 0.751 GB, free: 2.117 MB / 0.6199 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001464/5.483, allocations: 45.61 kB / 0.751 GB, free: 2.066 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 7.078e-05/5.483, allocations: 96.98 kB / 0.7511 GB, free: 1.965 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/5.483, allocations: 0 / 0.7511 GB, free: 1.965 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/5.483, allocations: 0 / 0.7511 GB, free: 1.965 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/5.483, allocations: 24.11 kB / 0.7511 GB, free: 1.941 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/5.483, allocations: 0 / 0.7511 GB, free: 1.941 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/5.483, allocations: 24.17 kB / 0.7512 GB, free: 1.918 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/5.483, allocations: 0 / 0.7512 GB, free: 1.918 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 7.865e-06/5.483, allocations: 4 kB / 0.7512 GB, free: 1.914 MB / 0.6199 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 6.64e-05/5.483, allocations: 19.94 kB / 0.7512 GB, free: 1.895 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/5.484, allocations: 3.906 kB / 0.7512 GB, free: 1.891 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.169e-06/5.484, allocations: 3.984 kB / 0.7512 GB, free: 1.887 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/5.484, allocations: 19.97 kB / 0.7512 GB, free: 1.867 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-06/5.484, allocations: 0 / 0.7512 GB, free: 1.867 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/5.484, allocations: 11.98 kB / 0.7512 GB, free: 1.855 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/5.484, allocations: 0 / 0.7512 GB, free: 1.855 MB / 0.6199 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0001068/5.484, allocations: 105 kB / 0.7513 GB, free: 1.746 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.984e-05/5.484, allocations: 3.906 kB / 0.7513 GB, free: 1.742 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.042e-05/5.484, allocations: 15.61 kB / 0.7513 GB, free: 1.727 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/5.484, allocations: 7.938 kB / 0.7514 GB, free: 1.719 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/5.484, allocations: 0 / 0.7514 GB, free: 1.719 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/5.484, allocations: 0 / 0.7514 GB, free: 1.719 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/5.484, allocations: 134.2 kB / 0.7515 GB, free: 1.551 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/5.484, allocations: 0 / 0.7515 GB, free: 1.551 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/5.485, allocations: 31.88 kB / 0.7515 GB, free: 1.52 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/5.485, allocations: 0 / 0.7515 GB, free: 1.52 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/5.485, allocations: 0 / 0.7515 GB, free: 1.52 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/5.485, allocations: 0 / 0.7515 GB, free: 1.52 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/5.485, allocations: 3.938 kB / 0.7515 GB, free: 1.516 MB / 0.6199 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000189/5.485, allocations: 143.5 kB / 0.7517 GB, free: 1.359 MB / 0.6199 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003184/5.485, allocations: 0.5156 MB / 0.7522 GB, free: 0.8242 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/5.485, allocations: 81.02 kB / 0.7522 GB, free: 0.7266 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/5.485, allocations: 0 / 0.7522 GB, free: 0.7266 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/5.485, allocations: 20.02 kB / 0.7523 GB, free: 0.707 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/5.485, allocations: 0 / 0.7523 GB, free: 0.707 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/5.486, allocations: 3.984 kB / 0.7523 GB, free: 0.7031 MB / 0.6199 GB Notification: Performance of sort global known variables: time 6.035e-05/5.486, allocations: 83.27 kB / 0.7523 GB, free: 0.6211 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.00208/5.488, allocations: 15.91 kB / 0.7523 GB, free: 0.6055 MB / 0.6199 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0002223/5.488, allocations: 107.2 kB / 0.7525 GB, free: 0.4922 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0001807/5.488, allocations: 24 kB / 0.7525 GB, free: 480 kB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/5.488, allocations: 4.125 kB / 0.7525 GB, free: 476 kB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 4.166e-05/5.488, allocations: 4 kB / 0.7525 GB, free: 472 kB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/5.488, allocations: 11.98 kB / 0.7525 GB, free: 460 kB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004295/5.489, allocations: 79.7 kB / 0.7526 GB, free: 356 kB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004684/5.489, allocations: 0.692 MB / 0.7532 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of SimCode: time 9.52e-07/5.489, allocations: 0 / 0.7532 GB, free: 15.63 MB / 0.6355 GB