Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.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.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_Continuous_Examples_NumberOfRequests",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.01067/0.01067, allocations: 88.88 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.001154/0.001154, allocations: 168.2 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.306/2.306, allocations: 205.5 MB / 222.2 MB, free: 13.73 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.417/2.417, allocations: 252.8 MB / 0.511 GB, free: 8.355 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000479/0.0004792, allocations: 11.69 kB / 0.6243 GB, free: 28.24 MB / 0.4949 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2916, allocations: 106.2 MB / 0.7281 GB, free: 10.21 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002201/0.2938, allocations: 1.191 MB / 0.7292 GB, free: 9 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.295, allocations: 476.8 kB / 0.7297 GB, free: 8.527 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.249e-05/0.2951, allocations: 4 kB / 0.7297 GB, free: 8.523 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 9.346e-05/0.2953, allocations: 3.938 kB / 0.7297 GB, free: 8.52 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 6.748e-05/0.2953, allocations: 11.98 kB / 0.7297 GB, free: 8.508 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.2956, allocations: 39.83 kB / 0.7297 GB, free: 8.469 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.000135/0.2957, allocations: 51.92 kB / 0.7298 GB, free: 8.418 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.2959, allocations: 12.17 kB / 0.7298 GB, free: 8.406 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.296, allocations: 43.83 kB / 0.7298 GB, free: 8.363 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.2962, allocations: 31.89 kB / 0.7299 GB, free: 8.332 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.2962, allocations: 8 kB / 0.7299 GB, free: 8.324 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 2.445e-05/0.2962, allocations: 4 kB / 0.7299 GB, free: 8.32 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 4.109e-05/0.2963, allocations: 11.92 kB / 0.7299 GB, free: 8.309 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 5.853e-05/0.2963, allocations: 37.7 kB / 0.7299 GB, free: 8.266 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.2965, allocations: 55.89 kB / 0.73 GB, free: 8.211 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.2965, allocations: 0 / 0.73 GB, free: 8.211 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2965, allocations: 0 / 0.73 GB, free: 8.211 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.2965, allocations: 0 / 0.73 GB, free: 8.211 MB / 0.5574 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009111/0.2974, allocations: 442.8 kB / 0.7304 GB, free: 7.719 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.2975, allocations: 15.97 kB / 0.7304 GB, free: 7.703 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.256e-05/0.2976, allocations: 38.55 kB / 0.7305 GB, free: 7.656 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.822e-05/0.2977, allocations: 15.89 kB / 0.7305 GB, free: 7.641 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.2979, allocations: 186.8 kB / 0.7306 GB, free: 7.418 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.2979, allocations: 4 kB / 0.7307 GB, free: 7.414 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/0.298, allocations: 4 kB / 0.7307 GB, free: 7.41 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005328/0.2985, allocations: 125.6 kB / 0.7308 GB, free: 7.281 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.2986, allocations: 0 / 0.7308 GB, free: 7.281 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.2986, allocations: 4 kB / 0.7308 GB, free: 7.277 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.2986, allocations: 0 / 0.7308 GB, free: 7.277 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005446/0.2992, allocations: 107.9 kB / 0.7309 GB, free: 7.172 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008155/0.3, allocations: 348.6 kB / 0.7312 GB, free: 6.781 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005558/0.3006, allocations: 118.5 kB / 0.7313 GB, free: 6.656 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.3006, allocations: 0 / 0.7313 GB, free: 6.656 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005132/0.3011, allocations: 131.5 kB / 0.7315 GB, free: 6.516 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=6): time 4.498e-06/0.3012, allocations: 0 / 0.7315 GB, free: 6.516 MB / 0.5574 GB Notification: Performance of matching and sorting (n=6): time 0.001263/0.3024, allocations: 299.1 kB / 0.7317 GB, free: 6.211 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.65e-05/0.3026, allocations: 89.09 kB / 0.7318 GB, free: 6.105 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.3027, allocations: 131.9 kB / 0.7319 GB, free: 5.969 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 3.697e-05/0.3028, allocations: 33.7 kB / 0.732 GB, free: 5.93 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 7.704e-05/0.3029, allocations: 88.14 kB / 0.7321 GB, free: 5.84 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.3029, allocations: 15.75 kB / 0.7321 GB, free: 5.824 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-05/0.3029, allocations: 8 kB / 0.7321 GB, free: 5.816 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3031, allocations: 322.8 kB / 0.7324 GB, free: 5.492 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003589/0.3035, allocations: 71.95 kB / 0.7325 GB, free: 5.422 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003299/0.3038, allocations: 75.94 kB / 0.7325 GB, free: 5.348 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/0.3042, allocations: 111.3 kB / 0.7326 GB, free: 5.227 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3042, allocations: 4 kB / 0.7326 GB, free: 5.223 MB / 0.5574 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009203/0.3051, allocations: 272.9 kB / 0.7329 GB, free: 4.938 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 8.106e-05/0.3052, allocations: 63.39 kB / 0.733 GB, free: 4.863 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.3052, allocations: 0 / 0.733 GB, free: 4.863 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/0.3053, allocations: 11.95 kB / 0.733 GB, free: 4.852 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.3055, allocations: 19.92 kB / 0.733 GB, free: 4.832 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3055, allocations: 0 / 0.733 GB, free: 4.832 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000291/0.3058, allocations: 36.12 kB / 0.733 GB, free: 4.797 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.3059, allocations: 8 kB / 0.733 GB, free: 4.789 MB / 0.5574 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,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * 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.0001885/0.3061, allocations: 155.5 kB / 0.7332 GB, free: 4.621 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.3061, allocations: 11.92 kB / 0.7332 GB, free: 4.609 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.242e-05/0.3062, allocations: 12.36 kB / 0.7332 GB, free: 4.598 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.3062, allocations: 7.953 kB / 0.7332 GB, free: 4.59 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3062, allocations: 0 / 0.7332 GB, free: 4.59 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.3062, allocations: 0 / 0.7332 GB, free: 4.59 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/0.3065, allocations: 197.6 kB / 0.7334 GB, free: 4.348 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3065, allocations: 0 / 0.7334 GB, free: 4.348 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.3067, allocations: 19.98 kB / 0.7334 GB, free: 4.328 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.3067, allocations: 0 / 0.7334 GB, free: 4.328 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.3067, allocations: 0 / 0.7334 GB, free: 4.328 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.3067, allocations: 0 / 0.7334 GB, free: 4.328 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.3067, allocations: 7.953 kB / 0.7334 GB, free: 4.32 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008857/0.3076, allocations: 258.7 kB / 0.7337 GB, free: 4.043 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.3077, allocations: 85.02 kB / 0.7338 GB, free: 3.941 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.206e-05/0.3078, allocations: 7.984 kB / 0.7338 GB, free: 3.934 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/0.3081, allocations: 27.98 kB / 0.7338 GB, free: 3.906 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/0.3083, allocations: 31.95 kB / 0.7338 GB, free: 3.875 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.3083, allocations: 15.94 kB / 0.7338 GB, free: 3.859 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 9.782e-05/0.3084, allocations: 99.2 kB / 0.7339 GB, free: 3.762 MB / 0.5574 GB Notification: Performance of sort global known variables: time 3.61e-07/0.3084, allocations: 0 / 0.7339 GB, free: 3.762 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0003268/0.3088, allocations: 24 kB / 0.734 GB, free: 3.738 MB / 0.5574 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,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * 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.001267/0.31, allocations: 0.8014 MB / 0.7347 GB, free: 2.902 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0009005/0.311, allocations: 274.7 kB / 0.735 GB, free: 2.609 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.311, allocations: 0 / 0.735 GB, free: 2.609 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0004567/0.3115, allocations: 159.3 kB / 0.7352 GB, free: 2.441 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.3118, allocations: 7.938 kB / 0.7352 GB, free: 2.434 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/0.3142, allocations: 0.797 MB / 0.7359 GB, free: 1.586 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.3146, allocations: 0.6987 MB / 0.7366 GB, free: 0.8633 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.0001082/0.3147, allocations: 8.172 kB / 0.7366 GB, free: 0.8555 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.845e-05/0.3148, allocations: 19.44 kB / 0.7366 GB, free: 0.8359 MB / 0.5574 GB Notification: Performance of SimCode: time 1.012e-06/0.3148, allocations: 4 kB / 0.7367 GB, free: 0.832 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02845/0.3433, allocations: 2.484 MB / 0.7391 GB, free: 14.46 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003398/0.3437, allocations: 187 kB / 0.7393 GB, free: 14.22 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.667/3.01, allocations: 4 kB / 0.7393 GB, free: 14.22 MB / 0.573 GB