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.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.Examples.PowerLinearized,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.291/4.291, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.309e-05/3.339e-05, allocations: 4.75 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2202, allocations: 98.73 MB / 0.6347 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2518/0.4721, allocations: 124.4 MB / 0.7562 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/0.4724, allocations: 71.95 kB / 0.7563 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003059/0.4755, allocations: 0.7623 MB / 0.757 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4756, allocations: 0 / 0.757 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.4756, allocations: 4 kB / 0.757 GB, free: 4.523 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.0004787/0.4761, allocations: 346.4 kB / 0.7573 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.4761, allocations: 8.031 kB / 0.7573 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.295e-05/0.4762, allocations: 34.56 kB / 0.7574 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002023/0.4764, allocations: 11.98 kB / 0.7574 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.4766, allocations: 178.9 kB / 0.7576 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.4766, allocations: 0 / 0.7576 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.4766, allocations: 4 kB / 0.7576 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.4768, allocations: 45.69 kB / 0.7576 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.4768, allocations: 0 / 0.7576 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.4768, allocations: 0 / 0.7576 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.4768, allocations: 0 / 0.7576 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.664e-05/0.4769, allocations: 19.94 kB / 0.7576 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005458/0.4775, allocations: 276.9 kB / 0.7579 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.4776, allocations: 34.56 kB / 0.7579 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.049e-05/0.4777, allocations: 12.92 kB / 0.7579 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.4777, allocations: 0 / 0.7579 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.4777, allocations: 30.56 kB / 0.758 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.4777, allocations: 0 / 0.758 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002067/0.478, allocations: 53.64 kB / 0.758 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.478, allocations: 59.36 kB / 0.7581 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.4781, allocations: 96.98 kB / 0.7582 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.4782, allocations: 29.64 kB / 0.7582 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.632e-05/0.4782, allocations: 84.14 kB / 0.7583 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.4783, allocations: 7.906 kB / 0.7583 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.4783, allocations: 0 / 0.7583 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.4784, allocations: 310.8 kB / 0.7586 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.991e-05/0.4785, allocations: 8.031 kB / 0.7586 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.829e-05/0.4785, allocations: 19.94 kB / 0.7586 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.243e-05/0.4786, allocations: 7.984 kB / 0.7586 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.4786, allocations: 0 / 0.7586 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001359/0.4787, allocations: 49.64 kB / 0.7587 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.4788, allocations: 4 kB / 0.7587 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.4788, allocations: 0 / 0.7587 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.4788, allocations: 4 kB / 0.7587 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.479, allocations: 16.08 kB / 0.7587 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.479, allocations: 0 / 0.7587 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.4792, allocations: 15.94 kB / 0.7587 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.4792, allocations: 4 kB / 0.7587 GB, free: 2.566 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 (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 8.084e-05/0.4793, allocations: 101 kB / 0.7588 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.34e-05/0.4793, allocations: 3.906 kB / 0.7588 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.4794, allocations: 11.66 kB / 0.7588 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.4794, allocations: 4 kB / 0.7588 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.4794, allocations: 3.984 kB / 0.7588 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4794, allocations: 0 / 0.7588 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.4796, allocations: 169.8 kB / 0.759 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.4796, allocations: 4 kB / 0.759 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.4798, allocations: 11.98 kB / 0.759 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.4799, allocations: 0 / 0.759 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.4799, allocations: 4 kB / 0.759 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.4799, allocations: 0 / 0.759 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.4799, allocations: 4 kB / 0.759 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.4803, allocations: 151.4 kB / 0.7591 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.966e-05/0.4804, allocations: 85.09 kB / 0.7592 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.4804, allocations: 0 / 0.7592 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002831/0.4807, allocations: 11.98 kB / 0.7592 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.4808, allocations: 0 / 0.7592 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.4808, allocations: 4.031 kB / 0.7592 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.504e-05/0.4809, allocations: 91.22 kB / 0.7593 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.61e-07/0.481, allocations: 0 / 0.7593 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006485/0.4816, allocations: 7.906 kB / 0.7593 GB, free: 1.824 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 (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.0007671/0.4824, allocations: 0.6812 MB / 0.76 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001972/0.4826, allocations: 20 kB / 0.76 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4827, allocations: 0 / 0.76 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.997e-05/0.4827, allocations: 12 kB / 0.76 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.4831, allocations: 6.047 kB / 0.76 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009729/0.4841, allocations: 106.6 kB / 0.7601 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004569/0.4846, allocations: 0.6848 MB / 0.7608 GB, free: 232 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.236e-05/0.4847, allocations: 0 / 0.7608 GB, free: 232 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.239e-05/0.4848, allocations: 11.44 kB / 0.7608 GB, free: 220 kB / 0.6355 GB Notification: Performance of SimCode: time 3.807e-06/0.4849, allocations: 4 kB / 0.7608 GB, free: 216 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/0.5092, allocations: 1.173 MB / 0.762 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003269/0.5096, allocations: 149.8 kB / 0.7621 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.427/2.936, allocations: 8 kB / 0.7621 GB, free: 14.87 MB / 0.6511 GB