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 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.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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01579/0.01579, allocations: 108.9 kB / 15.05 MB, free: 5.93 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.001851/0.001851, allocations: 186.3 kB / 15.95 MB, free: 5.895 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 2.056/2.056, allocations: 194.6 MB / 211.3 MB, free: 11.09 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.245/2.245, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005157/0.0005157, allocations: 12 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6762/0.6768, allocations: 98.71 MB / 0.6834 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2259/0.9027, allocations: 125.2 MB / 0.8057 GB, free: 1.098 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003244/0.9031, allocations: 99.92 kB / 0.8058 GB, free: 1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002911/0.906, allocations: 0.7911 MB / 0.8066 GB, free: 212 kB / 0.6198 GB Notification: Performance of FrontEnd: time 2.194e-06/0.906, allocations: 4 kB / 0.8066 GB, free: 208 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.321e-05/0.9061, allocations: 0 / 0.8066 GB, free: 208 kB / 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.000409/0.9065, allocations: 335.4 kB / 0.8069 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.9065, allocations: 8.031 kB / 0.8069 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.864e-05/0.9066, allocations: 34.56 kB / 0.8069 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.125e-05/0.9066, allocations: 11.86 kB / 0.8069 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.9068, allocations: 170.9 kB / 0.8071 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.9068, allocations: 4 kB / 0.8071 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.9068, allocations: 0 / 0.8071 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.907, allocations: 41.69 kB / 0.8072 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.907, allocations: 0 / 0.8072 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.907, allocations: 3.938 kB / 0.8072 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.9071, allocations: 4 kB / 0.8072 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.9072, allocations: 27.98 kB / 0.8072 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004213/0.9076, allocations: 260.9 kB / 0.8074 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.9078, allocations: 26.58 kB / 0.8075 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.9078, allocations: 4 kB / 0.8075 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.9078, allocations: 38.61 kB / 0.8075 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.9078, allocations: 0 / 0.8075 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0003216/0.9082, allocations: 69.53 kB / 0.8076 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.9082, allocations: 59.3 kB / 0.8076 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.328e-05/0.9083, allocations: 101.1 kB / 0.8077 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.9084, allocations: 29.7 kB / 0.8078 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.679e-05/0.9084, allocations: 80.14 kB / 0.8078 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.9085, allocations: 3.906 kB / 0.8078 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-06/0.9085, allocations: 0 / 0.8078 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.9086, allocations: 322.8 kB / 0.8081 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.374e-05/0.9087, allocations: 4 kB / 0.8081 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.239e-05/0.9087, allocations: 19.98 kB / 0.8082 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.865e-05/0.9088, allocations: 8 kB / 0.8082 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.9088, allocations: 0 / 0.8082 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001817/0.909, allocations: 53.69 kB / 0.8082 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.9091, allocations: 4 kB / 0.8082 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.9091, allocations: 0 / 0.8082 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.9091, allocations: 12.08 kB / 0.8082 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.59e-05/0.9092, allocations: 7.938 kB / 0.8082 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.9092, allocations: 0 / 0.8082 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.473e-05/0.9093, allocations: 7.953 kB / 0.8083 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.9093, allocations: 0 / 0.8083 GB, free: 14.27 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 (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.486e-05/0.9094, allocations: 109.8 kB / 0.8084 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.9094, allocations: 7.984 kB / 0.8084 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.9095, allocations: 3.531 kB / 0.8084 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.9095, allocations: 4 kB / 0.8084 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.9095, allocations: 0 / 0.8084 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.9095, allocations: 0 / 0.8084 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.9097, allocations: 161.6 kB / 0.8085 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.9097, allocations: 0 / 0.8085 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.837e-05/0.9098, allocations: 15.91 kB / 0.8085 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.9098, allocations: 0 / 0.8085 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.9098, allocations: 0 / 0.8085 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.9098, allocations: 0 / 0.8085 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.9099, allocations: 3.984 kB / 0.8085 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.9101, allocations: 167.3 kB / 0.8087 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.323e-05/0.9102, allocations: 81.09 kB / 0.8088 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.9102, allocations: 0 / 0.8088 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.623e-05/0.9103, allocations: 4 kB / 0.8088 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.9103, allocations: 0 / 0.8088 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.9103, allocations: 4.281 kB / 0.8088 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.386e-05/0.9104, allocations: 91.27 kB / 0.8089 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.6e-07/0.9104, allocations: 0 / 0.8089 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002659/0.9107, allocations: 4 kB / 0.8089 GB, free: 13.52 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 (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.0005146/0.9112, allocations: 0.696 MB / 0.8096 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001837/0.9114, allocations: 34.41 kB / 0.8096 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.9114, allocations: 0 / 0.8096 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.447e-05/0.9115, allocations: 8 kB / 0.8096 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.9117, allocations: 4.125 kB / 0.8096 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005355/0.9122, allocations: 162.2 kB / 0.8098 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.9125, allocations: 0.6809 MB / 0.8104 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.239e-05/0.9125, allocations: 0 / 0.8104 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/0.9126, allocations: 7.438 kB / 0.8104 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of SimCode: time 6.21e-07/0.9126, allocations: 0 / 0.8104 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02193/0.9345, allocations: 0.9675 MB / 0.8114 GB, free: 11 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002641/0.9349, allocations: 210.5 kB / 0.8116 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.238/3.173, allocations: 0 / 0.8116 GB, free: 10.75 MB / 0.6355 GB