Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01565/0.01565, allocations: 89.69 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001959/0.001959, allocations: 175.6 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.331/2.331, allocations: 205.5 MB / 222.2 MB, free: 13.58 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.676/2.676, allocations: 252.8 MB / 0.511 GB, free: 8.285 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007795/0.0007801, allocations: 13.53 kB / 0.6243 GB, free: 21.19 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2791, allocations: 106.2 MB / 0.7281 GB, free: 8.078 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0008112/0.28, allocations: 337 kB / 0.7284 GB, free: 7.746 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.000219/0.2802, allocations: 31.91 kB / 0.7284 GB, free: 7.715 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.199e-05/0.2802, allocations: 0 / 0.7284 GB, free: 7.715 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 9.337e-06/0.2802, allocations: 3.938 kB / 0.7284 GB, free: 7.711 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.793e-06/0.2803, allocations: 0 / 0.7284 GB, free: 7.711 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.2805, allocations: 8 kB / 0.7284 GB, free: 7.703 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 3.395e-05/0.2805, allocations: 0 / 0.7284 GB, free: 7.703 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.184e-05/0.2806, allocations: 1.594 kB / 0.7284 GB, free: 7.703 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.158e-05/0.2806, allocations: 7.984 kB / 0.7284 GB, free: 7.695 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.075e-05/0.2807, allocations: 0 / 0.7284 GB, free: 7.695 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 8.716e-06/0.2807, allocations: 4 kB / 0.7284 GB, free: 7.691 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 9.557e-05/0.2808, allocations: 19.92 kB / 0.7285 GB, free: 7.672 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 6.482e-06/0.2808, allocations: 0 / 0.7285 GB, free: 7.672 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.2809, allocations: 25.7 kB / 0.7285 GB, free: 7.641 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 6.544e-05/0.2809, allocations: 7.984 kB / 0.7285 GB, free: 7.633 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.2809, allocations: 0 / 0.7285 GB, free: 7.633 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.563e-06/0.281, allocations: 0 / 0.7285 GB, free: 7.633 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.281, allocations: 0 / 0.7285 GB, free: 7.633 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003232/0.2813, allocations: 311.4 kB / 0.7288 GB, free: 7.281 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.2814, allocations: 8.094 kB / 0.7288 GB, free: 7.273 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.26e-05/0.2814, allocations: 38.56 kB / 0.7288 GB, free: 7.227 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.095e-05/0.2814, allocations: 7.984 kB / 0.7288 GB, free: 7.219 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.2816, allocations: 163 kB / 0.729 GB, free: 7.02 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.2816, allocations: 0 / 0.729 GB, free: 7.02 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-06/0.2816, allocations: 0 / 0.729 GB, free: 7.02 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.938e-05/0.2817, allocations: 29.7 kB / 0.729 GB, free: 6.984 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.2817, allocations: 0 / 0.729 GB, free: 6.984 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.2817, allocations: 3.938 kB / 0.729 GB, free: 6.98 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2817, allocations: 3.938 kB / 0.729 GB, free: 6.977 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.131e-05/0.2818, allocations: 0 / 0.729 GB, free: 6.977 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001617/0.2819, allocations: 153.6 kB / 0.7292 GB, free: 6.777 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.826e-05/0.282, allocations: 22.61 kB / 0.7292 GB, free: 6.746 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.693e-05/0.2821, allocations: 7.922 kB / 0.7292 GB, free: 6.738 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.2821, allocations: 34.62 kB / 0.7292 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 1.463e-06/0.2821, allocations: 0 / 0.7292 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0001434/0.2823, allocations: 41.61 kB / 0.7293 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.2823, allocations: 55.53 kB / 0.7293 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.047e-05/0.2824, allocations: 89.86 kB / 0.7294 GB, free: 6.484 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.2824, allocations: 25.7 kB / 0.7294 GB, free: 6.453 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.063e-05/0.2824, allocations: 80.14 kB / 0.7295 GB, free: 6.371 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.2825, allocations: 8 kB / 0.7295 GB, free: 6.363 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.2825, allocations: 0 / 0.7295 GB, free: 6.363 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.2826, allocations: 314.8 kB / 0.7298 GB, free: 6.047 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.147e-05/0.2827, allocations: 0 / 0.7298 GB, free: 6.047 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.566e-06/0.2827, allocations: 0 / 0.7298 GB, free: 6.047 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.103e-05/0.2827, allocations: 8.062 kB / 0.7298 GB, free: 6.039 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2827, allocations: 0 / 0.7298 GB, free: 6.039 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.226e-05/0.2828, allocations: 37.62 kB / 0.7299 GB, free: 5.996 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.2828, allocations: 8 kB / 0.7299 GB, free: 5.988 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.2828, allocations: 0 / 0.7299 GB, free: 5.988 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.2829, allocations: 0 / 0.7299 GB, free: 5.988 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.785e-05/0.2829, allocations: 0 / 0.7299 GB, free: 5.988 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.2829, allocations: 0 / 0.7299 GB, free: 5.988 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.998e-05/0.283, allocations: 4 kB / 0.7299 GB, free: 5.984 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.283, allocations: 4.031 kB / 0.7299 GB, free: 5.98 MB / 0.5573 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 9.023e-05/0.2831, allocations: 113.8 kB / 0.73 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.346e-06/0.2831, allocations: 0 / 0.73 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.2833, allocations: 48.77 kB / 0.73 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.2833, allocations: 0 / 0.73 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.2833, allocations: 3.938 kB / 0.7301 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2833, allocations: 4.031 kB / 0.7301 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.2834, allocations: 153.6 kB / 0.7302 GB, free: 5.598 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2834, allocations: 4 kB / 0.7302 GB, free: 5.594 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.479e-05/0.2835, allocations: 0 / 0.7302 GB, free: 5.594 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2835, allocations: 0 / 0.7302 GB, free: 5.594 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.2835, allocations: 0 / 0.7302 GB, free: 5.594 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2835, allocations: 0 / 0.7302 GB, free: 5.594 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2835, allocations: 4 kB / 0.7302 GB, free: 5.59 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.177e-05/0.2836, allocations: 61.06 kB / 0.7303 GB, free: 5.512 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.2837, allocations: 85 kB / 0.7303 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.2837, allocations: 0 / 0.7303 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.581e-05/0.2837, allocations: 4 kB / 0.7304 GB, free: 5.406 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.503e-05/0.2838, allocations: 4 kB / 0.7304 GB, free: 5.402 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.2838, allocations: 0 / 0.7304 GB, free: 5.402 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.082e-05/0.2838, allocations: 75.28 kB / 0.7304 GB, free: 5.328 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.72e-07/0.2838, allocations: 0 / 0.7304 GB, free: 5.328 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002719/0.2841, allocations: 4 kB / 0.7304 GB, free: 5.324 MB / 0.5573 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0004755/0.2846, allocations: 0.6085 MB / 0.731 GB, free: 4.684 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 7.054e-05/0.2847, allocations: 4 kB / 0.731 GB, free: 4.68 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2847, allocations: 0 / 0.731 GB, free: 4.68 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.442e-05/0.2847, allocations: 11.92 kB / 0.731 GB, free: 4.668 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001074/0.2848, allocations: 4.156 kB / 0.731 GB, free: 4.664 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000323/0.2852, allocations: 100.6 kB / 0.7311 GB, free: 4.527 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.2855, allocations: 0.677 MB / 0.7318 GB, free: 3.824 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.795e-05/0.2856, allocations: 4 kB / 0.7318 GB, free: 3.82 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.2856, allocations: 7.438 kB / 0.7318 GB, free: 3.812 MB / 0.5573 GB Notification: Performance of SimCode: time 1.183e-06/0.2856, allocations: 4 kB / 0.7318 GB, free: 3.809 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/0.3045, allocations: 0.8292 MB / 0.7326 GB, free: 3.082 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000235/0.3048, allocations: 185.5 kB / 0.7328 GB, free: 2.844 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.741/3.046, allocations: 0 / 0.7328 GB, free: 2.844 MB / 0.5573 GB