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/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.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.072/4.072, allocations: 433.2 MB / 440.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.844e-05/2.857e-05, allocations: 6.469 kB / 0.5325 GB, free: 12.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2045, allocations: 98.73 MB / 0.6289 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2295/0.4341, allocations: 123.7 MB / 0.7497 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/0.4344, allocations: 75.95 kB / 0.7498 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003124/0.4376, allocations: 0.7697 MB / 0.7505 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4376, allocations: 0 / 0.7505 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.4376, allocations: 4 kB / 0.7506 GB, free: 12.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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004228/0.4381, allocations: 334.5 kB / 0.7509 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.4381, allocations: 16.03 kB / 0.7509 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/0.4382, allocations: 11.94 kB / 0.7509 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.4383, allocations: 163 kB / 0.7511 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.4383, allocations: 8 kB / 0.7511 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.4384, allocations: 0 / 0.7511 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.977e-05/0.4385, allocations: 12 kB / 0.7511 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.027e-05/0.4386, allocations: 37.62 kB / 0.7511 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.4386, allocations: 4 kB / 0.7511 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.4386, allocations: 3.938 kB / 0.7511 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.4386, allocations: 0 / 0.7511 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004649/0.4391, allocations: 253.5 kB / 0.7514 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.703e-05/0.4392, allocations: 26.58 kB / 0.7514 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.084e-05/0.4392, allocations: 16.91 kB / 0.7514 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.94e-05/0.4393, allocations: 4 kB / 0.7514 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.4393, allocations: 34.56 kB / 0.7514 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 4.268e-06/0.4393, allocations: 3.984 kB / 0.7514 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002169/0.4396, allocations: 49.62 kB / 0.7515 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.4396, allocations: 51.41 kB / 0.7515 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.053e-05/0.4397, allocations: 100.9 kB / 0.7516 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.4397, allocations: 25.7 kB / 0.7517 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.773e-05/0.4398, allocations: 80.14 kB / 0.7517 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.4398, allocations: 19.92 kB / 0.7518 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.4398, allocations: 0 / 0.7518 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.44, allocations: 314.8 kB / 0.7521 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.886e-05/0.44, allocations: 8 kB / 0.7521 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.446e-05/0.44, allocations: 4 kB / 0.7521 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.932e-05/0.4401, allocations: 11.98 kB / 0.7521 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.4401, allocations: 0 / 0.7521 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001389/0.4403, allocations: 41.7 kB / 0.7521 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.4403, allocations: 16.08 kB / 0.7521 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.4403, allocations: 3.938 kB / 0.7521 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.4404, allocations: 0 / 0.7521 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.4405, allocations: 8 kB / 0.7521 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.4405, allocations: 0 / 0.7521 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.804e-05/0.4406, allocations: 15.92 kB / 0.7522 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.4406, allocations: 0 / 0.7522 GB, free: 10.5 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 7.763e-05/0.4407, allocations: 108.9 kB / 0.7523 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001453/0.4409, allocations: 53.59 kB / 0.7523 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.4409, allocations: 0 / 0.7523 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001735/0.4411, allocations: 57.58 kB / 0.7524 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.4411, allocations: 0 / 0.7524 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4411, allocations: 0 / 0.7524 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.4412, allocations: 7.953 kB / 0.7524 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.4413, allocations: 134.2 kB / 0.7525 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.4414, allocations: 0 / 0.7525 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.4415, allocations: 20.05 kB / 0.7525 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4415, allocations: 256 / 0.7525 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.4415, allocations: 4 kB / 0.7525 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.4415, allocations: 4 kB / 0.7525 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.4415, allocations: 0 / 0.7525 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.4417, allocations: 147.3 kB / 0.7527 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.262e-05/0.4418, allocations: 81.09 kB / 0.7527 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.4418, allocations: 8.031 kB / 0.7528 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.4419, allocations: 4 kB / 0.7528 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.442, allocations: 7.922 kB / 0.7528 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.442, allocations: 4 kB / 0.7528 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.944e-05/0.4421, allocations: 87.22 kB / 0.7529 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4421, allocations: 0 / 0.7529 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002952/0.4424, allocations: 12 kB / 0.7529 GB, free: 9.688 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.0005303/0.4429, allocations: 0.6851 MB / 0.7535 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.723e-05/0.4431, allocations: 15.98 kB / 0.7535 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.4431, allocations: 4 kB / 0.7536 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.558e-05/0.4431, allocations: 7.938 kB / 0.7536 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.4433, allocations: 4.781 kB / 0.7536 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004309/0.4438, allocations: 97.59 kB / 0.7537 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.4441, allocations: 0.6884 MB / 0.7543 GB, free: 8.094 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.246e-05/0.4441, allocations: 0 / 0.7543 GB, free: 8.094 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.48e-05/0.4441, allocations: 11.44 kB / 0.7543 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of SimCode: time 7.32e-07/0.4442, allocations: 0 / 0.7543 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0325/0.4767, allocations: 0.8466 MB / 0.7552 GB, free: 7.246 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002836/0.477, allocations: 132.9 kB / 0.7553 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.345/2.822, allocations: 0 / 0.7553 GB, free: 7.055 MB / 0.6355 GB