Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,fileNamePrefix="Buildings_6_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter",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.01326/0.01326, allocations: 106.8 kB / 15.05 MB, free: 6 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.001197/0.001197, allocations: 183.7 kB / 15.95 MB, free: 5.941 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.992/1.992, allocations: 194.5 MB / 211.2 MB, free: 11.03 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.243/2.243, allocations: 236.2 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004838/0.0004841, allocations: 12 kB / 0.587 GB, free: 2.055 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6748/0.6753, allocations: 98.71 MB / 0.6834 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2401/0.9155, allocations: 126 MB / 0.8065 GB, free: 164 kB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/0.9159, allocations: 91.94 kB / 0.8066 GB, free: 72 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.007029/0.9229, allocations: 1.467 MB / 0.808 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.944e-06/0.923, allocations: 0 / 0.808 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.923, allocations: 4 kB / 0.808 GB, free: 14.59 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008073/0.9238, allocations: 454.5 kB / 0.8084 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.9239, allocations: 12.03 kB / 0.8084 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.428e-05/0.9239, allocations: 38.5 kB / 0.8085 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.182e-05/0.924, allocations: 19.84 kB / 0.8085 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.9242, allocations: 190.9 kB / 0.8087 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.9243, allocations: 3.984 kB / 0.8087 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.9243, allocations: 8 kB / 0.8087 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/0.9247, allocations: 97.64 kB / 0.8088 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.9248, allocations: 4 kB / 0.8088 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.9248, allocations: 0 / 0.8088 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.9248, allocations: 3.984 kB / 0.8088 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005002/0.9253, allocations: 91.88 kB / 0.8089 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007956/0.9261, allocations: 340.7 kB / 0.8092 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005205/0.9267, allocations: 98.55 kB / 0.8093 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.9267, allocations: 4 kB / 0.8093 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004024/0.9271, allocations: 103.5 kB / 0.8094 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 3.096e-06/0.9271, allocations: 4 kB / 0.8094 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.001026/0.9282, allocations: 243.1 kB / 0.8096 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.9283, allocations: 77.11 kB / 0.8097 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.9284, allocations: 121.2 kB / 0.8098 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.9284, allocations: 29.7 kB / 0.8099 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.607e-05/0.9285, allocations: 104 kB / 0.81 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.9286, allocations: 15.8 kB / 0.81 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.597e-05/0.9286, allocations: 4 kB / 0.81 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.9287, allocations: 318.8 kB / 0.8103 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002911/0.929, allocations: 51.95 kB / 0.8103 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000287/0.9293, allocations: 59.95 kB / 0.8104 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/0.9297, allocations: 103.6 kB / 0.8105 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.9297, allocations: 3.938 kB / 0.8105 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007772/0.9305, allocations: 228.9 kB / 0.8107 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.03e-05/0.9305, allocations: 59.34 kB / 0.8108 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.9306, allocations: 0 / 0.8108 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.9306, allocations: 3.953 kB / 0.8108 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.9308, allocations: 27.98 kB / 0.8108 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.9308, allocations: 0 / 0.8108 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.9311, allocations: 31.88 kB / 0.8108 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.9311, allocations: 4 kB / 0.8108 GB, free: 11.41 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,reqCou.nInc,$PRE.act1.T_start,act1.T_start,$PRE.act1.count,act1.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * 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.0001517/0.9313, allocations: 143.5 kB / 0.811 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.9313, allocations: 7.906 kB / 0.811 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.42e-05/0.9314, allocations: 20.7 kB / 0.811 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.9314, allocations: 0 / 0.811 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.9314, allocations: 3.953 kB / 0.811 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.9314, allocations: 0 / 0.811 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009096/0.9323, allocations: 450.7 kB / 0.8114 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.9324, allocations: 0 / 0.8114 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.9325, allocations: 19.92 kB / 0.8114 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.9326, allocations: 4 kB / 0.8115 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.9326, allocations: 3.953 kB / 0.8115 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.9326, allocations: 0 / 0.8115 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.9326, allocations: 0 / 0.8115 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007434/0.9334, allocations: 285.1 kB / 0.8117 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.267e-05/0.9334, allocations: 88.95 kB / 0.8118 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.949e-05/0.9335, allocations: 11.98 kB / 0.8118 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/0.9338, allocations: 19.94 kB / 0.8118 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.9339, allocations: 19.97 kB / 0.8119 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.9339, allocations: 4 kB / 0.8119 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.568e-05/0.9341, allocations: 101.2 kB / 0.812 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-07/0.9341, allocations: 0 / 0.812 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003451/0.9344, allocations: 27.92 kB / 0.812 GB, free: 10.1 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,reqCou.nInc,act1.T_start,act1.count) * Number of discrete states: 2 (act1.count,reqCou.nInc) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.001089/0.9355, allocations: 0.8238 MB / 0.8128 GB, free: 9.242 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007336/0.9363, allocations: 238.8 kB / 0.813 GB, free: 8.984 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.9363, allocations: 4 kB / 0.813 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003502/0.9367, allocations: 115.4 kB / 0.8131 GB, free: 8.855 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.937, allocations: 15.94 kB / 0.8131 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.9392, allocations: 0.7106 MB / 0.8138 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.9395, allocations: 0.6965 MB / 0.8145 GB, free: 7.359 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001089/0.9396, allocations: 19.97 kB / 0.8145 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.751e-05/0.9397, allocations: 23.42 kB / 0.8146 GB, free: 7.316 MB / 0.6355 GB Notification: Performance of SimCode: time 1.012e-06/0.9397, allocations: 0 / 0.8146 GB, free: 7.316 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02416/0.9639, allocations: 2.134 MB / 0.8166 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003553/0.9643, allocations: 221.5 kB / 0.8169 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.487/3.451, allocations: 7.75 kB / 0.8169 GB, free: 5.074 MB / 0.6355 GB