Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.452/2.452, allocations: 248.7 MB / 256.2 MB, free: 7.078 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001471/0.001471, allocations: 176.9 kB / 315.4 MB, free: 4.02 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.098/2.098, allocations: 205.3 MB / 0.5662 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 99.41 kB / 0.6704 GB, free: 5.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.246e-05/3.257e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2049, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8931/1.098, allocations: 131 MB / 1.012 GB, free: 7.824 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/1.098, allocations: 79.62 kB / 1.012 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001425/1.1, allocations: 475.6 kB / 1.013 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.813e-06/1.1, allocations: 0 / 1.013 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.009e-06/1.1, allocations: 0 / 1.013 GB, free: 7.332 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.00028/1.1, allocations: 315.8 kB / 1.013 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/1.1, allocations: 11.84 kB / 1.013 GB, free: 6.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.752e-05/1.1, allocations: 4 kB / 1.013 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/1.1, allocations: 163 kB / 1.013 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/1.1, allocations: 3.984 kB / 1.013 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/1.101, allocations: 0 / 1.013 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.874e-05/1.101, allocations: 0 / 1.013 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.399e-05/1.101, allocations: 33.64 kB / 1.013 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/1.101, allocations: 0 / 1.013 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/1.101, allocations: 0 / 1.013 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/1.101, allocations: 2.625 kB / 1.013 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/1.101, allocations: 134.2 kB / 1.013 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.579e-05/1.101, allocations: 18.61 kB / 1.013 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.083e-05/1.101, allocations: 4.859 kB / 1.013 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.791e-05/1.101, allocations: 3.984 kB / 1.013 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/1.101, allocations: 42 kB / 1.013 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.352e-06/1.101, allocations: 0 / 1.013 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.000164/1.101, allocations: 37.64 kB / 1.013 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/1.101, allocations: 51.41 kB / 1.013 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.855e-05/1.101, allocations: 85 kB / 1.013 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/1.101, allocations: 25.7 kB / 1.013 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.412e-05/1.101, allocations: 80.14 kB / 1.014 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/1.101, allocations: 0 / 1.014 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-06/1.101, allocations: 0 / 1.014 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001273/1.102, allocations: 314.8 kB / 1.014 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.179e-05/1.102, allocations: 4.031 kB / 1.014 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.024e-05/1.102, allocations: 3.984 kB / 1.014 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.698e-05/1.102, allocations: 4 kB / 1.014 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/1.102, allocations: 0 / 1.014 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.504e-05/1.102, allocations: 38.34 kB / 1.014 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/1.102, allocations: 4 kB / 1.014 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/1.102, allocations: 0 / 1.014 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/1.102, allocations: 4 kB / 1.014 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.445e-05/1.102, allocations: 3.938 kB / 1.014 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/1.102, allocations: 7.922 kB / 1.014 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.909e-05/1.102, allocations: 8.031 kB / 1.014 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/1.102, allocations: 4 kB / 1.014 GB, free: 5.777 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.271e-05/1.102, allocations: 104.9 kB / 1.014 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.841e-05/1.102, allocations: 33.66 kB / 1.014 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.599e-06/1.102, allocations: 4 kB / 1.014 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001502/1.102, allocations: 49.41 kB / 1.014 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/1.102, allocations: 0 / 1.014 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/1.102, allocations: 3.938 kB / 1.014 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/1.102, allocations: 0 / 1.014 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.435e-05/1.102, allocations: 134.2 kB / 1.014 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/1.103, allocations: 3.953 kB / 1.014 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.317e-05/1.103, allocations: 0 / 1.014 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/1.103, allocations: 0 / 1.014 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/1.103, allocations: 4 kB / 1.014 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.103, allocations: 0 / 1.014 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.103, allocations: 0 / 1.014 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/1.103, allocations: 57.16 kB / 1.014 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.51e-05/1.103, allocations: 85.06 kB / 1.014 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/1.103, allocations: 0 / 1.014 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.669e-05/1.103, allocations: 0.875 kB / 1.014 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.176e-05/1.103, allocations: 0 / 1.014 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-06/1.103, allocations: 0 / 1.014 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.052e-05/1.103, allocations: 75.28 kB / 1.014 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/1.103, allocations: 4.031 kB / 1.014 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002419/1.103, allocations: 8 kB / 1.014 GB, free: 5.129 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.0004816/1.104, allocations: 0.5992 MB / 1.015 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.153e-05/1.104, allocations: 4 kB / 1.015 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.104, allocations: 4.094 kB / 1.015 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.471e-05/1.104, allocations: 7.688 kB / 1.015 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001152/1.104, allocations: 3.984 kB / 1.015 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/1.104, allocations: 81.59 kB / 1.015 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/1.104, allocations: 0.6806 MB / 1.016 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.674e-05/1.105, allocations: 3.688 kB / 1.016 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.284e-05/1.105, allocations: 15.44 kB / 1.016 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of SimCode: time 6.91e-07/1.105, allocations: 0 / 1.016 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03122/1.136, allocations: 0.5288 MB / 1.016 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003279/1.136, allocations: 141 kB / 1.016 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.221/3.357, allocations: 4 kB / 1.016 GB, free: 2.941 MB / 0.6355 GB