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.Log.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.Log,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Log",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.358/4.358, allocations: 433 MB / 440.3 MB, free: 24.63 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 0.263/4.621, allocations: 104.4 MB / 0.5319 GB, free: 4.477 MB / 434.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5753/5.197, allocations: 98.69 MB / 0.6283 GB, free: 0.6602 MB / 0.5027 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3113/5.508, allocations: 123.5 MB / 0.7489 GB, free: 5.66 MB / 0.6121 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003942/5.508, allocations: 79.83 kB / 0.749 GB, free: 5.586 MB / 0.6121 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.00438/5.513, allocations: 0.6891 MB / 0.7496 GB, free: 4.855 MB / 0.6121 GB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/5.513, allocations: 8 kB / 0.7496 GB, free: 4.848 MB / 0.6121 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/5.513, allocations: 0 / 0.7496 GB, free: 4.848 MB / 0.6121 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/5.513, allocations: 170.9 kB / 0.7498 GB, free: 4.641 MB / 0.6121 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/5.513, allocations: 4 kB / 0.7498 GB, free: 4.637 MB / 0.6121 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/5.513, allocations: 0 / 0.7498 GB, free: 4.637 MB / 0.6121 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001372/5.513, allocations: 12 kB / 0.7498 GB, free: 4.625 MB / 0.6121 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/5.514, allocations: 37.69 kB / 0.7499 GB, free: 4.582 MB / 0.6121 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/5.514, allocations: 0 / 0.7499 GB, free: 4.582 MB / 0.6121 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/5.514, allocations: 0 / 0.7499 GB, free: 4.582 MB / 0.6121 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/5.514, allocations: 3.938 kB / 0.7499 GB, free: 4.578 MB / 0.6121 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000747/5.514, allocations: 249.3 kB / 0.7501 GB, free: 4.297 MB / 0.6121 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/5.515, allocations: 34.53 kB / 0.7501 GB, free: 4.254 MB / 0.6121 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.285e-05/5.515, allocations: 13.47 kB / 0.7501 GB, free: 4.238 MB / 0.6121 GB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/5.515, allocations: 0 / 0.7501 GB, free: 4.238 MB / 0.6121 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/5.515, allocations: 34.56 kB / 0.7502 GB, free: 4.195 MB / 0.6121 GB Notification: Performance of pre-optimization done (n=2): time 2.174e-06/5.515, allocations: 0 / 0.7502 GB, free: 4.195 MB / 0.6121 GB Notification: Performance of matching and sorting (n=2): time 0.0002538/5.515, allocations: 37.7 kB / 0.7502 GB, free: 4.152 MB / 0.6121 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/5.515, allocations: 59.25 kB / 0.7503 GB, free: 4.082 MB / 0.6121 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/5.515, allocations: 96.98 kB / 0.7504 GB, free: 3.98 MB / 0.6121 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/5.515, allocations: 25.7 kB / 0.7504 GB, free: 3.949 MB / 0.6121 GB Notification: Performance of collectInitialEqns (initialization): time 6.377e-05/5.515, allocations: 84.14 kB / 0.7505 GB, free: 3.863 MB / 0.6121 GB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/5.515, allocations: 3.906 kB / 0.7505 GB, free: 3.859 MB / 0.6121 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-06/5.515, allocations: 4.031 kB / 0.7505 GB, free: 3.855 MB / 0.6121 GB Notification: Performance of setup shared object (initialization): time 0.0001976/5.516, allocations: 310.8 kB / 0.7508 GB, free: 3.543 MB / 0.6121 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.35e-05/5.516, allocations: 11.94 kB / 0.7508 GB, free: 3.531 MB / 0.6121 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.879e-05/5.516, allocations: 4 kB / 0.7508 GB, free: 3.527 MB / 0.6121 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.963e-05/5.516, allocations: 4 kB / 0.7508 GB, free: 3.523 MB / 0.6121 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/5.516, allocations: 0 / 0.7508 GB, free: 3.523 MB / 0.6121 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001628/5.516, allocations: 41.69 kB / 0.7508 GB, free: 3.477 MB / 0.6121 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/5.516, allocations: 4 kB / 0.7508 GB, free: 3.473 MB / 0.6121 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/5.516, allocations: 4.094 kB / 0.7508 GB, free: 3.469 MB / 0.6121 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/5.516, allocations: 0 / 0.7508 GB, free: 3.469 MB / 0.6121 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/5.516, allocations: 11.98 kB / 0.7508 GB, free: 3.457 MB / 0.6121 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/5.516, allocations: 7.906 kB / 0.7509 GB, free: 3.449 MB / 0.6121 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/5.517, allocations: 4 kB / 0.7509 GB, free: 3.445 MB / 0.6121 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/5.517, allocations: 4 kB / 0.7509 GB, free: 3.441 MB / 0.6121 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.0001137/5.517, allocations: 114.9 kB / 0.751 GB, free: 3.324 MB / 0.6121 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.307e-05/5.517, allocations: 0 / 0.751 GB, free: 3.324 MB / 0.6121 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/5.517, allocations: 53.56 kB / 0.751 GB, free: 3.27 MB / 0.6121 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/5.517, allocations: 0 / 0.751 GB, free: 3.27 MB / 0.6121 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/5.517, allocations: 4 kB / 0.751 GB, free: 3.266 MB / 0.6121 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/5.517, allocations: 4 kB / 0.751 GB, free: 3.262 MB / 0.6121 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002937/5.517, allocations: 130.2 kB / 0.7512 GB, free: 3.098 MB / 0.6121 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/5.517, allocations: 8.031 kB / 0.7512 GB, free: 3.09 MB / 0.6121 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/5.518, allocations: 11.98 kB / 0.7512 GB, free: 3.078 MB / 0.6121 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/5.518, allocations: 0 / 0.7512 GB, free: 3.078 MB / 0.6121 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/5.518, allocations: 0 / 0.7512 GB, free: 3.078 MB / 0.6121 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/5.518, allocations: 3.906 kB / 0.7512 GB, free: 3.074 MB / 0.6121 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/5.518, allocations: 0 / 0.7512 GB, free: 3.074 MB / 0.6121 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002145/5.518, allocations: 143.5 kB / 0.7513 GB, free: 2.918 MB / 0.6121 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003876/5.518, allocations: 0.4999 MB / 0.7518 GB, free: 2.398 MB / 0.6121 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/5.519, allocations: 85.05 kB / 0.7519 GB, free: 2.297 MB / 0.6121 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.468e-05/5.519, allocations: 7.891 kB / 0.7519 GB, free: 2.289 MB / 0.6121 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/5.519, allocations: 16 kB / 0.7519 GB, free: 2.273 MB / 0.6121 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/5.519, allocations: 3.984 kB / 0.7519 GB, free: 2.27 MB / 0.6121 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/5.519, allocations: 0 / 0.7519 GB, free: 2.27 MB / 0.6121 GB Notification: Performance of sort global known variables: time 7.694e-05/5.519, allocations: 79.28 kB / 0.752 GB, free: 2.191 MB / 0.6121 GB Notification: Performance of remove unused functions: time 0.001898/5.521, allocations: 4 kB / 0.752 GB, free: 2.188 MB / 0.6121 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.000258/5.521, allocations: 99.25 kB / 0.7521 GB, free: 2.078 MB / 0.6121 GB Notification: Performance of simCode: created initialization part: time 0.0001864/5.521, allocations: 16 kB / 0.7521 GB, free: 2.062 MB / 0.6121 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/5.521, allocations: 0 / 0.7521 GB, free: 2.062 MB / 0.6121 GB Notification: Performance of simCode: created simulation system equations: time 5.441e-05/5.522, allocations: 11.94 kB / 0.7521 GB, free: 2.051 MB / 0.6121 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/5.522, allocations: 7.125 kB / 0.7521 GB, free: 2.047 MB / 0.6121 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003956/5.522, allocations: 61.36 kB / 0.7522 GB, free: 1.965 MB / 0.6121 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000421/5.523, allocations: 0.689 MB / 0.7528 GB, free: 1.25 MB / 0.6121 GB Notification: Performance of SimCode: time 1.383e-06/5.523, allocations: 0 / 0.7528 GB, free: 1.25 MB / 0.6121 GB