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/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.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 3.961/3.961, allocations: 433.2 MB / 440.7 MB, free: 4.523 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.985e-05/2.998e-05, allocations: 3.344 kB / 0.5325 GB, free: 12.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2165, allocations: 98.73 MB / 0.6289 GB, free: 9.023 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2256/0.4421, allocations: 124.5 MB / 0.7504 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/0.4425, allocations: 87.94 kB / 0.7505 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003072/0.4455, allocations: 0.7856 MB / 0.7513 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4456, allocations: 4 kB / 0.7513 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.4456, allocations: 4 kB / 0.7513 GB, free: 11.52 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.0003897/0.446, allocations: 330.5 kB / 0.7516 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.4461, allocations: 8.031 kB / 0.7516 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.4461, allocations: 7.953 kB / 0.7516 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.4463, allocations: 167 kB / 0.7518 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.4463, allocations: 0 / 0.7518 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.4463, allocations: 4 kB / 0.7518 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.034e-05/0.4464, allocations: 4 kB / 0.7518 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.67e-05/0.4465, allocations: 45.62 kB / 0.7518 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.4465, allocations: 0 / 0.7518 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.4466, allocations: 0 / 0.7518 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.4466, allocations: 0 / 0.7518 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.447, allocations: 237.5 kB / 0.7521 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.508e-05/0.4471, allocations: 22.58 kB / 0.7521 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.672e-05/0.4471, allocations: 12.92 kB / 0.7521 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.4471, allocations: 3.984 kB / 0.7521 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.4472, allocations: 38.56 kB / 0.7521 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.703e-06/0.4472, allocations: 0 / 0.7521 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001636/0.4474, allocations: 41.62 kB / 0.7522 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.4474, allocations: 51.41 kB / 0.7522 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.263e-05/0.4475, allocations: 101 kB / 0.7523 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.4475, allocations: 29.73 kB / 0.7524 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/0.4476, allocations: 88.08 kB / 0.7524 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.4476, allocations: 3.906 kB / 0.7524 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.4476, allocations: 3.938 kB / 0.7524 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.4478, allocations: 318.8 kB / 0.7528 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.334e-05/0.4478, allocations: 4 kB / 0.7528 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.099e-05/0.4478, allocations: 7.938 kB / 0.7528 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.899e-05/0.4479, allocations: 8 kB / 0.7528 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4479, allocations: 4.062 kB / 0.7528 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.286e-05/0.448, allocations: 37.69 kB / 0.7528 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.448, allocations: 4 kB / 0.7528 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.448, allocations: 3.938 kB / 0.7528 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.4481, allocations: 4 kB / 0.7528 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.4482, allocations: 4 kB / 0.7528 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.4482, allocations: 0 / 0.7528 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.821e-05/0.4483, allocations: 4 kB / 0.7528 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.4483, allocations: 7.938 kB / 0.7528 GB, free: 9.746 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.734e-05/0.4484, allocations: 109 kB / 0.7529 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001054/0.4485, allocations: 41.61 kB / 0.753 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.4486, allocations: 3.984 kB / 0.753 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.055e-05/0.4486, allocations: 11.95 kB / 0.753 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.4486, allocations: 0 / 0.753 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.4486, allocations: 4.203 kB / 0.753 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4486, allocations: 4 kB / 0.753 GB, free: 9.566 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.4488, allocations: 138.2 kB / 0.7531 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4488, allocations: 0 / 0.7531 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.399e-05/0.4489, allocations: 8.031 kB / 0.7531 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.4489, allocations: 0 / 0.7531 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.449, allocations: 3.984 kB / 0.7531 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.449, allocations: 3.938 kB / 0.7531 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.449, allocations: 4 kB / 0.7532 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.4492, allocations: 131.5 kB / 0.7533 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-05/0.4492, allocations: 85 kB / 0.7534 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.4493, allocations: 8.031 kB / 0.7534 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.615e-05/0.4494, allocations: 0 / 0.7534 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.4494, allocations: 4 kB / 0.7534 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.4494, allocations: 0 / 0.7534 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.048e-05/0.4495, allocations: 83.28 kB / 0.7535 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4495, allocations: 0 / 0.7535 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002838/0.4498, allocations: 4 kB / 0.7535 GB, free: 9.031 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.0004684/0.4503, allocations: 0.6772 MB / 0.7541 GB, free: 8.324 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001056/0.4504, allocations: 12 kB / 0.7541 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4504, allocations: 3.938 kB / 0.7541 GB, free: 8.309 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.536e-05/0.4504, allocations: 8 kB / 0.7541 GB, free: 8.301 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.4506, allocations: 7.938 kB / 0.7541 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004549/0.4511, allocations: 85.81 kB / 0.7542 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.4514, allocations: 0.6846 MB / 0.7549 GB, free: 7.461 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.463e-05/0.4515, allocations: 0 / 0.7549 GB, free: 7.461 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.518e-05/0.4515, allocations: 11.42 kB / 0.7549 GB, free: 7.449 MB / 0.6355 GB Notification: Performance of SimCode: time 3.537e-06/0.4516, allocations: 0 / 0.7549 GB, free: 7.449 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03599/0.4876, allocations: 0.6744 MB / 0.7556 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003492/0.488, allocations: 162.7 kB / 0.7557 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.2/2.688, allocations: 5.344 kB / 0.7557 GB, free: 6.59 MB / 0.6355 GB