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.Cos.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.Cos,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",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.235/4.235, allocations: 433 MB / 440.3 MB, free: 4.824 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6069/4.842, allocations: 104.3 MB / 0.5319 GB, free: 12.63 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/5.103, allocations: 98.72 MB / 0.6283 GB, free: 9.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2491/5.353, allocations: 123.5 MB / 0.7489 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003416/5.353, allocations: 75.59 kB / 0.749 GB, free: 13.99 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.004167/5.357, allocations: 0.7014 MB / 0.7497 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/5.357, allocations: 8 kB / 0.7497 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/5.357, allocations: 7.938 kB / 0.7497 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/5.357, allocations: 167 kB / 0.7498 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/5.357, allocations: 0 / 0.7498 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/5.357, allocations: 0 / 0.7498 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.207e-05/5.358, allocations: 11.98 kB / 0.7499 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.122e-05/5.358, allocations: 33.7 kB / 0.7499 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/5.358, allocations: 0 / 0.7499 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/5.358, allocations: 0 / 0.7499 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/5.358, allocations: 0 / 0.7499 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005741/5.358, allocations: 257.3 kB / 0.7501 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.856e-05/5.358, allocations: 22.58 kB / 0.7502 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.458e-05/5.358, allocations: 12.92 kB / 0.7502 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/5.358, allocations: 0 / 0.7502 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/5.359, allocations: 38.56 kB / 0.7502 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/5.359, allocations: 0 / 0.7502 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000188/5.359, allocations: 33.7 kB / 0.7502 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/5.359, allocations: 55.31 kB / 0.7503 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.331e-05/5.359, allocations: 100.9 kB / 0.7504 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/5.359, allocations: 29.73 kB / 0.7504 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.386e-05/5.359, allocations: 84.08 kB / 0.7505 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/5.359, allocations: 7.906 kB / 0.7505 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/5.359, allocations: 0 / 0.7505 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001291/5.359, allocations: 314.8 kB / 0.7508 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.374e-05/5.359, allocations: 4 kB / 0.7508 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.174e-05/5.359, allocations: 4 kB / 0.7508 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.194e-05/5.359, allocations: 4 kB / 0.7508 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/5.359, allocations: 7.922 kB / 0.7508 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001019/5.359, allocations: 41.77 kB / 0.7509 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/5.359, allocations: 10.97 kB / 0.7509 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/5.359, allocations: 4 kB / 0.7509 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/5.359, allocations: 0 / 0.7509 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/5.36, allocations: 11.98 kB / 0.7509 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/5.36, allocations: 3.906 kB / 0.7509 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.932e-05/5.36, allocations: 12.03 kB / 0.7509 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/5.36, allocations: 3.984 kB / 0.7509 GB, free: 11.82 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: 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 8.753e-05/5.36, allocations: 104.9 kB / 0.751 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/5.36, allocations: 4 kB / 0.751 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000151/5.36, allocations: 49.09 kB / 0.7511 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/5.36, allocations: 3.984 kB / 0.7511 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/5.36, allocations: 32 / 0.7511 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/5.36, allocations: 4 kB / 0.7511 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/5.36, allocations: 134.2 kB / 0.7512 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/5.36, allocations: 3.938 kB / 0.7512 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/5.36, allocations: 15.98 kB / 0.7512 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/5.36, allocations: 0 / 0.7512 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/5.361, allocations: 0 / 0.7512 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/5.361, allocations: 3.906 kB / 0.7512 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/5.361, allocations: 0 / 0.7512 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001521/5.361, allocations: 143.5 kB / 0.7513 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002625/5.361, allocations: 0.4999 MB / 0.7518 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.186e-05/5.361, allocations: 85.09 kB / 0.7519 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/5.361, allocations: 7.969 kB / 0.7519 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/5.361, allocations: 4 kB / 0.7519 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/5.361, allocations: 7.984 kB / 0.7519 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/5.361, allocations: 0 / 0.7519 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001056/5.361, allocations: 83.28 kB / 0.752 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001132/5.363, allocations: 4 kB / 0.752 GB, free: 10.58 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: 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.0001787/5.363, allocations: 103.2 kB / 0.7521 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001173/5.363, allocations: 15.94 kB / 0.7521 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/5.363, allocations: 0 / 0.7521 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.257e-05/5.363, allocations: 4 kB / 0.7521 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/5.363, allocations: 4.5 kB / 0.7521 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003043/5.364, allocations: 63.86 kB / 0.7522 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003477/5.364, allocations: 0.6881 MB / 0.7529 GB, free: 9.641 MB / 0.6355 GB Notification: Performance of SimCode: time 1.253e-06/5.364, allocations: 0 / 0.7529 GB, free: 9.641 MB / 0.6355 GB