Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01018/0.01019, allocations: 90.27 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001239/0.001239, allocations: 173.1 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.151/2.151, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.459/2.459, allocations: 252.8 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004994/0.0004996, allocations: 13 kB / 0.6243 GB, free: 28.29 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2386, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002228/0.2409, allocations: 1.152 MB / 0.7292 GB, free: 8.992 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0009585/0.2419, allocations: 409 kB / 0.7296 GB, free: 8.586 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.565e-05/0.242, allocations: 0 / 0.7296 GB, free: 8.586 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.624e-05/0.242, allocations: 3.938 kB / 0.7296 GB, free: 8.582 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.242e-05/0.2421, allocations: 3.984 kB / 0.7296 GB, free: 8.578 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.2423, allocations: 11.98 kB / 0.7296 GB, free: 8.566 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.538e-05/0.2424, allocations: 15.98 kB / 0.7296 GB, free: 8.551 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.464e-05/0.2425, allocations: 7.984 kB / 0.7296 GB, free: 8.543 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 9.525e-05/0.2426, allocations: 11.94 kB / 0.7296 GB, free: 8.531 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.288e-05/0.2427, allocations: 11.92 kB / 0.7297 GB, free: 8.52 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.2427, allocations: 0 / 0.7297 GB, free: 8.52 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.21e-05/0.2427, allocations: 0 / 0.7297 GB, free: 8.52 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.2427, allocations: 4 kB / 0.7297 GB, free: 8.516 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.252e-05/0.2428, allocations: 29.7 kB / 0.7297 GB, free: 8.48 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 7.45e-05/0.2429, allocations: 19.89 kB / 0.7297 GB, free: 8.461 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2429, allocations: 4 kB / 0.7297 GB, free: 8.457 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2429, allocations: 0 / 0.7297 GB, free: 8.457 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.2429, allocations: 0 / 0.7297 GB, free: 8.457 MB / 0.5573 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.0005072/0.2434, allocations: 331.6 kB / 0.73 GB, free: 8.086 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.2435, allocations: 8.031 kB / 0.73 GB, free: 8.078 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.739e-05/0.2435, allocations: 34.56 kB / 0.7301 GB, free: 8.035 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.2436, allocations: 7.859 kB / 0.7301 GB, free: 8.027 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.2437, allocations: 167 kB / 0.7302 GB, free: 7.824 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.2438, allocations: 8 kB / 0.7302 GB, free: 7.816 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.2438, allocations: 0 / 0.7302 GB, free: 7.816 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.244, allocations: 41.69 kB / 0.7303 GB, free: 7.77 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.244, allocations: 0 / 0.7303 GB, free: 7.77 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.244, allocations: 0 / 0.7303 GB, free: 7.77 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.244, allocations: 7.984 kB / 0.7303 GB, free: 7.762 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.2442, allocations: 23.94 kB / 0.7303 GB, free: 7.738 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004062/0.2446, allocations: 249 kB / 0.7305 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.2448, allocations: 34.5 kB / 0.7306 GB, free: 7.402 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.2448, allocations: 0 / 0.7306 GB, free: 7.402 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.2448, allocations: 34.62 kB / 0.7306 GB, free: 7.359 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.2448, allocations: 4 kB / 0.7306 GB, free: 7.355 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0003576/0.2452, allocations: 69.62 kB / 0.7307 GB, free: 7.281 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.2453, allocations: 55.34 kB / 0.7307 GB, free: 7.215 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.972e-05/0.2454, allocations: 105.8 kB / 0.7308 GB, free: 7.102 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.2454, allocations: 25.7 kB / 0.7309 GB, free: 7.07 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.581e-05/0.2455, allocations: 84.05 kB / 0.7309 GB, free: 6.984 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.2455, allocations: 16.06 kB / 0.731 GB, free: 6.969 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.2455, allocations: 0 / 0.731 GB, free: 6.969 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.2457, allocations: 310.8 kB / 0.7313 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.31e-05/0.2458, allocations: 11.98 kB / 0.7313 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.218e-05/0.2458, allocations: 12 kB / 0.7313 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.549e-05/0.2459, allocations: 15.92 kB / 0.7313 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2459, allocations: 4.062 kB / 0.7313 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001947/0.2461, allocations: 53.59 kB / 0.7313 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.2462, allocations: 8 kB / 0.7314 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.2462, allocations: 0 / 0.7314 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.2462, allocations: 3.938 kB / 0.7314 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.2464, allocations: 7.984 kB / 0.7314 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.2464, allocations: 7.891 kB / 0.7314 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.797e-05/0.2465, allocations: 8.281 kB / 0.7314 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.2465, allocations: 4 kB / 0.7314 GB, free: 6.516 MB / 0.5573 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 0.0001008/0.2466, allocations: 113.8 kB / 0.7315 GB, free: 6.395 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.2466, allocations: 0 / 0.7315 GB, free: 6.395 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.808e-05/0.2467, allocations: 7.484 kB / 0.7315 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.2467, allocations: 0 / 0.7315 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.2467, allocations: 7.984 kB / 0.7315 GB, free: 6.379 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2467, allocations: 3.953 kB / 0.7315 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.2469, allocations: 157.7 kB / 0.7317 GB, free: 6.172 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.2469, allocations: 4 kB / 0.7317 GB, free: 6.168 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.224e-05/0.247, allocations: 4 kB / 0.7317 GB, free: 6.164 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.247, allocations: 3.984 kB / 0.7317 GB, free: 6.16 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.2471, allocations: 4 kB / 0.7317 GB, free: 6.156 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.2471, allocations: 0 / 0.7317 GB, free: 6.156 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2471, allocations: 0 / 0.7317 GB, free: 6.156 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.2474, allocations: 159.3 kB / 0.7318 GB, free: 5.984 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/0.2474, allocations: 77.11 kB / 0.7319 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.2474, allocations: 0 / 0.7319 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.402e-05/0.2475, allocations: 7.984 kB / 0.7319 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.2476, allocations: 4 kB / 0.7319 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.2476, allocations: 0 / 0.7319 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.32e-05/0.2477, allocations: 87.27 kB / 0.732 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.71e-07/0.2477, allocations: 0 / 0.732 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003046/0.248, allocations: 8.031 kB / 0.732 GB, free: 5.785 MB / 0.5573 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.0005844/0.2486, allocations: 0.6812 MB / 0.7327 GB, free: 5.078 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002003/0.2488, allocations: 31.95 kB / 0.7327 GB, free: 5.047 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2489, allocations: 0 / 0.7327 GB, free: 5.047 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.249, allocations: 15.98 kB / 0.7327 GB, free: 5.031 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.2492, allocations: 6.25 kB / 0.7327 GB, free: 5.027 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005668/0.2498, allocations: 166.3 kB / 0.7329 GB, free: 4.824 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.2501, allocations: 0.6809 MB / 0.7335 GB, free: 4.117 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.598e-05/0.2501, allocations: 0 / 0.7335 GB, free: 4.117 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.859e-05/0.2502, allocations: 15.44 kB / 0.7336 GB, free: 4.102 MB / 0.5573 GB Notification: Performance of SimCode: time 1.132e-06/0.2502, allocations: 0 / 0.7336 GB, free: 4.102 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/0.269, allocations: 0.9668 MB / 0.7345 GB, free: 3.246 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000449/0.2695, allocations: 203.2 kB / 0.7347 GB, free: 3.008 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.31/2.579, allocations: 0 / 0.7347 GB, free: 3.008 MB / 0.5573 GB