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 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.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",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.01092/0.01092, allocations: 106.7 kB / 15.05 MB, free: 6 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.001185/0.001185, allocations: 183.1 kB / 15.95 MB, free: 5.941 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 1.992/1.992, allocations: 194.5 MB / 211.3 MB, free: 11.27 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.887/2.887, allocations: 236.1 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000694/0.0006939, allocations: 12 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7053/0.7061, allocations: 98.72 MB / 0.6834 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2504/0.9565, allocations: 123.9 MB / 0.8044 GB, free: 2.379 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003353/0.9569, allocations: 75.89 kB / 0.8045 GB, free: 2.305 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003631/0.9606, allocations: 0.9583 MB / 0.8054 GB, free: 1.344 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.236e-06/0.9606, allocations: 0 / 0.8054 GB, free: 1.344 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.9606, allocations: 0 / 0.8054 GB, free: 1.344 MB / 0.6198 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.000366/0.961, allocations: 319.4 kB / 0.8057 GB, free: 0.9844 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.9611, allocations: 12.03 kB / 0.8057 GB, free: 0.9727 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.515e-05/0.9611, allocations: 34.55 kB / 0.8058 GB, free: 0.9297 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001807/0.9613, allocations: 11.92 kB / 0.8058 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.9615, allocations: 163 kB / 0.8059 GB, free: 0.7188 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.9615, allocations: 7.938 kB / 0.8059 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.9615, allocations: 0 / 0.8059 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.9617, allocations: 37.69 kB / 0.806 GB, free: 0.668 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.9617, allocations: 0 / 0.806 GB, free: 0.668 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.9617, allocations: 4 kB / 0.806 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.9617, allocations: 4 kB / 0.806 GB, free: 0.6602 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.9619, allocations: 7.984 kB / 0.806 GB, free: 0.6523 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001984/0.9621, allocations: 161.6 kB / 0.8062 GB, free: 456 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.9623, allocations: 42.61 kB / 0.8062 GB, free: 404 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.853e-05/0.9624, allocations: 0 / 0.8062 GB, free: 404 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.9624, allocations: 42.64 kB / 0.8062 GB, free: 352 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.9624, allocations: 0 / 0.8062 GB, free: 352 kB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.000294/0.9627, allocations: 49.88 kB / 0.8063 GB, free: 296 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.9628, allocations: 55.34 kB / 0.8063 GB, free: 228 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.92e-05/0.9628, allocations: 85 kB / 0.8064 GB, free: 136 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.9628, allocations: 25.7 kB / 0.8064 GB, free: 104 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.521e-05/0.9629, allocations: 84.12 kB / 0.8065 GB, free: 16 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.9629, allocations: 15.91 kB / 0.8065 GB, free: 0 / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.963, allocations: 0 / 0.8065 GB, free: 0 / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.9631, allocations: 310.8 kB / 0.8068 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.023e-05/0.9632, allocations: 4 kB / 0.8068 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.551e-05/0.9632, allocations: 11.97 kB / 0.8068 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.952e-05/0.9633, allocations: 15.89 kB / 0.8069 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.9633, allocations: 0 / 0.8069 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001705/0.9635, allocations: 53.58 kB / 0.8069 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.9636, allocations: 8 kB / 0.8069 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.9636, allocations: 0 / 0.8069 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.9636, allocations: 0 / 0.8069 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006546/0.9643, allocations: 43.88 kB / 0.807 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/0.966, allocations: 1.31 MB / 0.8082 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.798e-05/0.9661, allocations: 4.031 kB / 0.8082 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.9661, allocations: 4 kB / 0.8082 GB, free: 14.1 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 () * Number of clocked 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.708e-05/0.9663, allocations: 113.7 kB / 0.8084 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/0.9663, allocations: 7.906 kB / 0.8084 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.984e-05/0.9663, allocations: 7.484 kB / 0.8084 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.9663, allocations: 0 / 0.8084 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.9663, allocations: 8.125 kB / 0.8084 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.9663, allocations: 0 / 0.8084 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.9665, allocations: 157.6 kB / 0.8085 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.9665, allocations: 0 / 0.8085 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006473/0.9671, allocations: 47.92 kB / 0.8086 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.9672, allocations: 4 kB / 0.8086 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.9672, allocations: 4 kB / 0.8086 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001647/0.9688, allocations: 1.32 MB / 0.8099 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.9689, allocations: 0 / 0.8099 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.9691, allocations: 77.19 kB / 0.8099 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.96e-05/0.9691, allocations: 85.11 kB / 0.81 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-06/0.9692, allocations: 0 / 0.81 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.125e-05/0.9692, allocations: 0 / 0.81 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.251e-05/0.9692, allocations: 4 kB / 0.81 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.9693, allocations: 4 kB / 0.81 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.807e-05/0.9693, allocations: 75.28 kB / 0.8101 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9693, allocations: 3.938 kB / 0.8101 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002503/0.9696, allocations: 4 kB / 0.8101 GB, free: 11.96 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 () * Number of clocked 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.0005354/0.9701, allocations: 0.6124 MB / 0.8107 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006969/0.9708, allocations: 51.92 kB / 0.8108 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.9708, allocations: 4 kB / 0.8108 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003489/0.9712, allocations: 35.89 kB / 0.8108 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001173/0.9713, allocations: 4 kB / 0.8108 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004866/0.9718, allocations: 135.1 kB / 0.8109 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.9721, allocations: 0.6809 MB / 0.8116 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.865e-05/0.9722, allocations: 0 / 0.8116 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.228e-05/0.9722, allocations: 7.438 kB / 0.8116 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of SimCode: time 8.31e-07/0.9722, allocations: 4 kB / 0.8116 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02185/0.9941, allocations: 1.046 MB / 0.8126 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003636/0.9945, allocations: 217.2 kB / 0.8128 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.205/3.199, allocations: 4 kB / 0.8128 GB, free: 9.168 MB / 0.6355 GB