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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0122/0.0122, allocations: 220.3 kB / 15.17 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001166/0.001166, allocations: 176.9 kB / 16.06 MB, free: 5.871 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.566/3.566, allocations: 389.1 MB / 405.9 MB, free: 67.65 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.299/4.299, allocations: 472.3 MB / 0.9017 GB, free: 13.42 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006717/0.0006722, allocations: 16 kB / 1.008 GB, free: 0.7539 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6168/0.6176, allocations: 98.72 MB / 1.104 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0006797/0.6183, allocations: 313.4 kB / 1.104 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0001809/0.6185, allocations: 31.92 kB / 1.104 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.167e-06/0.6185, allocations: 0 / 1.104 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 1.312e-05/0.6185, allocations: 4.344 kB / 1.104 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 6.893e-06/0.6186, allocations: 0 / 1.104 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.6188, allocations: 11.98 kB / 1.104 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 3.346e-05/0.6188, allocations: 4 kB / 1.104 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.115e-05/0.6189, allocations: 2.469 kB / 1.104 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 2.337e-05/0.6189, allocations: 0 / 1.104 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.369e-05/0.619, allocations: 7.984 kB / 1.104 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.619, allocations: 3.984 kB / 1.104 GB, free: 183.4 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 9.071e-05/0.6191, allocations: 27.17 kB / 1.105 GB, free: 183.4 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 6.252e-06/0.6191, allocations: 0 / 1.105 GB, free: 183.4 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 1.689e-05/0.6191, allocations: 25.7 kB / 1.105 GB, free: 183.4 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 6.026e-05/0.6192, allocations: 7.984 kB / 1.105 GB, free: 183.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6192, allocations: 0.75 kB / 1.105 GB, free: 183.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6192, allocations: 0 / 1.105 GB, free: 183.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.6192, allocations: 0 / 1.105 GB, free: 183.4 MB / 0.6823 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.0002303/0.6195, allocations: 311.4 kB / 1.105 GB, free: 183 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.6195, allocations: 11.03 kB / 1.105 GB, free: 183 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.664e-05/0.6196, allocations: 31.31 kB / 1.105 GB, free: 183 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.904e-05/0.6196, allocations: 4 kB / 1.105 GB, free: 183 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.475e-05/0.6197, allocations: 167 kB / 1.105 GB, free: 182.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.6197, allocations: 0.6562 kB / 1.105 GB, free: 182.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.6197, allocations: 0 / 1.105 GB, free: 182.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.647e-05/0.6198, allocations: 33.64 kB / 1.105 GB, free: 182.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.6198, allocations: 1 kB / 1.105 GB, free: 182.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.6198, allocations: 4 kB / 1.105 GB, free: 182.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.6199, allocations: 3.75 kB / 1.105 GB, free: 182.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.103e-05/0.6199, allocations: 0 / 1.105 GB, free: 182.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.98e-05/0.62, allocations: 150.7 kB / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.387e-05/0.62, allocations: 19.12 kB / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.718e-05/0.6201, allocations: 8.859 kB / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.6201, allocations: 7.031 kB / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.519e-05/0.6201, allocations: 34.5 kB / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.412e-06/0.6201, allocations: 0 / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001133/0.6203, allocations: 35.56 kB / 1.105 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.6203, allocations: 51.41 kB / 1.105 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.013e-05/0.6203, allocations: 92.67 kB / 1.105 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.694e-06/0.6203, allocations: 29.7 kB / 1.106 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 1.451e-05/0.6204, allocations: 80.14 kB / 1.106 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.6204, allocations: 0.5625 kB / 1.106 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.6204, allocations: 3.938 kB / 1.106 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.461e-05/0.6205, allocations: 318.8 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.234e-05/0.6205, allocations: 3.5 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.287e-06/0.6205, allocations: 4 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.622e-05/0.6205, allocations: 3.938 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6206, allocations: 0.75 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.891e-05/0.6206, allocations: 37.69 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.6206, allocations: 4 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.6207, allocations: 0 / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.6207, allocations: 0 / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.284e-05/0.6207, allocations: 8.344 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.6207, allocations: 0 / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.527e-05/0.6208, allocations: 0 / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.6208, allocations: 0.8438 kB / 1.106 GB, free: 181.8 MB / 0.6823 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 4.898e-05/0.6208, allocations: 109.8 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-06/0.6209, allocations: 4 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.621, allocations: 48.03 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.621, allocations: 1.062 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.621, allocations: 0 / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.621, allocations: 0 / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.087e-05/0.6211, allocations: 153.6 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6211, allocations: 0 / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.326e-05/0.6211, allocations: 0.9375 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.6211, allocations: 2.938 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.6212, allocations: 5.688 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.6212, allocations: 0 / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6212, allocations: 0 / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.365e-05/0.6212, allocations: 64.97 kB / 1.106 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.99e-05/0.6213, allocations: 85.56 kB / 1.106 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.6213, allocations: 2.781 kB / 1.106 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.486e-05/0.6213, allocations: 0 / 1.106 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.613e-05/0.6213, allocations: 0 / 1.106 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.6214, allocations: 2.156 kB / 1.106 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 1.482e-05/0.6214, allocations: 75.28 kB / 1.106 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.51e-07/0.6214, allocations: 4 kB / 1.106 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002421/0.6216, allocations: 4 kB / 1.106 GB, free: 181.1 MB / 0.6823 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.0002731/0.6219, allocations: 0.611 MB / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 6.171e-05/0.622, allocations: 8.594 kB / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.622, allocations: 2.188 kB / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.225e-05/0.622, allocations: 7.984 kB / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.6222, allocations: 0 / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002643/0.6225, allocations: 103.9 kB / 1.107 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.6226, allocations: 0.6731 MB / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.39e-05/0.6227, allocations: 5.031 kB / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.516e-05/0.6227, allocations: 7.438 kB / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of SimCode: time 6.21e-07/0.6227, allocations: 0 / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01637/0.6391, allocations: 0.8395 MB / 1.109 GB, free: 179 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/0.6394, allocations: 197.8 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.292/2.931, allocations: 0.75 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB