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.01275/0.01275, allocations: 222.1 kB / 15.17 MB, free: 5.922 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.001266/0.001266, allocations: 181.9 kB / 16.06 MB, free: 5.828 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 3.841/3.841, allocations: 389 MB / 405.9 MB, free: 11.73 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.846/3.846, allocations: 472.3 MB / 0.9018 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004866/0.0004869, allocations: 16 kB / 1.008 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1675, allocations: 98.72 MB / 1.104 GB, free: 41.96 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.001596/0.1691, allocations: 1.203 MB / 1.105 GB, free: 40.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008299/0.17, allocations: 471.3 kB / 1.106 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.118e-05/0.17, allocations: 4 kB / 1.106 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.187e-05/0.1701, allocations: 7.875 kB / 1.106 GB, free: 40.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.882e-05/0.1702, allocations: 3.938 kB / 1.106 GB, free: 40.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.1704, allocations: 27.89 kB / 1.106 GB, free: 40.23 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.1705, allocations: 75.27 kB / 1.106 GB, free: 40.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1706, allocations: 12.19 kB / 1.106 GB, free: 40.15 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.1708, allocations: 35.78 kB / 1.106 GB, free: 40.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.986e-05/0.1708, allocations: 35.89 kB / 1.106 GB, free: 40.08 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.1709, allocations: 0 / 1.106 GB, free: 40.08 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.194e-05/0.1709, allocations: 7.312 kB / 1.106 GB, free: 40.07 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.344e-05/0.171, allocations: 11.92 kB / 1.106 GB, free: 40.06 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.715e-05/0.171, allocations: 33.7 kB / 1.106 GB, free: 40.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.303e-05/0.1711, allocations: 43.92 kB / 1.106 GB, free: 39.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1711, allocations: 0 / 1.106 GB, free: 39.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.735e-06/0.1711, allocations: 7.984 kB / 1.106 GB, free: 39.97 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.1711, allocations: 3.938 kB / 1.106 GB, free: 39.97 MB / 0.6042 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.0007026/0.1719, allocations: 433.4 kB / 1.106 GB, free: 39.49 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.1719, allocations: 8.031 kB / 1.106 GB, free: 39.48 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.407e-05/0.172, allocations: 42.55 kB / 1.107 GB, free: 39.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.172, allocations: 7.906 kB / 1.107 GB, free: 39.42 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.1722, allocations: 191.4 kB / 1.107 GB, free: 39.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.1722, allocations: 0 / 1.107 GB, free: 39.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.1722, allocations: 8 kB / 1.107 GB, free: 39.19 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003738/0.1726, allocations: 105.6 kB / 1.107 GB, free: 39.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1726, allocations: 5.266 kB / 1.107 GB, free: 39.08 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.1727, allocations: 3.344 kB / 1.107 GB, free: 39.08 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1727, allocations: 0 / 1.107 GB, free: 39.08 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004523/0.1731, allocations: 91.17 kB / 1.107 GB, free: 38.99 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006421/0.1738, allocations: 340.6 kB / 1.107 GB, free: 38.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004394/0.1743, allocations: 95.14 kB / 1.107 GB, free: 38.51 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/0.1745, allocations: 68.25 kB / 1.107 GB, free: 38.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.1746, allocations: 0 / 1.107 GB, free: 38.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003896/0.175, allocations: 110.5 kB / 1.107 GB, free: 38.33 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.843e-06/0.175, allocations: 0 / 1.107 GB, free: 38.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0008918/0.1759, allocations: 234 kB / 1.108 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.1759, allocations: 81.11 kB / 1.108 GB, free: 37.99 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.1761, allocations: 137.7 kB / 1.108 GB, free: 37.85 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.1761, allocations: 36.8 kB / 1.108 GB, free: 37.81 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.833e-05/0.1762, allocations: 99.97 kB / 1.108 GB, free: 37.71 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.1762, allocations: 15.81 kB / 1.108 GB, free: 37.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.094e-05/0.1762, allocations: 0 / 1.108 GB, free: 37.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.877e-05/0.1763, allocations: 322.8 kB / 1.108 GB, free: 37.37 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002621/0.1766, allocations: 62.83 kB / 1.108 GB, free: 37.31 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002528/0.1768, allocations: 47.97 kB / 1.108 GB, free: 37.27 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/0.1771, allocations: 118.4 kB / 1.109 GB, free: 37.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1771, allocations: 0 / 1.109 GB, free: 37.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006266/0.1777, allocations: 220.9 kB / 1.109 GB, free: 36.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.161e-05/0.1778, allocations: 59.39 kB / 1.109 GB, free: 36.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1778, allocations: 4 kB / 1.109 GB, free: 36.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1779, allocations: 5.156 kB / 1.109 GB, free: 36.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.1781, allocations: 19.98 kB / 1.109 GB, free: 36.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1781, allocations: 1.219 kB / 1.109 GB, free: 36.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.1783, allocations: 24.77 kB / 1.109 GB, free: 36.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.1783, allocations: 7.984 kB / 1.109 GB, free: 36.78 MB / 0.6042 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.0001021/0.1785, allocations: 150.8 kB / 1.109 GB, free: 36.62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.1785, allocations: 7.906 kB / 1.109 GB, free: 36.61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.433e-05/0.1785, allocations: 16.7 kB / 1.109 GB, free: 36.59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1785, allocations: 4 kB / 1.109 GB, free: 36.59 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1786, allocations: 0 / 1.109 GB, free: 36.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1786, allocations: 0 / 1.109 GB, free: 36.59 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007287/0.1793, allocations: 451.4 kB / 1.11 GB, free: 36.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1793, allocations: 4.281 kB / 1.11 GB, free: 36.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.1795, allocations: 18.55 kB / 1.11 GB, free: 36.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1795, allocations: 0 / 1.11 GB, free: 36.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.1795, allocations: 3.938 kB / 1.11 GB, free: 36.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.1795, allocations: 0 / 1.11 GB, free: 36.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1795, allocations: 4 kB / 1.11 GB, free: 36.06 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006029/0.1802, allocations: 285.7 kB / 1.11 GB, free: 35.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.208e-05/0.1802, allocations: 81.02 kB / 1.11 GB, free: 35.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/0.1803, allocations: 11.92 kB / 1.11 GB, free: 35.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.1805, allocations: 15.98 kB / 1.11 GB, free: 35.64 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.1806, allocations: 27.41 kB / 1.11 GB, free: 35.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.1807, allocations: 3.984 kB / 1.11 GB, free: 35.62 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.994e-05/0.1807, allocations: 103.2 kB / 1.11 GB, free: 35.52 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.8e-07/0.1807, allocations: 0 / 1.11 GB, free: 35.52 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003208/0.1811, allocations: 20 kB / 1.11 GB, free: 35.5 MB / 0.6042 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.0008367/0.1819, allocations: 0.8302 MB / 1.111 GB, free: 34.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006278/0.1826, allocations: 234.7 kB / 1.111 GB, free: 34.39 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1826, allocations: 3.5 kB / 1.111 GB, free: 34.39 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002997/0.1829, allocations: 111.4 kB / 1.111 GB, free: 34.27 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.1833, allocations: 11.98 kB / 1.111 GB, free: 34.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.1851, allocations: 0.7191 MB / 1.112 GB, free: 33.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/0.1853, allocations: 0.6926 MB / 1.113 GB, free: 32.78 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.329e-05/0.1854, allocations: 11.14 kB / 1.113 GB, free: 32.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.85e-05/0.1855, allocations: 27.42 kB / 1.113 GB, free: 32.74 MB / 0.6042 GB Notification: Performance of SimCode: time 1.803e-06/0.1855, allocations: 0 / 1.113 GB, free: 32.74 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/0.206, allocations: 2.154 MB / 1.115 GB, free: 30.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/0.2063, allocations: 228.2 kB / 1.115 GB, free: 30.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.456/2.662, allocations: 0.7188 kB / 1.115 GB, free: 30.59 MB / 0.6042 GB