Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.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.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_Binomial",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.189/4.189, allocations: 433 MB / 440.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5506/4.739, allocations: 104.3 MB / 0.5319 GB, free: 12.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/4.969, allocations: 98.71 MB / 0.6283 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2733/5.242, allocations: 123.4 MB / 0.7488 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/5.242, allocations: 79.58 kB / 0.7489 GB, free: 14.12 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.005863/5.248, allocations: 1.286 MB / 0.7501 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/5.248, allocations: 8 kB / 0.7501 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/5.248, allocations: 4 kB / 0.7501 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/5.248, allocations: 167 kB / 0.7503 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003195/5.249, allocations: 281 kB / 0.7505 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/5.249, allocations: 0 / 0.7505 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002853/5.249, allocations: 127.7 kB / 0.7507 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/5.249, allocations: 65.59 kB / 0.7507 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/5.249, allocations: 0 / 0.7507 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/5.249, allocations: 0 / 0.7507 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/5.249, allocations: 4 kB / 0.7507 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002389/5.25, allocations: 158.1 kB / 0.7509 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/5.25, allocations: 78.55 kB / 0.751 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.055e-05/5.25, allocations: 32.84 kB / 0.751 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/5.25, allocations: 7.984 kB / 0.751 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/5.25, allocations: 34.5 kB / 0.751 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.044e-06/5.25, allocations: 0 / 0.751 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0004906/5.251, allocations: 101.8 kB / 0.7511 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/5.251, allocations: 55.41 kB / 0.7512 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.881e-05/5.251, allocations: 85 kB / 0.7513 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/5.251, allocations: 25.7 kB / 0.7513 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.028e-05/5.251, allocations: 80.33 kB / 0.7514 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.415e-05/5.251, allocations: 35.45 kB / 0.7514 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.047e-05/5.251, allocations: 0 / 0.7514 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001416/5.251, allocations: 318.8 kB / 0.7517 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.387e-05/5.251, allocations: 19.98 kB / 0.7517 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.449e-05/5.251, allocations: 31.98 kB / 0.7518 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/5.251, allocations: 23.98 kB / 0.7518 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/5.251, allocations: 0 / 0.7518 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004289/5.252, allocations: 101.5 kB / 0.7519 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/5.252, allocations: 7.906 kB / 0.7519 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/5.252, allocations: 3.984 kB / 0.7519 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/5.252, allocations: 0 / 0.7519 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/5.252, allocations: 23.98 kB / 0.7519 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/5.252, allocations: 0 / 0.7519 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/5.252, allocations: 4 kB / 0.7519 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/5.252, allocations: 15.98 kB / 0.7519 GB, free: 10.71 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 (n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001482/5.253, allocations: 104.9 kB / 0.752 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.881e-05/5.253, allocations: 0 / 0.752 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.114e-05/5.253, allocations: 7.906 kB / 0.752 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/5.253, allocations: 4 kB / 0.752 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/5.253, allocations: 0 / 0.752 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/5.253, allocations: 3.906 kB / 0.752 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/5.253, allocations: 150.2 kB / 0.7522 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/5.253, allocations: 4 kB / 0.7522 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/5.253, allocations: 27.97 kB / 0.7522 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/5.253, allocations: 11.88 kB / 0.7522 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/5.253, allocations: 3.906 kB / 0.7522 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/5.253, allocations: 0 / 0.7522 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/5.253, allocations: 0 / 0.7522 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004396/5.254, allocations: 129.4 kB / 0.7524 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005937/5.254, allocations: 0.5091 MB / 0.7528 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-05/5.254, allocations: 85.05 kB / 0.7529 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/5.254, allocations: 0 / 0.7529 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/5.255, allocations: 0 / 0.7529 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.243e-05/5.255, allocations: 15.97 kB / 0.7529 GB, free: 9.559 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/5.255, allocations: 0 / 0.7529 GB, free: 9.559 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.775e-05/5.255, allocations: 75.28 kB / 0.753 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001131/5.256, allocations: 35.89 kB / 0.7531 GB, free: 9.449 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 (n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002487/5.256, allocations: 123.2 kB / 0.7532 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002233/5.256, allocations: 67.91 kB / 0.7532 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/5.256, allocations: 0 / 0.7532 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/5.256, allocations: 43.91 kB / 0.7533 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001176/5.257, allocations: 0 / 0.7533 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003834/5.257, allocations: 103.8 kB / 0.7534 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003972/5.257, allocations: 0.7198 MB / 0.7541 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of SimCode: time 6.51e-07/5.257, allocations: 0 / 0.7541 GB, free: 8.34 MB / 0.6355 GB