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.01656/0.01657, allocations: 108.5 kB / 15.06 MB, free: 5.555 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.00191/0.00191, allocations: 181.3 kB / 15.95 MB, free: 5.52 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.119/2.119, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.29/2.29, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000548/0.0005483, allocations: 15.98 kB / 0.587 GB, free: 2.055 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8152/0.8158, allocations: 98.71 MB / 0.6834 GB, free: 16.72 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002005/0.8179, allocations: 1.203 MB / 0.6846 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0009643/0.8189, allocations: 458.5 kB / 0.685 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.938e-05/0.819, allocations: 1.531 kB / 0.685 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 9.524e-05/0.8191, allocations: 5.453 kB / 0.6851 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 6.613e-05/0.8192, allocations: 11.08 kB / 0.6851 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.8194, allocations: 31.12 kB / 0.6851 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.8196, allocations: 43.72 kB / 0.6851 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.8197, allocations: 23.03 kB / 0.6852 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.8198, allocations: 30.42 kB / 0.6852 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 9.72e-05/0.8199, allocations: 30.14 kB / 0.6852 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.919e-05/0.82, allocations: 7.688 kB / 0.6852 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 2.098e-05/0.82, allocations: 2.406 kB / 0.6852 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.888e-05/0.8201, allocations: 10.67 kB / 0.6852 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.781e-05/0.8201, allocations: 34.86 kB / 0.6853 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.8203, allocations: 50.31 kB / 0.6853 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.8203, allocations: 1.188 kB / 0.6853 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.794e-06/0.8203, allocations: 0 / 0.6853 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.8203, allocations: 3.938 kB / 0.6853 GB, free: 15.38 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007829/0.8211, allocations: 440.5 kB / 0.6857 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.8212, allocations: 10.41 kB / 0.6858 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.538e-05/0.8212, allocations: 41.5 kB / 0.6858 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/0.8213, allocations: 16.41 kB / 0.6858 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.8215, allocations: 179.8 kB / 0.686 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.8215, allocations: 3.281 kB / 0.686 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.8215, allocations: 9.688 kB / 0.686 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004222/0.822, allocations: 99.55 kB / 0.6861 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.822, allocations: 5.375 kB / 0.6861 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.822, allocations: 0 / 0.6861 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.822, allocations: 1.219 kB / 0.6861 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004996/0.8225, allocations: 88.94 kB / 0.6862 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007697/0.8233, allocations: 347.1 kB / 0.6865 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005105/0.8239, allocations: 100.1 kB / 0.6866 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.8239, allocations: 1.578 kB / 0.6866 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004551/0.8244, allocations: 119.5 kB / 0.6867 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 2.615e-06/0.8244, allocations: 0 / 0.6867 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.001037/0.8254, allocations: 227.8 kB / 0.6869 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.8255, allocations: 80.95 kB / 0.687 GB, free: 14 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.8256, allocations: 133.1 kB / 0.6871 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.8257, allocations: 26.92 kB / 0.6872 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.77e-05/0.8257, allocations: 101.3 kB / 0.6873 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.8258, allocations: 21.45 kB / 0.6873 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.265e-05/0.8258, allocations: 5.062 kB / 0.6873 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.186e-05/0.8259, allocations: 320.4 kB / 0.6876 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002986/0.8262, allocations: 56.42 kB / 0.6876 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002877/0.8265, allocations: 60.59 kB / 0.6877 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003083/0.8268, allocations: 108.1 kB / 0.6878 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.8268, allocations: 0.75 kB / 0.6878 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007691/0.8276, allocations: 226.6 kB / 0.688 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.442e-05/0.8277, allocations: 64.05 kB / 0.6881 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.8277, allocations: 5.188 kB / 0.6881 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.8277, allocations: 0 / 0.6881 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.828, allocations: 19.45 kB / 0.6881 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.828, allocations: 5.062 kB / 0.6881 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.8282, allocations: 27.34 kB / 0.6881 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.8283, allocations: 3.219 kB / 0.6881 GB, free: 13.11 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,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.0001352/0.8284, allocations: 145.5 kB / 0.6883 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.8285, allocations: 7.938 kB / 0.6883 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.012e-05/0.8285, allocations: 16 kB / 0.6883 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.8285, allocations: 6.016 kB / 0.6883 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.8285, allocations: 0 / 0.6883 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.8286, allocations: 0.6562 kB / 0.6883 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008756/0.8294, allocations: 453.4 kB / 0.6887 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.8295, allocations: 0 / 0.6887 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.8297, allocations: 16.06 kB / 0.6888 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/0.8297, allocations: 5.078 kB / 0.6888 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.8297, allocations: 1.062 kB / 0.6888 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.8297, allocations: 2.219 kB / 0.6888 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.8297, allocations: 3.938 kB / 0.6888 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007116/0.8305, allocations: 280.8 kB / 0.689 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.902e-05/0.8305, allocations: 88.33 kB / 0.6891 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.8306, allocations: 10.11 kB / 0.6891 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/0.8308, allocations: 23.19 kB / 0.6892 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.831, allocations: 20.98 kB / 0.6892 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.831, allocations: 3.703 kB / 0.6892 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.534e-05/0.8311, allocations: 102.2 kB / 0.6893 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.8e-07/0.8311, allocations: 0 / 0.6893 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003517/0.8315, allocations: 20.34 kB / 0.6893 GB, free: 12.16 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,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.0009582/0.8325, allocations: 0.8272 MB / 0.6901 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007284/0.8332, allocations: 235.5 kB / 0.6903 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.8332, allocations: 0 / 0.6903 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003495/0.8336, allocations: 123.4 kB / 0.6904 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.8339, allocations: 18.08 kB / 0.6905 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.8361, allocations: 0.7145 MB / 0.6912 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001887/0.8364, allocations: 0.6956 MB / 0.6918 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001205/0.8365, allocations: 17.61 kB / 0.6919 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.91e-05/0.8366, allocations: 20.94 kB / 0.6919 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of SimCode: time 1.192e-06/0.8366, allocations: 1.125 kB / 0.6919 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02743/0.8641, allocations: 2.135 MB / 0.694 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002693/0.8644, allocations: 219.8 kB / 0.6942 GB, free: 9.547 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.434/3.298, allocations: 0 / 0.6942 GB, free: 9.547 MB / 0.5261 GB