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 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.Examples.Polynominal,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_Polynominal",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.01264/0.01264, allocations: 221.1 kB / 15.17 MB, free: 5.922 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.001131/0.001131, allocations: 184.3 kB / 16.06 MB, free: 5.828 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.831/3.831, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.3/4.3, allocations: 472.3 MB / 0.9017 GB, free: 3.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006646/0.0006649, allocations: 12 kB / 1.008 GB, free: 10.19 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6823/0.683, allocations: 98.71 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.001855/0.6849, allocations: 1.141 MB / 1.105 GB, free: 212.3 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002988/0.6853, allocations: 92.91 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.93e-05/0.6853, allocations: 3.938 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.474e-05/0.6854, allocations: 1.562 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.744e-05/0.6854, allocations: 4.875 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.6856, allocations: 15.66 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.184e-05/0.6857, allocations: 19.72 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.09e-05/0.6858, allocations: 3.203 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.319e-05/0.6859, allocations: 11.94 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.088e-05/0.6859, allocations: 9.547 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.6859, allocations: 0 / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.645e-05/0.686, allocations: 16.64 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.061e-05/0.6861, allocations: 4.562 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.28e-05/0.6861, allocations: 33.64 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.039e-05/0.6862, allocations: 25.55 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.6862, allocations: 3.469 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6862, allocations: 0 / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.6863, allocations: 6.875 kB / 1.105 GB, free: 212.1 MB / 0.7292 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.0004985/0.6868, allocations: 337.7 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.6868, allocations: 7.844 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.234e-05/0.6869, allocations: 30.56 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/0.6869, allocations: 10 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.6871, allocations: 171.5 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.6871, allocations: 7.344 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.6871, allocations: 0 / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.6874, allocations: 64.17 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.6875, allocations: 0 / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.6875, allocations: 2.906 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.6875, allocations: 0.7188 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003578/0.6879, allocations: 48.95 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.6883, allocations: 254.4 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.6885, allocations: 47.02 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001864/0.6887, allocations: 33.52 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.261e-05/0.6888, allocations: 6.109 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.6888, allocations: 32.41 kB / 1.106 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 2.355e-06/0.6888, allocations: 0 / 1.106 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0006768/0.6895, allocations: 107 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.6896, allocations: 56.05 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.468e-05/0.6897, allocations: 109.4 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.6897, allocations: 25.7 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.385e-05/0.6898, allocations: 87.92 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.6898, allocations: 3.906 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-06/0.6898, allocations: 0.5 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.884e-05/0.6899, allocations: 318.5 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.6901, allocations: 22.27 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.6903, allocations: 29.62 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.6905, allocations: 25.08 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6905, allocations: 0 / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004239/0.6909, allocations: 80.77 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.691, allocations: 10.56 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.691, allocations: 0 / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.691, allocations: 0 / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.6912, allocations: 10.86 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.6912, allocations: 0 / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.6913, allocations: 11.52 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.6914, allocations: 6.094 kB / 1.107 GB, free: 210.4 MB / 0.7292 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 (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.78e-05/0.6915, allocations: 109.3 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.695e-05/0.6915, allocations: 4.797 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000469/0.692, allocations: 95 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.692, allocations: 0 / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.692, allocations: 1 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.6921, allocations: 3.625 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.6923, allocations: 163.5 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.6923, allocations: 1.25 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.6925, allocations: 13.47 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.6925, allocations: 0 / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.6925, allocations: 7.938 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.6925, allocations: 1.125 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.6925, allocations: 0 / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004498/0.693, allocations: 186.5 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.693, allocations: 78.52 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.6931, allocations: 1.219 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.6933, allocations: 15.7 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.6933, allocations: 1.625 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.415e-06/0.6934, allocations: 2.844 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.228e-05/0.6934, allocations: 84.25 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.61e-07/0.6934, allocations: 0 / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005312/0.694, allocations: 16.5 kB / 1.108 GB, free: 209.8 MB / 0.7292 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 (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.0007408/0.6947, allocations: 0.7161 MB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004407/0.6952, allocations: 56.17 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6952, allocations: 0 / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.6954, allocations: 26.92 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005185/0.696, allocations: 2.875 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006823/0.6967, allocations: 155.5 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/0.6969, allocations: 0.6829 MB / 1.11 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.231e-05/0.6969, allocations: 1 kB / 1.11 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.83e-05/0.697, allocations: 16.73 kB / 1.11 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of SimCode: time 9.61e-07/0.697, allocations: 0 / 1.11 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07247/0.7695, allocations: 1.171 MB / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002688/0.7698, allocations: 186.1 kB / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.41/3.18, allocations: 0.7188 kB / 1.111 GB, free: 208 MB / 0.7292 GB