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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0107/0.0107, allocations: 107.8 kB / 15.05 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.00112/0.00112, allocations: 186.8 kB / 15.95 MB, free: 5.895 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.216/2.216, allocations: 194.6 MB / 211.2 MB, free: 11.08 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.537/2.537, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004849/0.0004848, allocations: 12 kB / 0.587 GB, free: 2.094 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7931/0.7936, allocations: 98.71 MB / 0.6834 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2561/1.05, allocations: 125.4 MB / 0.8059 GB, free: 0.75 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/1.05, allocations: 71.95 kB / 0.806 GB, free: 0.6797 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.007661/1.058, allocations: 1.474 MB / 0.8074 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.783e-06/1.058, allocations: 0 / 0.8074 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.257e-05/1.058, allocations: 4 kB / 0.8074 GB, free: 15.2 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.0008301/1.059, allocations: 450.5 kB / 0.8079 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/1.059, allocations: 8.031 kB / 0.8079 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.564e-05/1.059, allocations: 38.75 kB / 0.8079 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.475e-05/1.059, allocations: 11.86 kB / 0.8079 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/1.059, allocations: 190.9 kB / 0.8081 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/1.059, allocations: 8 kB / 0.8081 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.067e-05/1.059, allocations: 4 kB / 0.8081 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005099/1.06, allocations: 121.6 kB / 0.8082 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/1.06, allocations: 0 / 0.8082 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.878e-05/1.06, allocations: 11.98 kB / 0.8082 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/1.06, allocations: 0 / 0.8082 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005655/1.06, allocations: 103.9 kB / 0.8083 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008151/1.061, allocations: 336.6 kB / 0.8087 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005804/1.062, allocations: 126.4 kB / 0.8088 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/1.062, allocations: 4 kB / 0.8088 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004823/1.062, allocations: 131.4 kB / 0.8089 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 2.494e-06/1.062, allocations: 0 / 0.8089 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.001252/1.064, allocations: 303.1 kB / 0.8092 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/1.064, allocations: 85.11 kB / 0.8093 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/1.064, allocations: 115.2 kB / 0.8094 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.182e-05/1.064, allocations: 37.69 kB / 0.8094 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.313e-05/1.064, allocations: 99.98 kB / 0.8095 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/1.064, allocations: 15.84 kB / 0.8095 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.709e-05/1.064, allocations: 0 / 0.8095 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001403/1.064, allocations: 322.8 kB / 0.8098 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003529/1.065, allocations: 71.95 kB / 0.8099 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000346/1.065, allocations: 75.94 kB / 0.81 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003545/1.065, allocations: 115.3 kB / 0.8101 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/1.065, allocations: 0 / 0.8101 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009168/1.066, allocations: 269 kB / 0.8103 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.029e-05/1.066, allocations: 63.41 kB / 0.8104 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/1.066, allocations: 0 / 0.8104 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/1.067, allocations: 4 kB / 0.8104 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/1.067, allocations: 31.86 kB / 0.8104 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/1.067, allocations: 0 / 0.8104 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/1.067, allocations: 27.89 kB / 0.8105 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/1.067, allocations: 8.156 kB / 0.8105 GB, free: 11.79 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 () * 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.0001946/1.067, allocations: 155.5 kB / 0.8106 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.602e-05/1.067, allocations: 11.98 kB / 0.8106 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.188e-05/1.067, allocations: 8.375 kB / 0.8106 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/1.067, allocations: 4.094 kB / 0.8106 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/1.067, allocations: 11.88 kB / 0.8107 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/1.067, allocations: 0 / 0.8107 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/1.068, allocations: 189.5 kB / 0.8108 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2e-05/1.068, allocations: 3.984 kB / 0.8108 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/1.068, allocations: 19.98 kB / 0.8109 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/1.068, allocations: 0 / 0.8109 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/1.068, allocations: 4 kB / 0.8109 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/1.068, allocations: 4 kB / 0.8109 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/1.068, allocations: 3.984 kB / 0.8109 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009112/1.069, allocations: 266.8 kB / 0.8111 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.785e-05/1.069, allocations: 81.05 kB / 0.8112 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/1.069, allocations: 4 kB / 0.8112 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002746/1.069, allocations: 35.97 kB / 0.8112 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001878/1.07, allocations: 31.95 kB / 0.8113 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/1.07, allocations: 8 kB / 0.8113 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001038/1.07, allocations: 106.2 kB / 0.8114 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.61e-07/1.07, allocations: 0 / 0.8114 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003175/1.07, allocations: 35.94 kB / 0.8114 GB, free: 10.72 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) * 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.001312/1.071, allocations: 0.7975 MB / 0.8122 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009326/1.072, allocations: 274.7 kB / 0.8125 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/1.072, allocations: 4 kB / 0.8125 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004517/1.073, allocations: 147.3 kB / 0.8126 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/1.073, allocations: 11.98 kB / 0.8126 GB, free: 9.418 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/1.076, allocations: 0.8017 MB / 0.8134 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/1.076, allocations: 0.6926 MB / 0.8141 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001034/1.076, allocations: 8.188 kB / 0.8141 GB, free: 7.84 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.715e-05/1.076, allocations: 23.36 kB / 0.8141 GB, free: 7.816 MB / 0.6355 GB Notification: Performance of SimCode: time 1.573e-06/1.076, allocations: 0 / 0.8141 GB, free: 7.816 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02302/1.099, allocations: 2.496 MB / 0.8165 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003508/1.1, allocations: 183.9 kB / 0.8167 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.608/3.708, allocations: 0 / 0.8167 GB, free: 5.199 MB / 0.6355 GB