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.PowerLinearized.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.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.548/4.548, allocations: 432.6 MB / 445.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.071e-05/4.081e-05, allocations: 5.656 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.219, allocations: 98.73 MB / 0.6347 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.269/0.4881, allocations: 123.8 MB / 0.7556 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/0.4884, allocations: 75.95 kB / 0.7557 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00386/0.4923, allocations: 0.9415 MB / 0.7566 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.038e-06/0.4924, allocations: 7.984 kB / 0.7566 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.4924, allocations: 0 / 0.7566 GB, free: 4.902 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.0003436/0.4928, allocations: 316.6 kB / 0.7569 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.4928, allocations: 8.031 kB / 0.7569 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.626e-05/0.4929, allocations: 38.55 kB / 0.757 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/0.4931, allocations: 7.984 kB / 0.757 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.4933, allocations: 167 kB / 0.7571 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.4933, allocations: 4 kB / 0.7571 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.4933, allocations: 0 / 0.7571 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.4935, allocations: 33.69 kB / 0.7572 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.4935, allocations: 11.94 kB / 0.7572 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.4935, allocations: 0 / 0.7572 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.4935, allocations: 0 / 0.7572 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.323e-05/0.4936, allocations: 8 kB / 0.7572 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/0.4938, allocations: 157.7 kB / 0.7573 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.494, allocations: 38.45 kB / 0.7574 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.859e-05/0.494, allocations: 8.922 kB / 0.7574 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.4941, allocations: 4 kB / 0.7574 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.4941, allocations: 34.64 kB / 0.7574 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.904e-06/0.4941, allocations: 0 / 0.7574 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001607/0.4943, allocations: 45.69 kB / 0.7575 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.4943, allocations: 51.41 kB / 0.7575 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.625e-05/0.4944, allocations: 85 kB / 0.7576 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.4944, allocations: 29.7 kB / 0.7576 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.48e-05/0.4945, allocations: 84.12 kB / 0.7577 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.4945, allocations: 7.906 kB / 0.7577 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.4945, allocations: 7.938 kB / 0.7577 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.4947, allocations: 314.8 kB / 0.758 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.675e-05/0.4947, allocations: 8 kB / 0.758 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.743e-05/0.4948, allocations: 0 / 0.758 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.091e-05/0.4948, allocations: 4 kB / 0.758 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4948, allocations: 0 / 0.758 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001083/0.4949, allocations: 45.69 kB / 0.7581 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.495, allocations: 6.5 kB / 0.7581 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.495, allocations: 4 kB / 0.7581 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.495, allocations: 4 kB / 0.7581 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006971/0.4957, allocations: 43.92 kB / 0.7581 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/0.4972, allocations: 1.294 MB / 0.7594 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.133e-05/0.4973, allocations: 0 / 0.7594 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.4973, allocations: 0 / 0.7594 GB, free: 1.719 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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.756e-05/0.4974, allocations: 113.1 kB / 0.7595 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.434e-05/0.4974, allocations: 4 kB / 0.7595 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.72e-05/0.4975, allocations: 3.5 kB / 0.7595 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4975, allocations: 0 / 0.7595 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.4975, allocations: 0 / 0.7595 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.4975, allocations: 0 / 0.7595 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.4976, allocations: 165.5 kB / 0.7597 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4977, allocations: 0 / 0.7597 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006667/0.4983, allocations: 55.86 kB / 0.7597 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.4983, allocations: 0 / 0.7597 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.4984, allocations: 0 / 0.7597 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001434/0.4998, allocations: 1.288 MB / 0.761 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.4999, allocations: 7.938 kB / 0.761 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.5, allocations: 77.11 kB / 0.761 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.5001, allocations: 81.11 kB / 0.7611 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.5001, allocations: 4 kB / 0.7611 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.774e-05/0.5001, allocations: 0 / 0.7611 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.208e-05/0.5002, allocations: 7.984 kB / 0.7611 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.5002, allocations: 0 / 0.7611 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.242e-05/0.5003, allocations: 79.28 kB / 0.7612 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.81e-07/0.5003, allocations: 0 / 0.7612 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002462/0.5005, allocations: 0 / 0.7612 GB, free: 15.62 MB / 0.6511 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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000512/0.501, allocations: 0.6163 MB / 0.7618 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006451/0.5017, allocations: 43.94 kB / 0.7619 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5017, allocations: 4 kB / 0.7619 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003194/0.5021, allocations: 27.97 kB / 0.7619 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001063/0.5022, allocations: 0 / 0.7619 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003284/0.5025, allocations: 86.92 kB / 0.762 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.5029, allocations: 0.677 MB / 0.7626 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.466e-05/0.5029, allocations: 4 kB / 0.7626 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.418e-05/0.503, allocations: 11.44 kB / 0.7626 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of SimCode: time 8.82e-07/0.503, allocations: 0 / 0.7626 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02373/0.5267, allocations: 1.067 MB / 0.7637 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000289/0.5271, allocations: 191.5 kB / 0.7639 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.446/2.973, allocations: 0 / 0.7639 GB, free: 12.86 MB / 0.6511 GB