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.RequestCounter.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.RequestCounter,fileNamePrefix="Buildings_7_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter",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.0105/0.0105, allocations: 89.38 kB / 15.04 MB, free: 5.578 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.001233/0.001233, allocations: 169.6 kB / 15.92 MB, free: 5.551 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.059/2.059, allocations: 205.5 MB / 222.2 MB, free: 13.59 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.514/2.514, allocations: 252.8 MB / 0.511 GB, free: 8.293 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000488/0.0004882, allocations: 14.03 kB / 0.6243 GB, free: 21.05 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2327, allocations: 106.2 MB / 0.7281 GB, free: 8.062 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.0022/0.2349, allocations: 1.222 MB / 0.7293 GB, free: 6.824 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.2361, allocations: 476.8 kB / 0.7297 GB, free: 6.352 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.46e-05/0.2362, allocations: 3.938 kB / 0.7297 GB, free: 6.348 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 8.797e-05/0.2363, allocations: 0 / 0.7297 GB, free: 6.348 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.36e-05/0.2364, allocations: 19.91 kB / 0.7297 GB, free: 6.328 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.2366, allocations: 15.98 kB / 0.7298 GB, free: 6.312 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00013/0.2368, allocations: 51.92 kB / 0.7298 GB, free: 6.262 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.2369, allocations: 24.09 kB / 0.7298 GB, free: 6.238 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.2371, allocations: 27.92 kB / 0.7299 GB, free: 6.211 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.2372, allocations: 31.88 kB / 0.7299 GB, free: 6.18 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.2372, allocations: 7.938 kB / 0.7299 GB, free: 6.172 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 2.166e-05/0.2372, allocations: 4 kB / 0.7299 GB, free: 6.168 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.074e-05/0.2373, allocations: 15.98 kB / 0.7299 GB, free: 6.152 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.22e-05/0.2374, allocations: 37.64 kB / 0.73 GB, free: 6.109 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.2375, allocations: 43.91 kB / 0.73 GB, free: 6.066 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.2375, allocations: 0 / 0.73 GB, free: 6.066 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2375, allocations: 0 / 0.73 GB, free: 6.066 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.2375, allocations: 0 / 0.73 GB, free: 6.066 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.00085/0.2384, allocations: 450.7 kB / 0.7304 GB, free: 5.566 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.2384, allocations: 8.031 kB / 0.7304 GB, free: 5.559 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.233e-05/0.2385, allocations: 30.56 kB / 0.7305 GB, free: 5.52 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/0.2386, allocations: 19.84 kB / 0.7305 GB, free: 5.5 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.2388, allocations: 175 kB / 0.7306 GB, free: 5.289 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.2388, allocations: 4 kB / 0.7307 GB, free: 5.285 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.2389, allocations: 8 kB / 0.7307 GB, free: 5.277 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004377/0.2393, allocations: 109.5 kB / 0.7308 GB, free: 5.164 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.2393, allocations: 0 / 0.7308 GB, free: 5.164 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.2394, allocations: 4 kB / 0.7308 GB, free: 5.16 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.2394, allocations: 0 / 0.7308 GB, free: 5.16 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005356/0.2399, allocations: 87.89 kB / 0.7309 GB, free: 5.074 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007912/0.2407, allocations: 340.7 kB / 0.7312 GB, free: 4.691 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004889/0.2412, allocations: 98.52 kB / 0.7313 GB, free: 4.586 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.2413, allocations: 0 / 0.7313 GB, free: 4.586 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004621/0.2417, allocations: 123.4 kB / 0.7314 GB, free: 4.453 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 2.665e-06/0.2418, allocations: 0 / 0.7314 GB, free: 4.453 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.001039/0.2428, allocations: 227.2 kB / 0.7316 GB, free: 4.219 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.642e-05/0.2429, allocations: 85.09 kB / 0.7317 GB, free: 4.117 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.2431, allocations: 128.8 kB / 0.7318 GB, free: 3.984 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.2431, allocations: 33.7 kB / 0.7318 GB, free: 3.945 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.411e-05/0.2432, allocations: 104 kB / 0.7319 GB, free: 3.84 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.2433, allocations: 11.81 kB / 0.732 GB, free: 3.828 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.688e-05/0.2433, allocations: 8 kB / 0.732 GB, free: 3.82 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.2435, allocations: 314.8 kB / 0.7323 GB, free: 3.504 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003201/0.2438, allocations: 59.95 kB / 0.7323 GB, free: 3.445 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002907/0.2441, allocations: 55.91 kB / 0.7324 GB, free: 3.391 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/0.2444, allocations: 107.4 kB / 0.7325 GB, free: 3.273 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.2444, allocations: 0 / 0.7325 GB, free: 3.273 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007728/0.2452, allocations: 233 kB / 0.7327 GB, free: 3.027 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.092e-05/0.2453, allocations: 59.36 kB / 0.7328 GB, free: 2.957 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2453, allocations: 4 kB / 0.7328 GB, free: 2.953 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.2454, allocations: 0 / 0.7328 GB, free: 2.953 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.2456, allocations: 23.98 kB / 0.7328 GB, free: 2.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.2456, allocations: 4 kB / 0.7328 GB, free: 2.926 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/0.2459, allocations: 31.75 kB / 0.7328 GB, free: 2.895 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.2459, allocations: 4 kB / 0.7328 GB, free: 2.891 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: 6 ($whenCondition1,reqCou.nInc,$PRE.act1.T_start,act1.T_start,$PRE.act1.count,act1.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001502/0.246, allocations: 143.5 kB / 0.733 GB, free: 2.734 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.2461, allocations: 7.906 kB / 0.733 GB, free: 2.727 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.79e-05/0.2461, allocations: 28.64 kB / 0.733 GB, free: 2.699 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.2462, allocations: 4 kB / 0.733 GB, free: 2.695 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.2462, allocations: 0 / 0.733 GB, free: 2.695 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2462, allocations: 0 / 0.733 GB, free: 2.695 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009192/0.2471, allocations: 444.1 kB / 0.7334 GB, free: 2.199 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.2471, allocations: 8 kB / 0.7334 GB, free: 2.191 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.2473, allocations: 15.98 kB / 0.7334 GB, free: 2.176 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/0.2473, allocations: 3.953 kB / 0.7334 GB, free: 2.172 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.2474, allocations: 0 / 0.7334 GB, free: 2.172 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.2474, allocations: 0 / 0.7334 GB, free: 2.172 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.2474, allocations: 4 kB / 0.7334 GB, free: 2.168 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000779/0.2482, allocations: 289 kB / 0.7337 GB, free: 1.863 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.568e-05/0.2482, allocations: 81.02 kB / 0.7338 GB, free: 1.766 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.2483, allocations: 15.94 kB / 0.7338 GB, free: 1.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002558/0.2486, allocations: 15.98 kB / 0.7338 GB, free: 1.734 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.2487, allocations: 23.97 kB / 0.7339 GB, free: 1.711 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.2487, allocations: 4 kB / 0.7339 GB, free: 1.707 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 9.074e-05/0.2488, allocations: 99.25 kB / 0.734 GB, free: 1.609 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2489, allocations: 0 / 0.734 GB, free: 1.609 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003262/0.2492, allocations: 20 kB / 0.734 GB, free: 1.59 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: 4 ($whenCondition1,reqCou.nInc,act1.T_start,act1.count) * Number of discrete states: 2 (act1.count,reqCou.nInc) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.001078/0.2503, allocations: 0.8244 MB / 0.7348 GB, free: 0.7344 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0007385/0.251, allocations: 231.3 kB / 0.735 GB, free: 496 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2511, allocations: 4 kB / 0.735 GB, free: 492 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003559/0.2514, allocations: 119.3 kB / 0.7351 GB, free: 360 kB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.2517, allocations: 12.23 kB / 0.7351 GB, free: 348 kB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.254, allocations: 0.7312 MB / 0.7358 GB, free: 15.56 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.2544, allocations: 0.6926 MB / 0.7365 GB, free: 14.84 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001169/0.2545, allocations: 15.98 kB / 0.7365 GB, free: 14.82 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.34e-05/0.2546, allocations: 23.42 kB / 0.7366 GB, free: 14.8 MB / 0.573 GB Notification: Performance of SimCode: time 1.343e-06/0.2546, allocations: 0 / 0.7366 GB, free: 14.8 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/0.2812, allocations: 2.121 MB / 0.7386 GB, free: 12.81 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002887/0.2816, allocations: 219.2 kB / 0.7388 GB, free: 12.56 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.508/2.789, allocations: 4 kB / 0.7388 GB, free: 12.56 MB / 0.573 GB