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.01124/0.01124, allocations: 107.2 kB / 15.06 MB, free: 6.023 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: 182.7 kB / 15.95 MB, free: 5.957 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.948/1.948, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.269/2.269, allocations: 236.1 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004705/0.0004705, allocations: 19.98 kB / 0.587 GB, free: 2.047 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.701/0.7015, allocations: 98.7 MB / 0.6834 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0007828/0.7024, allocations: 320.3 kB / 0.6837 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.000283/0.7027, allocations: 88.38 kB / 0.6838 GB, free: 16.59 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.575e-05/0.7027, allocations: 0 / 0.6838 GB, free: 16.59 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.018e-05/0.7027, allocations: 0 / 0.6838 GB, free: 16.59 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.508e-05/0.7028, allocations: 0 / 0.6838 GB, free: 16.59 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.703, allocations: 23.78 kB / 0.6838 GB, free: 16.57 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 4.684e-05/0.703, allocations: 2.062 kB / 0.6838 GB, free: 16.57 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.045e-05/0.7031, allocations: 1.672 kB / 0.6838 GB, free: 16.57 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 2.251e-05/0.7031, allocations: 7.656 kB / 0.6839 GB, free: 16.57 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 9.766e-05/0.7032, allocations: 2.188 kB / 0.6839 GB, free: 16.57 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.7032, allocations: 1.25 kB / 0.6839 GB, free: 16.57 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 6.51e-05/0.7033, allocations: 13.81 kB / 0.6839 GB, free: 16.56 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.607e-06/0.7033, allocations: 1.562 kB / 0.6839 GB, free: 16.56 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.7034, allocations: 25.7 kB / 0.6839 GB, free: 16.53 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 6.365e-05/0.7034, allocations: 15.73 kB / 0.6839 GB, free: 16.52 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.7034, allocations: 0 / 0.6839 GB, free: 16.52 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7035, allocations: 0 / 0.6839 GB, free: 16.52 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.7035, allocations: 0 / 0.6839 GB, free: 16.52 MB / 0.5261 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.0002908/0.7038, allocations: 319.3 kB / 0.6842 GB, free: 16.17 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.7038, allocations: 8.719 kB / 0.6842 GB, free: 16.17 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.932e-05/0.7039, allocations: 32 kB / 0.6843 GB, free: 16.13 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/0.7041, allocations: 8.234 kB / 0.6843 GB, free: 16.13 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.383e-05/0.7041, allocations: 165.3 kB / 0.6844 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.7042, allocations: 7.938 kB / 0.6844 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.7042, allocations: 2.562 kB / 0.6844 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.7043, allocations: 38.5 kB / 0.6845 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.7044, allocations: 1.344 kB / 0.6845 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.7044, allocations: 0 / 0.6845 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.7044, allocations: 3.938 kB / 0.6845 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.7045, allocations: 10.72 kB / 0.6845 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001359/0.7047, allocations: 159.5 kB / 0.6846 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.7049, allocations: 47.56 kB / 0.6847 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.705, allocations: 3.984 kB / 0.6847 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.705, allocations: 36.22 kB / 0.6847 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.705, allocations: 0 / 0.6847 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0002777/0.7053, allocations: 53.36 kB / 0.6848 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.7053, allocations: 55.41 kB / 0.6848 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.28e-05/0.7054, allocations: 90.84 kB / 0.6849 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.7054, allocations: 26.92 kB / 0.6849 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 1.526e-05/0.7054, allocations: 80.14 kB / 0.685 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.7055, allocations: 11.55 kB / 0.685 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-06/0.7055, allocations: 0 / 0.685 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.043e-05/0.7056, allocations: 320.8 kB / 0.6853 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.748e-05/0.7056, allocations: 6.062 kB / 0.6853 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.328e-05/0.7057, allocations: 12.95 kB / 0.6853 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.407e-05/0.7058, allocations: 5.953 kB / 0.6854 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7058, allocations: 0 / 0.6854 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001598/0.7059, allocations: 51.59 kB / 0.6854 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.706, allocations: 7.453 kB / 0.6854 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.706, allocations: 1.094 kB / 0.6854 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.706, allocations: 0 / 0.6854 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006478/0.7067, allocations: 44.8 kB / 0.6855 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/0.7081, allocations: 1.312 MB / 0.6867 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.099e-05/0.7082, allocations: 6.312 kB / 0.6867 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.7082, allocations: 0.9375 kB / 0.6867 GB, free: 13.57 MB / 0.5261 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 6.98e-05/0.7083, allocations: 116.2 kB / 0.6869 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.154e-05/0.7083, allocations: 4.844 kB / 0.6869 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.849e-05/0.7084, allocations: 5.797 kB / 0.6869 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.7084, allocations: 0 / 0.6869 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.7084, allocations: 1.438 kB / 0.6869 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.7084, allocations: 0.6094 kB / 0.6869 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.319e-05/0.7085, allocations: 159.1 kB / 0.687 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.7085, allocations: 3.938 kB / 0.687 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006632/0.7092, allocations: 49.55 kB / 0.6871 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.7092, allocations: 3.938 kB / 0.6871 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.7092, allocations: 1.062 kB / 0.6871 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/0.7106, allocations: 1.325 MB / 0.6884 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.7106, allocations: 1.375 kB / 0.6884 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.7108, allocations: 72.25 kB / 0.6884 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.026e-05/0.7108, allocations: 77.81 kB / 0.6885 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.297e-06/0.7109, allocations: 2.172 kB / 0.6885 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.609e-05/0.7109, allocations: 2.344 kB / 0.6885 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-05/0.711, allocations: 10.14 kB / 0.6885 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.711, allocations: 4.562 kB / 0.6885 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 1.472e-05/0.711, allocations: 76.72 kB / 0.6886 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.1e-07/0.711, allocations: 0 / 0.6886 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002692/0.7113, allocations: 2.781 kB / 0.6886 GB, free: 11.61 MB / 0.5261 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.0003778/0.7117, allocations: 0.6184 MB / 0.6892 GB, free: 11 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007545/0.7124, allocations: 59.66 kB / 0.6893 GB, free: 11 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.7125, allocations: 0 / 0.6893 GB, free: 11 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004486/0.7129, allocations: 41.2 kB / 0.6893 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/0.7131, allocations: 2.578 kB / 0.6893 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000427/0.7135, allocations: 121.2 kB / 0.6894 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.7136, allocations: 0.6759 MB / 0.6901 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.445e-05/0.7137, allocations: 7.344 kB / 0.6901 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.053e-05/0.7137, allocations: 13.84 kB / 0.6901 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of SimCode: time 8.31e-07/0.7137, allocations: 0 / 0.6901 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.7371, allocations: 1.063 MB / 0.6911 GB, free: 9.914 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002672/0.7374, allocations: 221.2 kB / 0.6914 GB, free: 9.676 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.359/3.096, allocations: 5.406 kB / 0.6914 GB, free: 9.672 MB / 0.5261 GB