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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.415/4.415, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.884e-05/3.896e-05, allocations: 6.188 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2181, allocations: 98.73 MB / 0.6347 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2353/0.4535, allocations: 123.8 MB / 0.7556 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/0.4539, allocations: 71.95 kB / 0.7557 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001444/0.4553, allocations: 476.6 kB / 0.7561 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4554, allocations: 0 / 0.7561 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.4554, allocations: 4 kB / 0.7561 GB, free: 5.398 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.0002924/0.4557, allocations: 310.7 kB / 0.7564 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.4557, allocations: 12.09 kB / 0.7564 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.291e-05/0.4558, allocations: 30.56 kB / 0.7565 GB, free: 5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.266e-05/0.4558, allocations: 8 kB / 0.7565 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.456, allocations: 171 kB / 0.7566 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.456, allocations: 0 / 0.7566 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.456, allocations: 0 / 0.7566 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.4561, allocations: 29.7 kB / 0.7567 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.4561, allocations: 0 / 0.7567 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.4562, allocations: 0 / 0.7567 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.4562, allocations: 0 / 0.7567 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.911e-05/0.4562, allocations: 7.984 kB / 0.7567 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000158/0.4564, allocations: 149.6 kB / 0.7568 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.985e-05/0.4564, allocations: 22.52 kB / 0.7568 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.334e-05/0.4565, allocations: 8.953 kB / 0.7568 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.5e-05/0.4565, allocations: 0 / 0.7568 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.4566, allocations: 30.56 kB / 0.7569 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 3.356e-06/0.4566, allocations: 0 / 0.7569 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001355/0.4567, allocations: 41.62 kB / 0.7569 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.4568, allocations: 55.44 kB / 0.757 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.14e-05/0.4568, allocations: 85 kB / 0.757 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.4569, allocations: 25.7 kB / 0.7571 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.078e-05/0.4569, allocations: 80.14 kB / 0.7571 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.4569, allocations: 0 / 0.7571 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-06/0.457, allocations: 0 / 0.7571 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.4571, allocations: 322.7 kB / 0.7574 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.489e-05/0.4571, allocations: 4 kB / 0.7574 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.137e-06/0.4571, allocations: 4 kB / 0.7575 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.973e-05/0.4572, allocations: 0 / 0.7575 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4572, allocations: 0 / 0.7575 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.042e-05/0.4573, allocations: 41.62 kB / 0.7575 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.4573, allocations: 6.188 kB / 0.7575 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4573, allocations: 0 / 0.7575 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.4573, allocations: 0 / 0.7575 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.146e-05/0.4574, allocations: 4 kB / 0.7575 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.4574, allocations: 0 / 0.7575 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.992e-05/0.4575, allocations: 4.094 kB / 0.7575 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.4575, allocations: 0 / 0.7575 GB, free: 3.758 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.674e-05/0.4576, allocations: 108.9 kB / 0.7576 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-06/0.4576, allocations: 0 / 0.7576 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.4577, allocations: 44.75 kB / 0.7577 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.4578, allocations: 4 kB / 0.7577 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4578, allocations: 4.031 kB / 0.7577 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4578, allocations: 0 / 0.7577 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.4579, allocations: 149.6 kB / 0.7578 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4579, allocations: 0 / 0.7578 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.818e-05/0.458, allocations: 4 kB / 0.7578 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.458, allocations: 0 / 0.7578 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.458, allocations: 0 / 0.7578 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.458, allocations: 0 / 0.7578 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.458, allocations: 0 / 0.7578 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.68e-05/0.4581, allocations: 69.06 kB / 0.7579 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.324e-05/0.4582, allocations: 81.06 kB / 0.758 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.4582, allocations: 4 kB / 0.758 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.521e-05/0.4582, allocations: 3.938 kB / 0.758 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.682e-05/0.4582, allocations: 0 / 0.758 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.4583, allocations: 4 kB / 0.758 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.388e-05/0.4583, allocations: 75.28 kB / 0.758 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.6e-07/0.4583, allocations: 0 / 0.758 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002389/0.4586, allocations: 8 kB / 0.758 GB, free: 3.113 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.0004749/0.459, allocations: 0.6047 MB / 0.7586 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.472e-05/0.4591, allocations: 7.938 kB / 0.7586 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4592, allocations: 0 / 0.7586 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.164e-05/0.4592, allocations: 96 / 0.7586 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001032/0.4593, allocations: 14.12 kB / 0.7587 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.4596, allocations: 74.64 kB / 0.7587 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.4599, allocations: 0.6809 MB / 0.7594 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.837e-05/0.4599, allocations: 0 / 0.7594 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.344e-05/0.46, allocations: 7.438 kB / 0.7594 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of SimCode: time 1.092e-06/0.46, allocations: 7.938 kB / 0.7594 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02276/0.4828, allocations: 0.813 MB / 0.7602 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003474/0.4832, allocations: 170.6 kB / 0.7604 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.51/2.993, allocations: 0 / 0.7604 GB, free: 0.6445 MB / 0.6355 GB