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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.984/3.984, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.611e-05/3.627e-05, allocations: 4.812 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2243, allocations: 98.73 MB / 0.6347 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2244/0.4488, allocations: 124.3 MB / 0.7561 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.4492, allocations: 71.95 kB / 0.7562 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003591/0.4528, allocations: 0.9114 MB / 0.7571 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4528, allocations: 0 / 0.7571 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.4528, allocations: 4 kB / 0.7571 GB, free: 4.391 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005501/0.4534, allocations: 358.5 kB / 0.7574 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.4535, allocations: 12.03 kB / 0.7575 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.996e-05/0.4535, allocations: 38.56 kB / 0.7575 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.869e-05/0.4536, allocations: 7.906 kB / 0.7575 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.4537, allocations: 171 kB / 0.7577 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.4538, allocations: 7.984 kB / 0.7577 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.4538, allocations: 4 kB / 0.7577 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.454, allocations: 53.62 kB / 0.7577 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.454, allocations: 0 / 0.7577 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.454, allocations: 0 / 0.7577 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.454, allocations: 4 kB / 0.7577 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.747e-05/0.4541, allocations: 16 kB / 0.7577 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005903/0.4547, allocations: 304.7 kB / 0.758 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.4549, allocations: 50.52 kB / 0.7581 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.624e-05/0.455, allocations: 16.98 kB / 0.7581 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.455, allocations: 7.984 kB / 0.7581 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001931/0.4552, allocations: 79.39 kB / 0.7582 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.245e-06/0.4552, allocations: 0 / 0.7582 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002803/0.4555, allocations: 97.41 kB / 0.7583 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.4556, allocations: 55.41 kB / 0.7583 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.4557, allocations: 105 kB / 0.7584 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.4557, allocations: 33.69 kB / 0.7585 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.4558, allocations: 92.2 kB / 0.7585 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.4558, allocations: 11.81 kB / 0.7586 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-06/0.4558, allocations: 4 kB / 0.7586 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.456, allocations: 318.8 kB / 0.7589 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.906e-05/0.456, allocations: 19.94 kB / 0.7589 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.545e-05/0.4561, allocations: 48.23 kB / 0.7589 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.597e-05/0.4562, allocations: 29.83 kB / 0.759 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.4562, allocations: 0 / 0.759 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002213/0.4564, allocations: 97.45 kB / 0.7591 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.4565, allocations: 6.031 kB / 0.7591 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.4565, allocations: 4 kB / 0.7591 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.4565, allocations: 0 / 0.7591 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-05/0.4566, allocations: 12.09 kB / 0.7591 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.4566, allocations: 3.953 kB / 0.7591 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.4568, allocations: 23.89 kB / 0.7591 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.4568, allocations: 7.938 kB / 0.7591 GB, free: 2.098 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 () * 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 9.765e-05/0.457, allocations: 124 kB / 0.7592 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.457, allocations: 7.984 kB / 0.7592 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.666e-05/0.457, allocations: 8.625 kB / 0.7592 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.4571, allocations: 4 kB / 0.7592 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4571, allocations: 0 / 0.7592 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/0.4571, allocations: 7.953 kB / 0.7593 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007483/0.4578, allocations: 386.8 kB / 0.7596 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4579, allocations: 0 / 0.7596 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.778e-05/0.4579, allocations: 8 kB / 0.7596 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.4579, allocations: 0 / 0.7596 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.4579, allocations: 11.94 kB / 0.7596 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.458, allocations: 0 / 0.7596 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.458, allocations: 3.938 kB / 0.7596 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.4582, allocations: 175.5 kB / 0.7598 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.4583, allocations: 85.02 kB / 0.7599 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.4583, allocations: 7.938 kB / 0.7599 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.4585, allocations: 23.94 kB / 0.7599 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.246e-05/0.4586, allocations: 7.984 kB / 0.7599 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.4586, allocations: 0 / 0.7599 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.334e-05/0.4587, allocations: 99.27 kB / 0.76 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.81e-07/0.4587, allocations: 0 / 0.76 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003094/0.459, allocations: 12 kB / 0.76 GB, free: 1.043 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) * 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.0005712/0.4596, allocations: 0.7225 MB / 0.7607 GB, free: 304 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002054/0.4598, allocations: 52.03 kB / 0.7608 GB, free: 252 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4598, allocations: 3.938 kB / 0.7608 GB, free: 248 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.46, allocations: 35.92 kB / 0.7608 GB, free: 212 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.4603, allocations: 20.14 kB / 0.7608 GB, free: 192 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006212/0.4609, allocations: 139.1 kB / 0.761 GB, free: 12 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.4613, allocations: 0.6887 MB / 0.7617 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.102e-05/0.4614, allocations: 8.656 kB / 0.7617 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.427e-05/0.4615, allocations: 23.44 kB / 0.7617 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of SimCode: time 1.213e-06/0.4615, allocations: 0 / 0.7617 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01955/0.4811, allocations: 1.799 MB / 0.7634 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000286/0.4814, allocations: 160.8 kB / 0.7636 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.245/2.727, allocations: 0 / 0.7636 GB, free: 13.32 MB / 0.6511 GB