Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.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.Examples.Binomial,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_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.098/4.098, allocations: 433 MB / 440.3 MB, free: 4.832 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5297/4.627, allocations: 104.3 MB / 0.5319 GB, free: 12.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/4.913, allocations: 98.73 MB / 0.6283 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2789/5.192, allocations: 124.3 MB / 0.7497 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004045/5.193, allocations: 75.59 kB / 0.7498 GB, free: 13.22 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01048/5.203, allocations: 1.353 MB / 0.7511 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.092e-05/5.203, allocations: 12 kB / 0.7511 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.263e-05/5.204, allocations: 3.906 kB / 0.7511 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/5.204, allocations: 171.1 kB / 0.7513 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/5.204, allocations: 0 / 0.7513 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/5.204, allocations: 4 kB / 0.7513 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001538/5.204, allocations: 20 kB / 0.7513 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/5.204, allocations: 45.69 kB / 0.7514 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/5.204, allocations: 3.938 kB / 0.7514 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/5.204, allocations: 3.906 kB / 0.7514 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/5.204, allocations: 0 / 0.7514 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006684/5.205, allocations: 257.3 kB / 0.7516 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004944/5.206, allocations: 42.62 kB / 0.7517 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.038e-05/5.206, allocations: 16.86 kB / 0.7517 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000798/5.206, allocations: 401.6 kB / 0.7521 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/5.207, allocations: 30.56 kB / 0.7521 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 7.705e-06/5.207, allocations: 8 kB / 0.7521 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003893/5.207, allocations: 57.53 kB / 0.7521 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/5.207, allocations: 51.41 kB / 0.7522 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/5.207, allocations: 96.98 kB / 0.7523 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/5.207, allocations: 25.7 kB / 0.7523 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.859e-05/5.207, allocations: 84.14 kB / 0.7524 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/5.207, allocations: 3.906 kB / 0.7524 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.957e-06/5.207, allocations: 0 / 0.7524 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001708/5.208, allocations: 314.8 kB / 0.7527 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.138e-05/5.208, allocations: 12 kB / 0.7527 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.068e-05/5.208, allocations: 7.984 kB / 0.7527 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/5.208, allocations: 15.84 kB / 0.7527 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/5.208, allocations: 7.938 kB / 0.7527 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002537/5.208, allocations: 49.62 kB / 0.7528 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/5.208, allocations: 4 kB / 0.7528 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/5.208, allocations: 0 / 0.7528 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/5.208, allocations: 192 / 0.7528 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/5.209, allocations: 19.98 kB / 0.7528 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/5.209, allocations: 0 / 0.7528 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/5.209, allocations: 15.89 kB / 0.7528 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/5.209, allocations: 0 / 0.7528 GB, free: 9.816 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: 2 (bin.y,bin.k) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001325/5.209, allocations: 105 kB / 0.7529 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.112e-05/5.209, allocations: 11.98 kB / 0.7529 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003159/5.209, allocations: 49.38 kB / 0.753 GB, free: 9.641 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/5.209, allocations: 7.891 kB / 0.753 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/5.209, allocations: 4 kB / 0.753 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/5.21, allocations: 0 / 0.753 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003232/5.21, allocations: 142.5 kB / 0.7531 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/5.21, allocations: 7.922 kB / 0.7531 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/5.21, allocations: 20 kB / 0.7532 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/5.21, allocations: 0 / 0.7532 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/5.21, allocations: 3.984 kB / 0.7532 GB, free: 9.422 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/5.21, allocations: 4 kB / 0.7532 GB, free: 9.418 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.678e-06/5.21, allocations: 3.906 kB / 0.7532 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003909/5.211, allocations: 139.5 kB / 0.7533 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004939/5.211, allocations: 0.5193 MB / 0.7538 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.026e-05/5.211, allocations: 85.02 kB / 0.7539 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.258e-05/5.211, allocations: 0 / 0.7539 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002883/5.212, allocations: 7.984 kB / 0.7539 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.986e-05/5.212, allocations: 7.984 kB / 0.7539 GB, free: 8.605 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/5.212, allocations: 0 / 0.7539 GB, free: 8.605 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.979e-05/5.212, allocations: 87.28 kB / 0.754 GB, free: 8.52 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002027/5.214, allocations: 31.88 kB / 0.754 GB, free: 8.488 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: 2 (bin.y,bin.k) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0004436/5.214, allocations: 119.2 kB / 0.7541 GB, free: 8.359 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002082/5.215, allocations: 23.98 kB / 0.7542 GB, free: 8.336 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/5.215, allocations: 0.7188 kB / 0.7542 GB, free: 8.336 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.232e-05/5.215, allocations: 11.94 kB / 0.7542 GB, free: 8.324 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/5.215, allocations: 11.91 kB / 0.7542 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004696/5.216, allocations: 71.77 kB / 0.7542 GB, free: 8.219 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004839/5.216, allocations: 0.6993 MB / 0.7549 GB, free: 7.496 MB / 0.6355 GB Notification: Performance of SimCode: time 6.071e-06/5.216, allocations: 0 / 0.7549 GB, free: 7.496 MB / 0.6355 GB