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.01045/0.01046, allocations: 107.1 kB / 15.06 MB, free: 6.031 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.001222/0.001222, allocations: 182.8 kB / 15.95 MB, free: 5.957 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 1.903/1.903, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.235/2.235, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000485/0.0004853, allocations: 8 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8332/0.8337, allocations: 98.72 MB / 0.6834 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001854/0.8356, allocations: 1.173 MB / 0.6846 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0009925/0.8367, allocations: 462.4 kB / 0.685 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.412e-05/0.8367, allocations: 1.281 kB / 0.685 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 8.326e-05/0.8368, allocations: 9.109 kB / 0.685 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 6.326e-05/0.8369, allocations: 11.59 kB / 0.685 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.8371, allocations: 21.69 kB / 0.6851 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.8373, allocations: 59.84 kB / 0.6851 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.8374, allocations: 16.05 kB / 0.6851 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.8375, allocations: 36.02 kB / 0.6852 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.8377, allocations: 46.2 kB / 0.6852 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.817e-05/0.8377, allocations: 3.656 kB / 0.6852 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 2.41e-05/0.8377, allocations: 3.969 kB / 0.6852 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.919e-05/0.8378, allocations: 7.703 kB / 0.6852 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.545e-05/0.8378, allocations: 40.55 kB / 0.6853 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.838, allocations: 46.8 kB / 0.6853 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.838, allocations: 0 / 0.6853 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.633e-06/0.838, allocations: 1.188 kB / 0.6853 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.838, allocations: 0 / 0.6853 GB, free: 15.46 MB / 0.5261 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.0007674/0.8388, allocations: 445.2 kB / 0.6857 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.8389, allocations: 9.125 kB / 0.6857 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.663e-05/0.8389, allocations: 34.62 kB / 0.6858 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.254e-05/0.839, allocations: 14.19 kB / 0.6858 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.8392, allocations: 193.8 kB / 0.686 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.8392, allocations: 4.125 kB / 0.686 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.402e-05/0.8393, allocations: 6.641 kB / 0.686 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004835/0.8398, allocations: 124.4 kB / 0.6861 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.8398, allocations: 0 / 0.6861 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.8398, allocations: 1.906 kB / 0.6861 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.8398, allocations: 1.125 kB / 0.6861 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006032/0.8404, allocations: 108.4 kB / 0.6862 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007854/0.8412, allocations: 346.2 kB / 0.6865 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005412/0.8418, allocations: 115.8 kB / 0.6866 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.8419, allocations: 4.656 kB / 0.6866 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004891/0.8424, allocations: 127.2 kB / 0.6868 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 2.876e-06/0.8424, allocations: 3.938 kB / 0.6868 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.00121/0.8436, allocations: 311.2 kB / 0.6871 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.8437, allocations: 92.8 kB / 0.6872 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.8438, allocations: 124.3 kB / 0.6873 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.191e-05/0.8439, allocations: 32.67 kB / 0.6873 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.844, allocations: 94.44 kB / 0.6874 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.844, allocations: 13.34 kB / 0.6874 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.547e-05/0.844, allocations: 2.219 kB / 0.6874 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.472e-05/0.8441, allocations: 318.1 kB / 0.6877 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003426/0.8444, allocations: 77.7 kB / 0.6878 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003349/0.8448, allocations: 73.77 kB / 0.6879 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003321/0.8451, allocations: 115.8 kB / 0.688 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.8452, allocations: 0 / 0.688 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009184/0.8461, allocations: 271 kB / 0.6882 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.087e-05/0.8462, allocations: 68.17 kB / 0.6883 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.8462, allocations: 4 kB / 0.6883 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/0.8462, allocations: 6.078 kB / 0.6883 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.8465, allocations: 18.91 kB / 0.6883 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.8465, allocations: 1.312 kB / 0.6883 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/0.8468, allocations: 36.3 kB / 0.6884 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.8468, allocations: 12.55 kB / 0.6884 GB, free: 13.13 MB / 0.5261 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.0001571/0.847, allocations: 157.1 kB / 0.6885 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.8471, allocations: 3.969 kB / 0.6885 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.967e-05/0.8471, allocations: 12.14 kB / 0.6885 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.8471, allocations: 5.422 kB / 0.6885 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.8471, allocations: 0 / 0.6885 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.8471, allocations: 0.5625 kB / 0.6885 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.8473, allocations: 192 kB / 0.6887 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.8474, allocations: 1.719 kB / 0.6887 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.8475, allocations: 19.09 kB / 0.6887 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.8476, allocations: 5.25 kB / 0.6887 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.8476, allocations: 7.531 kB / 0.6888 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.8476, allocations: 0.7969 kB / 0.6888 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.8476, allocations: 3.953 kB / 0.6888 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009055/0.8485, allocations: 267.2 kB / 0.689 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.323e-05/0.8486, allocations: 79.78 kB / 0.6891 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.308e-05/0.8487, allocations: 11.88 kB / 0.6891 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000264/0.8489, allocations: 29.52 kB / 0.6891 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001958/0.8491, allocations: 35.42 kB / 0.6892 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.8492, allocations: 11.77 kB / 0.6892 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.686e-05/0.8493, allocations: 97.77 kB / 0.6893 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.41e-07/0.8493, allocations: 0 / 0.6893 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003018/0.8496, allocations: 24.78 kB / 0.6893 GB, free: 12.39 MB / 0.5261 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.001098/0.8507, allocations: 0.7963 MB / 0.6901 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008454/0.8516, allocations: 280.3 kB / 0.6903 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.8516, allocations: 1.469 kB / 0.6903 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004426/0.852, allocations: 145.3 kB / 0.6905 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.8523, allocations: 12.86 kB / 0.6905 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.8546, allocations: 0.8094 MB / 0.6913 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.8547, allocations: 0.6923 MB / 0.692 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.852e-05/0.8549, allocations: 13.44 kB / 0.692 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.761e-05/0.8549, allocations: 15.94 kB / 0.692 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of SimCode: time 1.032e-06/0.8549, allocations: 0 / 0.692 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02849/0.8834, allocations: 2.505 MB / 0.6944 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/0.8837, allocations: 192.4 kB / 0.6946 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.729/3.613, allocations: 0 / 0.6946 GB, free: 9.727 MB / 0.5261 GB