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/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.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.207/4.207, allocations: 433.2 MB / 440.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.672e-05/1.675e-05, allocations: 0 / 0.5325 GB, free: 1.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6303/0.6304, allocations: 98.72 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2254/0.8558, allocations: 124.7 MB / 0.7506 GB, free: 2.879 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.8562, allocations: 71.95 kB / 0.7507 GB, free: 2.809 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.006882/0.8631, allocations: 1.459 MB / 0.7521 GB, free: 1.348 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8631, allocations: 0 / 0.7521 GB, free: 1.348 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.8631, allocations: 192 / 0.7521 GB, free: 1.348 MB / 0.6198 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.0007182/0.8639, allocations: 445.6 kB / 0.7526 GB, free: 0.8555 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.8639, allocations: 12.03 kB / 0.7526 GB, free: 0.8438 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.472e-05/0.864, allocations: 11.95 kB / 0.7526 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.8642, allocations: 186.8 kB / 0.7528 GB, free: 0.6094 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.8643, allocations: 8 kB / 0.7528 GB, free: 0.6016 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.8643, allocations: 4 kB / 0.7528 GB, free: 0.5977 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001966/0.8645, allocations: 51.98 kB / 0.7528 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.8647, allocations: 85.66 kB / 0.7529 GB, free: 468 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.8648, allocations: 3.938 kB / 0.7529 GB, free: 464 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.8648, allocations: 0 / 0.7529 GB, free: 464 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.8648, allocations: 4 kB / 0.7529 GB, free: 460 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000695/0.8655, allocations: 321.2 kB / 0.7532 GB, free: 100 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.8657, allocations: 74.55 kB / 0.7533 GB, free: 16 kB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.8659, allocations: 52.97 kB / 0.7533 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.8659, allocations: 4 kB / 0.7533 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002537/0.8662, allocations: 95.31 kB / 0.7534 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 2.274e-06/0.8662, allocations: 0 / 0.7534 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.000488/0.8667, allocations: 145.5 kB / 0.7536 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.267e-05/0.8668, allocations: 81.11 kB / 0.7536 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.8669, allocations: 117 kB / 0.7538 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.867, allocations: 33.7 kB / 0.7538 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.568e-05/0.8671, allocations: 92.12 kB / 0.7539 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.8671, allocations: 15.75 kB / 0.7539 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.965e-05/0.8672, allocations: 4 kB / 0.7539 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.8673, allocations: 318.8 kB / 0.7542 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.8674, allocations: 47.98 kB / 0.7542 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.8676, allocations: 43.98 kB / 0.7543 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.579e-05/0.8677, allocations: 23.92 kB / 0.7543 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.8677, allocations: 0 / 0.7543 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004164/0.8681, allocations: 165.6 kB / 0.7545 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.431e-05/0.8682, allocations: 63.34 kB / 0.7545 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.8682, allocations: 0 / 0.7545 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.8682, allocations: 0 / 0.7545 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.8684, allocations: 15.98 kB / 0.7545 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.8685, allocations: 3.953 kB / 0.7545 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/0.8687, allocations: 35.88 kB / 0.7546 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.763e-05/0.8688, allocations: 12.06 kB / 0.7546 GB, free: 14.59 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: 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.0001393/0.8689, allocations: 146.6 kB / 0.7547 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003696/0.8693, allocations: 137.7 kB / 0.7549 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.8694, allocations: 7.906 kB / 0.7549 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.17e-05/0.8694, allocations: 12.62 kB / 0.7549 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.8694, allocations: 3.953 kB / 0.7549 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.8695, allocations: 0 / 0.7549 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.8695, allocations: 0 / 0.7549 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.8697, allocations: 170.2 kB / 0.7551 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.8697, allocations: 4 kB / 0.7551 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.8698, allocations: 11.98 kB / 0.7551 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.8698, allocations: 4 kB / 0.7551 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.8699, allocations: 0 / 0.7551 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.8699, allocations: 0 / 0.7551 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.8699, allocations: 3.938 kB / 0.7551 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003907/0.8703, allocations: 177 kB / 0.7552 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.769e-05/0.8704, allocations: 89 kB / 0.7553 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.887e-05/0.8704, allocations: 4 kB / 0.7553 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.8707, allocations: 19.98 kB / 0.7554 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.8709, allocations: 39.94 kB / 0.7554 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.8709, allocations: 8 kB / 0.7554 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.716e-05/0.871, allocations: 99.73 kB / 0.7555 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.414e-06/0.871, allocations: 0 / 0.7555 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002951/0.8714, allocations: 35.92 kB / 0.7555 GB, free: 13.54 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: 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.0007121/0.8721, allocations: 0.7083 MB / 0.7562 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004062/0.8725, allocations: 219 kB / 0.7564 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8725, allocations: 4 kB / 0.7564 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.8727, allocations: 119.3 kB / 0.7565 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.873, allocations: 8.109 kB / 0.7566 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006829/0.8737, allocations: 186.1 kB / 0.7567 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.874, allocations: 0.6924 MB / 0.7574 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.837e-05/0.8741, allocations: 16.11 kB / 0.7574 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.452e-05/0.8742, allocations: 19.42 kB / 0.7574 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of SimCode: time 7.11e-07/0.8742, allocations: 0 / 0.7574 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04366/0.9178, allocations: 2.11 MB / 0.7595 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002663/0.9182, allocations: 145.2 kB / 0.7596 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.584/3.502, allocations: 0 / 0.7596 GB, free: 9.168 MB / 0.6355 GB