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.Discrete.Examples.TriggeredSampler.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Discrete_Examples_TriggeredSampler",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.105/4.105, allocations: 433.2 MB / 440.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.881e-05/2.898e-05, allocations: 4.219 kB / 0.5325 GB, free: 12.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2084, allocations: 98.74 MB / 0.6289 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2267/0.4352, allocations: 124 MB / 0.75 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.4355, allocations: 75.94 kB / 0.7501 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004389/0.44, allocations: 1.126 MB / 0.7512 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.282e-06/0.44, allocations: 0 / 0.7512 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.044e-06/0.44, allocations: 0 / 0.7512 GB, free: 11.67 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005873/0.4406, allocations: 374.3 kB / 0.7516 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.4407, allocations: 12.03 kB / 0.7516 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/0.4407, allocations: 7.953 kB / 0.7516 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.4409, allocations: 178.9 kB / 0.7518 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.4409, allocations: 4 kB / 0.7518 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.4409, allocations: 4 kB / 0.7518 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001105/0.4411, allocations: 24 kB / 0.7518 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.4412, allocations: 53.62 kB / 0.7518 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.4412, allocations: 0 / 0.7518 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.4413, allocations: 3.984 kB / 0.7518 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.4413, allocations: 4 kB / 0.7518 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005204/0.4418, allocations: 281.2 kB / 0.7521 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.442, allocations: 54.5 kB / 0.7522 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.645e-05/0.442, allocations: 20.98 kB / 0.7522 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.4421, allocations: 0 / 0.7522 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/0.4422, allocations: 71.39 kB / 0.7523 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 2.024e-06/0.4423, allocations: 0 / 0.7523 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0002445/0.4425, allocations: 85.62 kB / 0.7523 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.4426, allocations: 51.41 kB / 0.7524 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.4427, allocations: 113.1 kB / 0.7525 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.4427, allocations: 25.7 kB / 0.7525 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.536e-05/0.4428, allocations: 92.08 kB / 0.7526 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.768e-05/0.4428, allocations: 31.64 kB / 0.7526 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.183e-06/0.4429, allocations: 0 / 0.7526 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.443, allocations: 314.8 kB / 0.7529 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.268e-05/0.443, allocations: 12.38 kB / 0.7529 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.103e-05/0.4431, allocations: 48.28 kB / 0.753 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.336e-05/0.4432, allocations: 20 kB / 0.753 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4432, allocations: 0 / 0.753 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002047/0.4434, allocations: 89.55 kB / 0.7531 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.4435, allocations: 4 kB / 0.7531 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.4435, allocations: 4.016 kB / 0.7531 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.4435, allocations: 4 kB / 0.7531 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.4437, allocations: 20.11 kB / 0.7531 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.4437, allocations: 11.94 kB / 0.7531 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.4439, allocations: 19.89 kB / 0.7532 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.4439, allocations: 4 kB / 0.7532 GB, free: 9.449 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: 9 ($PRE.triSam1.y,triSam1.y,$PRE.triSam.y,triSam.y,$whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 8.856e-05/0.444, allocations: 110.3 kB / 0.7533 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001758/0.4442, allocations: 81.59 kB / 0.7533 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/0.4442, allocations: 8.031 kB / 0.7534 GB, free: 9.242 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002236/0.4445, allocations: 102.3 kB / 0.7535 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.4445, allocations: 3.938 kB / 0.7535 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4445, allocations: 0 / 0.7535 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4445, allocations: 0 / 0.7535 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004939/0.445, allocations: 342.9 kB / 0.7538 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.445, allocations: 0 / 0.7538 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.4452, allocations: 15.98 kB / 0.7538 GB, free: 8.738 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/0.4452, allocations: 11.95 kB / 0.7538 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.4452, allocations: 0 / 0.7538 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4452, allocations: 0 / 0.7538 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4452, allocations: 0 / 0.7538 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.4455, allocations: 179.5 kB / 0.754 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.581e-05/0.4455, allocations: 81.02 kB / 0.7541 GB, free: 8.438 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.4456, allocations: 7.953 kB / 0.7541 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/0.4458, allocations: 15.98 kB / 0.7541 GB, free: 8.414 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.4458, allocations: 7.984 kB / 0.7541 GB, free: 8.406 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.4458, allocations: 8 kB / 0.7541 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.911e-05/0.4459, allocations: 91.27 kB / 0.7542 GB, free: 8.309 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.01e-07/0.4459, allocations: 0 / 0.7542 GB, free: 8.309 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003227/0.4463, allocations: 12 kB / 0.7542 GB, free: 8.297 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: 6 (booPul.y,$whenCondition2,$whenCondition1,booPul.pulseStart,triSam.y,triSam1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * 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.0005062/0.4468, allocations: 0.7165 MB / 0.7549 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001617/0.447, allocations: 44 kB / 0.7549 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.439e-05/0.447, allocations: 0.6094 kB / 0.7549 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.759e-05/0.4471, allocations: 31.88 kB / 0.755 GB, free: 7.477 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.4474, allocations: 20.19 kB / 0.755 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005576/0.448, allocations: 126.2 kB / 0.7551 GB, free: 7.297 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.4483, allocations: 0.6924 MB / 0.7558 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.133e-05/0.4484, allocations: 7.938 kB / 0.7558 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.92e-05/0.4485, allocations: 23.42 kB / 0.7558 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of SimCode: time 7.31e-07/0.4485, allocations: 0 / 0.7558 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03478/0.4833, allocations: 1.375 MB / 0.7572 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003012/0.4837, allocations: 150.7 kB / 0.7573 GB, free: 5 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.326/2.81, allocations: 3.938 kB / 0.7573 GB, free: 4.996 MB / 0.6355 GB