Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Examples.Performance.Example5.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.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.294/4.294, allocations: 433.2 MB / 440.7 MB, free: 10.56 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.177e-05/3.178e-05, allocations: 4 kB / 0.5325 GB, free: 1.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.636/0.6361, allocations: 98.72 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.285/0.9211, allocations: 123 MB / 0.749 GB, free: 4.551 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.9215, allocations: 67.95 kB / 0.7491 GB, free: 4.484 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.001607/0.9231, allocations: 486.2 kB / 0.7495 GB, free: 4.008 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9232, allocations: 4 kB / 0.7495 GB, free: 4.004 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.9232, allocations: 4 kB / 0.7495 GB, free: 4 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003809/0.9236, allocations: 310.6 kB / 0.7498 GB, free: 3.652 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.9236, allocations: 8.031 kB / 0.7498 GB, free: 3.645 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.9237, allocations: 4 kB / 0.7499 GB, free: 3.641 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.924, allocations: 179 kB / 0.75 GB, free: 3.426 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.924, allocations: 0 / 0.75 GB, free: 3.426 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.9241, allocations: 0 / 0.75 GB, free: 3.426 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.833e-05/0.9241, allocations: 4 kB / 0.75 GB, free: 3.422 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.647e-05/0.9242, allocations: 37.62 kB / 0.7501 GB, free: 3.379 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.9242, allocations: 0 / 0.7501 GB, free: 3.379 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.9243, allocations: 4 kB / 0.7501 GB, free: 3.375 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.9243, allocations: 7.922 kB / 0.7501 GB, free: 3.367 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/0.9245, allocations: 134.2 kB / 0.7502 GB, free: 3.199 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.729e-05/0.9245, allocations: 18.58 kB / 0.7502 GB, free: 3.172 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.823e-05/0.9246, allocations: 8.922 kB / 0.7502 GB, free: 3.16 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.9246, allocations: 4 kB / 0.7502 GB, free: 3.156 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.9246, allocations: 30.56 kB / 0.7503 GB, free: 3.117 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.533e-06/0.9247, allocations: 0 / 0.7503 GB, free: 3.117 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001824/0.9248, allocations: 49.47 kB / 0.7503 GB, free: 3.062 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.9249, allocations: 51.41 kB / 0.7504 GB, free: 3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.925, allocations: 105 kB / 0.7505 GB, free: 2.891 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.9251, allocations: 25.7 kB / 0.7505 GB, free: 2.859 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.9251, allocations: 84.14 kB / 0.7506 GB, free: 2.773 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.9252, allocations: 8.031 kB / 0.7506 GB, free: 2.766 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.9252, allocations: 0 / 0.7506 GB, free: 2.766 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.9254, allocations: 314.8 kB / 0.7509 GB, free: 2.449 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.232e-05/0.9254, allocations: 4 kB / 0.7509 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.358e-05/0.9254, allocations: 13.72 kB / 0.7509 GB, free: 2.426 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.031e-05/0.9255, allocations: 7.984 kB / 0.7509 GB, free: 2.418 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.9255, allocations: 4.016 kB / 0.7509 GB, free: 2.414 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001181/0.9256, allocations: 53.62 kB / 0.7509 GB, free: 2.355 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.9257, allocations: 4 kB / 0.751 GB, free: 2.352 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.9257, allocations: 0 / 0.751 GB, free: 2.352 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.9257, allocations: 0 / 0.751 GB, free: 2.352 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.9258, allocations: 4 kB / 0.751 GB, free: 2.348 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.9258, allocations: 0 / 0.751 GB, free: 2.348 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.769e-05/0.9259, allocations: 7.906 kB / 0.751 GB, free: 2.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.9259, allocations: 0 / 0.751 GB, free: 2.34 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 9.335e-05/0.926, allocations: 109 kB / 0.7511 GB, free: 2.227 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.093e-05/0.9261, allocations: 45.58 kB / 0.7511 GB, free: 2.176 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.9261, allocations: 4 kB / 0.7511 GB, free: 2.172 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001396/0.9263, allocations: 49.42 kB / 0.7512 GB, free: 2.121 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.9263, allocations: 0 / 0.7512 GB, free: 2.121 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.9263, allocations: 0 / 0.7512 GB, free: 2.121 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.9263, allocations: 4 kB / 0.7512 GB, free: 2.117 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.9265, allocations: 138.2 kB / 0.7513 GB, free: 1.945 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.9265, allocations: 3.938 kB / 0.7513 GB, free: 1.941 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.267e-05/0.9266, allocations: 8.062 kB / 0.7513 GB, free: 1.934 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.9266, allocations: 0 / 0.7513 GB, free: 1.934 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.9266, allocations: 0 / 0.7513 GB, free: 1.934 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.9266, allocations: 0 / 0.7513 GB, free: 1.934 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.9266, allocations: 0 / 0.7513 GB, free: 1.934 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.9268, allocations: 80.95 kB / 0.7514 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.848e-05/0.9269, allocations: 89.09 kB / 0.7515 GB, free: 1.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.9269, allocations: 0 / 0.7515 GB, free: 1.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.17e-05/0.927, allocations: 4.094 kB / 0.7515 GB, free: 1.727 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.428e-05/0.927, allocations: 0 / 0.7515 GB, free: 1.727 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.927, allocations: 0 / 0.7515 GB, free: 1.727 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.416e-05/0.9271, allocations: 87.52 kB / 0.7516 GB, free: 1.641 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.51e-07/0.9271, allocations: 0 / 0.7516 GB, free: 1.641 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000262/0.9274, allocations: 7.938 kB / 0.7516 GB, free: 1.633 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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.0005594/0.9279, allocations: 0.6203 MB / 0.7522 GB, free: 0.9805 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.14e-05/0.9281, allocations: 11.94 kB / 0.7522 GB, free: 0.9688 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.9281, allocations: 0 / 0.7522 GB, free: 0.9688 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.476e-05/0.9281, allocations: 7.984 kB / 0.7522 GB, free: 0.9609 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.9283, allocations: 4 kB / 0.7522 GB, free: 0.957 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004285/0.9287, allocations: 99.67 kB / 0.7523 GB, free: 0.8242 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.929, allocations: 0.6848 MB / 0.753 GB, free: 116 kB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.292e-05/0.9291, allocations: 4 kB / 0.753 GB, free: 112 kB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.311e-05/0.9291, allocations: 11.44 kB / 0.753 GB, free: 100 kB / 0.6198 GB Notification: Performance of SimCode: time 1.072e-06/0.9291, allocations: 0 / 0.753 GB, free: 100 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03448/0.9636, allocations: 0.6819 MB / 0.7536 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003245/0.964, allocations: 136.1 kB / 0.7538 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.247/3.211, allocations: 4.031 kB / 0.7538 GB, free: 15.23 MB / 0.6355 GB