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/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.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.499/4.499, allocations: 433.2 MB / 440.7 MB, free: 4.527 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.43e-05/4.444e-05, allocations: 7.5 kB / 0.5325 GB, free: 12.74 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2301, allocations: 98.74 MB / 0.6289 GB, free: 9.039 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2493/0.4795, allocations: 123.1 MB / 0.7492 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003714/0.4799, allocations: 75.95 kB / 0.7492 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004689/0.4846, allocations: 0.9412 MB / 0.7501 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.445e-06/0.4847, allocations: 0 / 0.7501 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.4847, allocations: 0 / 0.7501 GB, free: 12.73 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.0003997/0.4851, allocations: 310.6 kB / 0.7504 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.318e-05/0.4852, allocations: 12.03 kB / 0.7505 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002596/0.4855, allocations: 19.88 kB / 0.7505 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.4857, allocations: 159.1 kB / 0.7506 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.4857, allocations: 0 / 0.7506 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.4857, allocations: 0 / 0.7506 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.53e-05/0.4858, allocations: 16 kB / 0.7506 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.486, allocations: 33.69 kB / 0.7507 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.486, allocations: 0 / 0.7507 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.486, allocations: 0 / 0.7507 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.486, allocations: 0 / 0.7507 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002204/0.4863, allocations: 150.1 kB / 0.7508 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.4865, allocations: 34.45 kB / 0.7508 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.181e-05/0.4865, allocations: 9.062 kB / 0.7509 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.4866, allocations: 7.969 kB / 0.7509 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.4866, allocations: 34.56 kB / 0.7509 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.184e-06/0.4866, allocations: 4 kB / 0.7509 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001881/0.4868, allocations: 37.7 kB / 0.7509 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.4869, allocations: 55.39 kB / 0.751 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.536e-05/0.487, allocations: 85 kB / 0.7511 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.487, allocations: 25.7 kB / 0.7511 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.335e-05/0.4871, allocations: 80.14 kB / 0.7512 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/0.4871, allocations: 7.906 kB / 0.7512 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-06/0.4871, allocations: 0 / 0.7512 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.4873, allocations: 314.8 kB / 0.7515 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.584e-05/0.4874, allocations: 0 / 0.7515 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.713e-05/0.4874, allocations: 15.94 kB / 0.7515 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.278e-05/0.4875, allocations: 4 kB / 0.7515 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.4875, allocations: 7.938 kB / 0.7515 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000129/0.4876, allocations: 33.7 kB / 0.7515 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.4877, allocations: 4.938 kB / 0.7515 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4877, allocations: 0 / 0.7515 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.4877, allocations: 4 kB / 0.7515 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008264/0.4886, allocations: 43.92 kB / 0.7516 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001796/0.4904, allocations: 1.247 MB / 0.7528 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.808e-05/0.4905, allocations: 4.031 kB / 0.7528 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.4905, allocations: 0 / 0.7528 GB, free: 9.695 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 0.0001158/0.4906, allocations: 105.6 kB / 0.7529 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001185/0.4908, allocations: 49.64 kB / 0.753 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.339e-05/0.4908, allocations: 0 / 0.753 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.016e-05/0.4908, allocations: 4.125 kB / 0.753 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4909, allocations: 4.094 kB / 0.753 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.4909, allocations: 0 / 0.753 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.4909, allocations: 0 / 0.753 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.491, allocations: 138.2 kB / 0.7531 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.4911, allocations: 0 / 0.7531 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008248/0.4919, allocations: 43.94 kB / 0.7531 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.166e-06/0.4919, allocations: 4 kB / 0.7531 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.492, allocations: 12.16 kB / 0.7532 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001732/0.4937, allocations: 1.243 MB / 0.7544 GB, free: 7.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.515e-06/0.4938, allocations: 3.984 kB / 0.7544 GB, free: 7.926 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.4939, allocations: 65.16 kB / 0.7544 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.855e-05/0.494, allocations: 85.05 kB / 0.7545 GB, free: 7.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.494, allocations: 0 / 0.7545 GB, free: 7.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.124e-05/0.4941, allocations: 0 / 0.7545 GB, free: 7.742 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-05/0.4942, allocations: 12.03 kB / 0.7545 GB, free: 7.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.4942, allocations: 0 / 0.7545 GB, free: 7.73 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.66e-05/0.4942, allocations: 75.28 kB / 0.7546 GB, free: 7.656 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.71e-07/0.4943, allocations: 0 / 0.7546 GB, free: 7.656 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004685/0.4947, allocations: 4 kB / 0.7546 GB, free: 7.652 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 (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.0006377/0.4954, allocations: 0.6085 MB / 0.7552 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008238/0.4962, allocations: 43.94 kB / 0.7552 GB, free: 6.973 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.4963, allocations: 0 / 0.7552 GB, free: 6.973 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004497/0.4967, allocations: 35.91 kB / 0.7553 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.4969, allocations: 1.031 kB / 0.7553 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004696/0.4974, allocations: 81.66 kB / 0.7554 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.4978, allocations: 0.6768 MB / 0.756 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.813e-05/0.4979, allocations: 3.984 kB / 0.756 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.414e-05/0.498, allocations: 11.44 kB / 0.756 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of SimCode: time 1.192e-06/0.498, allocations: 4 kB / 0.756 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05594/0.5539, allocations: 0.6883 MB / 0.7567 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002557/0.5543, allocations: 146.2 kB / 0.7568 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.52/3.074, allocations: 0 / 0.7568 GB, free: 5.23 MB / 0.6355 GB