Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.166/4.166, allocations: 432.6 MB / 445.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.08e-05/3.085e-05, allocations: 2.625 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2184, allocations: 98.73 MB / 0.6347 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2299/0.4484, allocations: 125.3 MB / 0.7571 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/0.4487, allocations: 75.95 kB / 0.7572 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007046/0.4558, allocations: 1.462 MB / 0.7586 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4558, allocations: 3.938 kB / 0.7586 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.4559, allocations: 0 / 0.7586 GB, free: 2.828 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007628/0.4566, allocations: 437.9 kB / 0.759 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.4567, allocations: 16.03 kB / 0.759 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.448e-05/0.4568, allocations: 34.56 kB / 0.7591 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.163e-05/0.4568, allocations: 11.95 kB / 0.7591 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.4571, allocations: 186.9 kB / 0.7593 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.4571, allocations: 4 kB / 0.7593 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.4571, allocations: 8 kB / 0.7593 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.4574, allocations: 97.64 kB / 0.7594 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.4575, allocations: 0 / 0.7594 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.4575, allocations: 3.984 kB / 0.7594 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.4575, allocations: 0 / 0.7594 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.4577, allocations: 63.92 kB / 0.7594 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007279/0.4584, allocations: 336.7 kB / 0.7598 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.4587, allocations: 78.5 kB / 0.7598 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.4588, allocations: 56.97 kB / 0.7599 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.4589, allocations: 4 kB / 0.7599 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002623/0.4591, allocations: 109.3 kB / 0.76 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 2.315e-06/0.4592, allocations: 0 / 0.76 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0004893/0.4597, allocations: 175.2 kB / 0.7602 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.168e-05/0.4597, allocations: 85.09 kB / 0.7602 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.4599, allocations: 121 kB / 0.7604 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.4599, allocations: 33.7 kB / 0.7604 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.248e-05/0.46, allocations: 92.08 kB / 0.7605 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.46, allocations: 19.8 kB / 0.7605 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.492e-05/0.4601, allocations: 4 kB / 0.7605 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.4602, allocations: 318.8 kB / 0.7608 GB, free: 348 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.4604, allocations: 43.98 kB / 0.7608 GB, free: 304 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.4605, allocations: 55.86 kB / 0.7609 GB, free: 248 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.4607, allocations: 83.39 kB / 0.761 GB, free: 152 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.4607, allocations: 0 / 0.761 GB, free: 152 kB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005147/0.4612, allocations: 233.2 kB / 0.7612 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.343e-05/0.4613, allocations: 63.34 kB / 0.7613 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4613, allocations: 0 / 0.7613 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.4614, allocations: 3.781 kB / 0.7613 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.4616, allocations: 15.98 kB / 0.7613 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.4616, allocations: 0 / 0.7613 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002836/0.4619, allocations: 35.97 kB / 0.7613 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.4619, allocations: 4 kB / 0.7613 GB, free: 15.77 MB / 0.6511 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 () * 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.0001277/0.4621, allocations: 142.7 kB / 0.7615 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.4621, allocations: 11.91 kB / 0.7615 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.889e-05/0.4622, allocations: 8.625 kB / 0.7615 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.4622, allocations: 3.953 kB / 0.7615 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.4622, allocations: 3.938 kB / 0.7615 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.4622, allocations: 4 kB / 0.7615 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.4624, allocations: 193.5 kB / 0.7617 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4624, allocations: 0 / 0.7617 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.4626, allocations: 19.98 kB / 0.7617 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4626, allocations: 0 / 0.7617 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.4626, allocations: 4 kB / 0.7617 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.4626, allocations: 3.984 kB / 0.7617 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.4627, allocations: 7.891 kB / 0.7617 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004489/0.4631, allocations: 202.8 kB / 0.7619 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-05/0.4632, allocations: 85.02 kB / 0.762 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.4632, allocations: 4 kB / 0.762 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/0.4635, allocations: 28.09 kB / 0.762 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/0.4637, allocations: 36.05 kB / 0.762 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.4637, allocations: 19.88 kB / 0.7621 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.5e-05/0.4638, allocations: 107.7 kB / 0.7622 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4e-07/0.4638, allocations: 0 / 0.7622 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002825/0.4641, allocations: 28 kB / 0.7622 GB, free: 14.76 MB / 0.6511 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) * 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.0007947/0.4649, allocations: 0.7468 MB / 0.7629 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004552/0.4654, allocations: 222.8 kB / 0.7631 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4654, allocations: 4 kB / 0.7631 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002336/0.4657, allocations: 123.3 kB / 0.7633 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.4659, allocations: 14.05 kB / 0.7633 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000679/0.4666, allocations: 183.1 kB / 0.7634 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.467, allocations: 0.6926 MB / 0.7641 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.123e-05/0.4671, allocations: 12.17 kB / 0.7641 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.922e-05/0.4671, allocations: 23.42 kB / 0.7642 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of SimCode: time 1.152e-06/0.4672, allocations: 0 / 0.7642 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02638/0.4935, allocations: 2.499 MB / 0.7666 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002839/0.4939, allocations: 163.5 kB / 0.7667 GB, free: 9.961 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.516/3.01, allocations: 0 / 0.7667 GB, free: 9.961 MB / 0.6511 GB