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.Polynominal.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.Examples.Polynominal,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_Polynominal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.275/4.275, allocations: 432.6 MB / 445.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.446e-05/4.466e-05, allocations: 4.5 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2201, allocations: 98.74 MB / 0.6347 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.259/0.4791, allocations: 124.4 MB / 0.7562 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003998/0.4796, allocations: 67.97 kB / 0.7563 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004883/0.4845, allocations: 0.774 MB / 0.757 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.325e-06/0.4846, allocations: 0 / 0.757 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.485e-06/0.4846, allocations: 0 / 0.757 GB, free: 4.461 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000606/0.4852, allocations: 350.4 kB / 0.7574 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.152e-05/0.4853, allocations: 8.031 kB / 0.7574 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.196e-05/0.4854, allocations: 34.56 kB / 0.7574 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.4855, allocations: 0 / 0.7574 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.4857, allocations: 174.9 kB / 0.7576 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.4857, allocations: 0 / 0.7576 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.4857, allocations: 0 / 0.7576 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.4859, allocations: 41.69 kB / 0.7576 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.486, allocations: 0 / 0.7576 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.486, allocations: 4 kB / 0.7576 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.486, allocations: 0 / 0.7576 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.4861, allocations: 15.98 kB / 0.7576 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007491/0.4869, allocations: 280.8 kB / 0.7579 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.4871, allocations: 30.58 kB / 0.7579 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.711e-05/0.4872, allocations: 12.92 kB / 0.7579 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.719e-05/0.4873, allocations: 11.97 kB / 0.7579 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.4873, allocations: 30.56 kB / 0.758 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 6.863e-06/0.4873, allocations: 0 / 0.758 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002676/0.4876, allocations: 49.58 kB / 0.758 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.4877, allocations: 55.36 kB / 0.7581 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.4878, allocations: 105 kB / 0.7582 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.4879, allocations: 25.7 kB / 0.7582 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.261e-05/0.488, allocations: 88.14 kB / 0.7583 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.488, allocations: 3.906 kB / 0.7583 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-06/0.488, allocations: 0 / 0.7583 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.4882, allocations: 318.8 kB / 0.7586 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.793e-05/0.4883, allocations: 4 kB / 0.7586 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.825e-05/0.4884, allocations: 8 kB / 0.7586 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.295e-05/0.4884, allocations: 12.06 kB / 0.7586 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4885, allocations: 0 / 0.7586 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001962/0.4887, allocations: 49.62 kB / 0.7587 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.4887, allocations: 4 kB / 0.7587 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.4887, allocations: 0 / 0.7587 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.4888, allocations: 0 / 0.7587 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.489, allocations: 15.98 kB / 0.7587 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.489, allocations: 0 / 0.7587 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.4892, allocations: 19.97 kB / 0.7587 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.4892, allocations: 4 kB / 0.7587 GB, free: 2.52 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 (2): * Single equations (assignments): 2 * 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.949e-05/0.4894, allocations: 101 kB / 0.7588 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.148e-05/0.4894, allocations: 3.906 kB / 0.7588 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/0.4897, allocations: 57.34 kB / 0.7589 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/0.4897, allocations: 0 / 0.7589 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.4897, allocations: 0 / 0.7589 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.4898, allocations: 256 / 0.7589 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003162/0.4901, allocations: 165.5 kB / 0.759 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.4901, allocations: 12.03 kB / 0.759 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.4903, allocations: 15.92 kB / 0.759 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.4903, allocations: 0 / 0.759 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.4904, allocations: 0 / 0.759 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.4904, allocations: 0 / 0.759 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.4904, allocations: 0 / 0.759 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.4907, allocations: 151.5 kB / 0.7592 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.948e-05/0.4907, allocations: 85 kB / 0.7593 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.4908, allocations: 0 / 0.7593 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.491, allocations: 15.92 kB / 0.7593 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.4911, allocations: 0 / 0.7593 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.4911, allocations: 0 / 0.7593 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.776e-05/0.4912, allocations: 91.27 kB / 0.7594 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.22e-07/0.4912, allocations: 0 / 0.7594 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004933/0.4917, allocations: 8 kB / 0.7594 GB, free: 1.734 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 (2): * Single equations (assignments): 2 * 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.0008115/0.4926, allocations: 0.689 MB / 0.76 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000161/0.4928, allocations: 16 kB / 0.7601 GB, free: 1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4928, allocations: 0 / 0.7601 GB, free: 1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.296e-05/0.4929, allocations: 16.03 kB / 0.7601 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.4932, allocations: 11.92 kB / 0.7601 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006478/0.4939, allocations: 90.64 kB / 0.7602 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.4943, allocations: 0.6809 MB / 0.7608 GB, free: 144 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.235e-05/0.4943, allocations: 0 / 0.7608 GB, free: 144 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.54e-05/0.4944, allocations: 11.42 kB / 0.7608 GB, free: 132 kB / 0.6355 GB Notification: Performance of SimCode: time 1.493e-06/0.4944, allocations: 0 / 0.7608 GB, free: 132 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02415/0.5186, allocations: 1.151 MB / 0.762 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003675/0.5191, allocations: 163.2 kB / 0.7621 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.416/2.935, allocations: 0 / 0.7621 GB, free: 14.8 MB / 0.6511 GB