Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.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.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",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.01066/0.01066, allocations: 106.4 kB / 15.05 MB, free: 5.934 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.001138/0.001138, allocations: 183.8 kB / 15.95 MB, free: 5.898 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.041/2.041, allocations: 194.6 MB / 211.3 MB, free: 11.09 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.482/2.482, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006737/0.0006736, allocations: 12 kB / 0.587 GB, free: 2.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7265/0.7272, allocations: 98.72 MB / 0.6834 GB, free: 16.69 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2726/0.9999, allocations: 124.4 MB / 0.8049 GB, free: 1.762 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/1, allocations: 71.95 kB / 0.805 GB, free: 1.691 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.00361/1.004, allocations: 0.9203 MB / 0.8059 GB, free: 0.7656 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.853e-06/1.004, allocations: 0 / 0.8059 GB, free: 0.7656 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.594e-05/1.004, allocations: 4 kB / 0.8059 GB, free: 0.7617 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006422/1.005, allocations: 375.2 kB / 0.8063 GB, free: 356 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/1.005, allocations: 8.031 kB / 0.8063 GB, free: 348 kB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.404e-05/1.005, allocations: 38.55 kB / 0.8063 GB, free: 300 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.812e-05/1.005, allocations: 11.84 kB / 0.8063 GB, free: 288 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/1.005, allocations: 167 kB / 0.8065 GB, free: 80 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/1.005, allocations: 4 kB / 0.8065 GB, free: 76 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/1.005, allocations: 4 kB / 0.8065 GB, free: 72 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/1.005, allocations: 53.61 kB / 0.8065 GB, free: 12 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/1.005, allocations: 0 / 0.8065 GB, free: 12 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/1.005, allocations: 4 kB / 0.8065 GB, free: 8 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/1.005, allocations: 4 kB / 0.8065 GB, free: 4 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/1.005, allocations: 24 kB / 0.8066 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005978/1.006, allocations: 300.8 kB / 0.8069 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/1.006, allocations: 50.52 kB / 0.8069 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/1.006, allocations: 4 kB / 0.8069 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002223/1.006, allocations: 87.38 kB / 0.807 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.874e-06/1.006, allocations: 0 / 0.807 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0004041/1.007, allocations: 105.6 kB / 0.8071 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/1.007, allocations: 55.36 kB / 0.8071 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/1.007, allocations: 116.9 kB / 0.8073 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/1.007, allocations: 29.7 kB / 0.8073 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.441e-05/1.007, allocations: 84.14 kB / 0.8074 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/1.007, allocations: 23.73 kB / 0.8074 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.899e-06/1.007, allocations: 4 kB / 0.8074 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001307/1.007, allocations: 310.8 kB / 0.8077 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.403e-05/1.007, allocations: 23.98 kB / 0.8077 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/1.007, allocations: 52.28 kB / 0.8078 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.542e-05/1.008, allocations: 19.94 kB / 0.8078 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/1.008, allocations: 0 / 0.8078 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002431/1.008, allocations: 102.2 kB / 0.8079 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/1.008, allocations: 8 kB / 0.8079 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/1.008, allocations: 0 / 0.8079 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/1.008, allocations: 4.094 kB / 0.8079 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.648e-05/1.008, allocations: 8 kB / 0.8079 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/1.008, allocations: 3.953 kB / 0.8079 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/1.008, allocations: 15.98 kB / 0.8079 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/1.008, allocations: 7.938 kB / 0.8079 GB, free: 14.46 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.onCounter.y,onCounter.y,$whenCondition4,$whenCondition3,$whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,$whenCondition2,onCounter.reset,$PRE.reset.pulseStart,reset.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.0001213/1.008, allocations: 129.7 kB / 0.808 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.975e-05/1.008, allocations: 7.906 kB / 0.8081 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.305e-05/1.008, allocations: 16.38 kB / 0.8081 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/1.008, allocations: 0 / 0.8081 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/1.008, allocations: 0 / 0.8081 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/1.008, allocations: 3.953 kB / 0.8081 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007558/1.009, allocations: 378.5 kB / 0.8084 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/1.009, allocations: 12 kB / 0.8084 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.063e-05/1.009, allocations: 7.922 kB / 0.8085 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/1.009, allocations: 0 / 0.8085 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/1.009, allocations: 0 / 0.8085 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/1.009, allocations: 7.953 kB / 0.8085 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.009, allocations: 0 / 0.8085 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/1.01, allocations: 183.4 kB / 0.8086 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.322e-05/1.01, allocations: 85.02 kB / 0.8087 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/1.01, allocations: 8 kB / 0.8087 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/1.01, allocations: 11.98 kB / 0.8087 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/1.01, allocations: 15.94 kB / 0.8088 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/1.01, allocations: 3.984 kB / 0.8088 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.414e-05/1.01, allocations: 91.47 kB / 0.8088 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/1.01, allocations: 0 / 0.8088 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003109/1.01, allocations: 12.28 kB / 0.8089 GB, free: 13.4 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: 9 (booPul.y,onCounter.reset,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,onCounter.y,booPul.pulseStart,reset.pulseStart) * Number of discrete states: 1 (onCounter.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0006414/1.011, allocations: 0.7421 MB / 0.8096 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002082/1.011, allocations: 55.92 kB / 0.8096 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.011, allocations: 0 / 0.8096 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001076/1.011, allocations: 31.92 kB / 0.8097 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/1.012, allocations: 20.12 kB / 0.8097 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/1.013, allocations: 1.123 MB / 0.8108 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/1.014, allocations: 0.6926 MB / 0.8115 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.203e-05/1.014, allocations: 12.66 kB / 0.8115 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.303e-05/1.014, allocations: 19.44 kB / 0.8115 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of SimCode: time 1.002e-06/1.014, allocations: 0 / 0.8115 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02057/1.034, allocations: 1.784 MB / 0.8132 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003043/1.035, allocations: 185.3 kB / 0.8134 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.333/3.368, allocations: 64 / 0.8134 GB, free: 8.684 MB / 0.6355 GB