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.Polynomial.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.Polynomial,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.546/4.546, allocations: 433.2 MB / 440.7 MB, free: 4.59 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.183e-05/3.209e-05, allocations: 8.188 kB / 0.5325 GB, free: 12.78 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2316, allocations: 98.73 MB / 0.6289 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2249/0.4566, allocations: 123.1 MB / 0.7491 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/0.4569, allocations: 75.95 kB / 0.7492 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001397/0.4584, allocations: 480.6 kB / 0.7497 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4584, allocations: 0 / 0.7497 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.4584, allocations: 0 / 0.7497 GB, free: 13.35 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003069/0.4587, allocations: 314.5 kB / 0.75 GB, free: 13 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.4588, allocations: 8.031 kB / 0.75 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.772e-05/0.4588, allocations: 7.891 kB / 0.75 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.4589, allocations: 163.1 kB / 0.7501 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.459, allocations: 0 / 0.7501 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.459, allocations: 4 kB / 0.7501 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.743e-05/0.459, allocations: 0 / 0.7501 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.375e-05/0.4591, allocations: 33.69 kB / 0.7502 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.4591, allocations: 0 / 0.7502 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.4592, allocations: 4 kB / 0.7502 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.4592, allocations: 0 / 0.7502 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001434/0.4593, allocations: 126.2 kB / 0.7503 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.26e-05/0.4594, allocations: 26.45 kB / 0.7503 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.091e-05/0.4594, allocations: 8.953 kB / 0.7503 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.56e-05/0.4595, allocations: 0 / 0.7503 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.4595, allocations: 30.56 kB / 0.7503 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.483e-06/0.4595, allocations: 0 / 0.7503 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.00018/0.4597, allocations: 37.69 kB / 0.7504 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.4597, allocations: 55.41 kB / 0.7504 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.989e-05/0.4598, allocations: 89.03 kB / 0.7505 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.4598, allocations: 29.64 kB / 0.7505 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.095e-05/0.4599, allocations: 80.14 kB / 0.7506 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.4599, allocations: 0 / 0.7506 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-06/0.4599, allocations: 0 / 0.7506 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.46, allocations: 310.8 kB / 0.7509 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.111e-05/0.4601, allocations: 0 / 0.7509 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.298e-05/0.4601, allocations: 4 kB / 0.7509 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.833e-05/0.4601, allocations: 4 kB / 0.7509 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.4602, allocations: 7.953 kB / 0.7509 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.77e-05/0.4603, allocations: 37.69 kB / 0.751 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.4603, allocations: 4 kB / 0.751 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.4603, allocations: 0 / 0.751 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.4603, allocations: 0 / 0.751 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.691e-05/0.4604, allocations: 4 kB / 0.751 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.4604, allocations: 0 / 0.751 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.535e-05/0.4605, allocations: 0 / 0.751 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.4605, allocations: 0 / 0.751 GB, free: 11.79 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 (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 7.995e-05/0.4606, allocations: 117.6 kB / 0.7511 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.024e-05/0.4607, allocations: 37.64 kB / 0.7511 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.065e-06/0.4607, allocations: 3.938 kB / 0.7511 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001465/0.4609, allocations: 41.44 kB / 0.7512 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.4609, allocations: 0 / 0.7512 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4609, allocations: 0 / 0.7512 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4609, allocations: 64 / 0.7512 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.461, allocations: 130.2 kB / 0.7513 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.461, allocations: 0 / 0.7513 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.094e-05/0.4611, allocations: 8 kB / 0.7513 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.4611, allocations: 0 / 0.7513 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.4611, allocations: 3.984 kB / 0.7513 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.4611, allocations: 0 / 0.7513 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4611, allocations: 0 / 0.7513 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.4613, allocations: 65.08 kB / 0.7514 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.542e-05/0.4613, allocations: 81.06 kB / 0.7514 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.4614, allocations: 3.984 kB / 0.7514 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.261e-05/0.4614, allocations: 3.938 kB / 0.7515 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.244e-05/0.4614, allocations: 4 kB / 0.7515 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.4614, allocations: 3.938 kB / 0.7515 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.125e-05/0.4615, allocations: 75.28 kB / 0.7515 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.71e-07/0.4615, allocations: 0 / 0.7515 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004633/0.462, allocations: 8 kB / 0.7515 GB, free: 11.12 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 (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.0005779/0.4626, allocations: 0.6046 MB / 0.7521 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.89e-05/0.4627, allocations: 7.938 kB / 0.7521 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4627, allocations: 0 / 0.7521 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.448e-05/0.4627, allocations: 4 kB / 0.7521 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.4629, allocations: 160 / 0.7521 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004595/0.4634, allocations: 86.66 kB / 0.7522 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.4637, allocations: 0.669 MB / 0.7529 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.49e-05/0.4637, allocations: 4 kB / 0.7529 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.4638, allocations: 7.438 kB / 0.7529 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of SimCode: time 7.42e-07/0.4638, allocations: 0 / 0.7529 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03743/0.5012, allocations: 0.5419 MB / 0.7534 GB, free: 9.109 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000296/0.5016, allocations: 144.7 kB / 0.7536 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.483/2.984, allocations: 0 / 0.7536 GB, free: 8.922 MB / 0.6355 GB