Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_6_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.425/4.425, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.257e-05/3.275e-05, allocations: 4.812 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2263, allocations: 98.74 MB / 0.6347 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2587/0.4851, allocations: 125.1 MB / 0.7569 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003512/0.4855, allocations: 87.94 kB / 0.757 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003055/0.4886, allocations: 0.7937 MB / 0.7578 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4886, allocations: 0 / 0.7578 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.278e-06/0.4886, allocations: 4 kB / 0.7578 GB, free: 3.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.0004004/0.489, allocations: 326.5 kB / 0.7581 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.4891, allocations: 8.031 kB / 0.7581 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.058e-05/0.4891, allocations: 30.56 kB / 0.7581 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.4892, allocations: 15.94 kB / 0.7581 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.4893, allocations: 170.9 kB / 0.7583 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.4894, allocations: 4 kB / 0.7583 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.4894, allocations: 4 kB / 0.7583 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.4895, allocations: 41.67 kB / 0.7583 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.4895, allocations: 0 / 0.7583 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.4896, allocations: 0 / 0.7583 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.4896, allocations: 0 / 0.7583 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.713e-05/0.4896, allocations: 8 kB / 0.7584 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004478/0.4901, allocations: 264.9 kB / 0.7586 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.13e-05/0.4902, allocations: 26.58 kB / 0.7586 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.233e-05/0.4902, allocations: 8.922 kB / 0.7586 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.4903, allocations: 0 / 0.7586 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.4903, allocations: 34.56 kB / 0.7587 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.4903, allocations: 0 / 0.7587 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001663/0.4905, allocations: 45.64 kB / 0.7587 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.4906, allocations: 59.34 kB / 0.7588 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.858e-05/0.4907, allocations: 97 kB / 0.7589 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.4907, allocations: 25.7 kB / 0.7589 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/0.4907, allocations: 84.14 kB / 0.759 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.4908, allocations: 11.84 kB / 0.759 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.4908, allocations: 0 / 0.759 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.4909, allocations: 322.8 kB / 0.7593 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.437e-05/0.491, allocations: 8.031 kB / 0.7593 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.777e-05/0.491, allocations: 0 / 0.7593 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.578e-05/0.491, allocations: 8 kB / 0.7593 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4911, allocations: 0 / 0.7593 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001024/0.4912, allocations: 45.64 kB / 0.7593 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.4912, allocations: 7.984 kB / 0.7594 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4912, allocations: 0 / 0.7594 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.4912, allocations: 0 / 0.7594 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.584e-05/0.4913, allocations: 8 kB / 0.7594 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.4914, allocations: 4.094 kB / 0.7594 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.414e-05/0.4914, allocations: 7.953 kB / 0.7594 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.4914, allocations: 0 / 0.7594 GB, free: 1.867 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 7.904e-05/0.4915, allocations: 105 kB / 0.7595 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.051e-05/0.4916, allocations: 3.906 kB / 0.7595 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.742e-05/0.4916, allocations: 11.66 kB / 0.7595 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.4916, allocations: 0 / 0.7595 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4916, allocations: 0 / 0.7595 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4916, allocations: 0 / 0.7595 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.4919, allocations: 165.6 kB / 0.7596 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.4919, allocations: 0 / 0.7596 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.153e-05/0.492, allocations: 11.98 kB / 0.7597 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.492, allocations: 0 / 0.7597 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.607e-06/0.492, allocations: 256 / 0.7597 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.492, allocations: 4 kB / 0.7597 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.492, allocations: 0 / 0.7597 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.4922, allocations: 147.4 kB / 0.7598 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-05/0.4922, allocations: 77.11 kB / 0.7599 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.4923, allocations: 0 / 0.7599 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.583e-05/0.4924, allocations: 4 kB / 0.7599 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.4924, allocations: 7.984 kB / 0.7599 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.4924, allocations: 4 kB / 0.7599 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.516e-05/0.4925, allocations: 79.28 kB / 0.76 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-07/0.4925, allocations: 0 / 0.76 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002623/0.4928, allocations: 7.906 kB / 0.76 GB, free: 1.164 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.0005005/0.4933, allocations: 0.6831 MB / 0.7606 GB, free: 464 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.139e-05/0.4934, allocations: 15.94 kB / 0.7607 GB, free: 448 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4934, allocations: 0 / 0.7607 GB, free: 448 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.435e-05/0.4934, allocations: 8.094 kB / 0.7607 GB, free: 440 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.4936, allocations: 13.12 kB / 0.7607 GB, free: 428 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004011/0.494, allocations: 90.56 kB / 0.7608 GB, free: 300 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.4944, allocations: 0.6809 MB / 0.7614 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.155e-05/0.4944, allocations: 0 / 0.7614 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.133e-05/0.4945, allocations: 11.44 kB / 0.7614 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of SimCode: time 8.11e-07/0.4945, allocations: 0 / 0.7614 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01888/0.5134, allocations: 0.9774 MB / 0.7624 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002861/0.5137, allocations: 183.1 kB / 0.7626 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.208/2.722, allocations: 0 / 0.7626 GB, free: 14.44 MB / 0.6511 GB