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.TriggeredMax.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.Discrete.Examples.TriggeredMax,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Discrete_Examples_TriggeredMax",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.01084/0.01084, allocations: 107.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.001231/0.001231, allocations: 182.6 kB / 15.94 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 1.983/1.983, allocations: 194.5 MB / 211.2 MB, free: 11.07 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.328/2.328, allocations: 236.1 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005022/0.0005022, allocations: 12 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7055/0.706, allocations: 98.73 MB / 0.6834 GB, free: 16.92 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2264/0.9325, allocations: 124.8 MB / 0.8054 GB, free: 1.418 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/0.9328, allocations: 71.95 kB / 0.8054 GB, free: 1.348 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.006581/0.9394, allocations: 1.466 MB / 0.8069 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9395, allocations: 0 / 0.8069 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.9395, allocations: 4 kB / 0.8069 GB, free: 15.88 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007045/0.9402, allocations: 371.2 kB / 0.8072 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.9403, allocations: 16.03 kB / 0.8072 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.192e-05/0.9403, allocations: 38.55 kB / 0.8073 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.9404, allocations: 15.8 kB / 0.8073 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.9406, allocations: 163 kB / 0.8074 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.9406, allocations: 4 kB / 0.8074 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.9406, allocations: 8 kB / 0.8074 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/0.9409, allocations: 77.58 kB / 0.8075 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.941, allocations: 4 kB / 0.8075 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.941, allocations: 4 kB / 0.8075 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.941, allocations: 0 / 0.8075 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003408/0.9413, allocations: 55.95 kB / 0.8076 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005715/0.9419, allocations: 288.8 kB / 0.8079 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/0.9422, allocations: 58.55 kB / 0.8079 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.9423, allocations: 4.125 kB / 0.8079 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000334/0.9426, allocations: 95.22 kB / 0.808 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.394e-06/0.9426, allocations: 0 / 0.808 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0007028/0.9433, allocations: 145.6 kB / 0.8081 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.781e-05/0.9434, allocations: 55.39 kB / 0.8082 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.9435, allocations: 109.3 kB / 0.8083 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.9436, allocations: 29.69 kB / 0.8083 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.449e-05/0.9436, allocations: 88.05 kB / 0.8084 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.9437, allocations: 15.75 kB / 0.8084 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.001e-05/0.9437, allocations: 4 kB / 0.8084 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.9439, allocations: 322.8 kB / 0.8087 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.9441, allocations: 30.47 kB / 0.8088 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.9443, allocations: 58.42 kB / 0.8088 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.9445, allocations: 39.97 kB / 0.8089 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.9445, allocations: 0 / 0.8089 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004796/0.945, allocations: 117.6 kB / 0.809 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.945, allocations: 4 kB / 0.809 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.945, allocations: 4 kB / 0.809 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.9451, allocations: 0 / 0.809 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.9453, allocations: 19.94 kB / 0.809 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.9453, allocations: 0 / 0.809 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.9455, allocations: 27.88 kB / 0.809 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.9455, allocations: 4 kB / 0.809 GB, free: 13.41 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$PRE.triggeredMax.y,triggeredMax.y,$whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001248/0.9456, allocations: 119.8 kB / 0.8091 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.9456, allocations: 4 kB / 0.8092 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005034/0.9462, allocations: 118 kB / 0.8093 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.9462, allocations: 4 kB / 0.8093 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/0.9462, allocations: 3.953 kB / 0.8093 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.9462, allocations: 0 / 0.8093 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000841/0.9471, allocations: 394.3 kB / 0.8096 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.9471, allocations: 0 / 0.8096 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.9472, allocations: 11.98 kB / 0.8097 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.9472, allocations: 4 kB / 0.8097 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.9473, allocations: 3.953 kB / 0.8097 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.9473, allocations: 0 / 0.8097 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.9473, allocations: 0 / 0.8097 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005311/0.9478, allocations: 211.4 kB / 0.8099 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.683e-05/0.9479, allocations: 85.02 kB / 0.81 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.9479, allocations: 4 kB / 0.81 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.9482, allocations: 23.94 kB / 0.81 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.747e-05/0.9482, allocations: 7.984 kB / 0.81 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.9482, allocations: 0 / 0.81 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.198e-05/0.9483, allocations: 91.27 kB / 0.8101 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.31e-07/0.9483, allocations: 0 / 0.8101 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003092/0.9487, allocations: 16 kB / 0.8101 GB, free: 12.23 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: 5 (booPul.y,$whenCondition2,$whenCondition1,triggeredMax.y,booPul.pulseStart) * Number of discrete states: 1 (triggeredMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0008386/0.9495, allocations: 0.7399 MB / 0.8108 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004496/0.95, allocations: 87.88 kB / 0.8109 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.95, allocations: 0 / 0.8109 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002127/0.9502, allocations: 40.77 kB / 0.8109 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.9505, allocations: 24 kB / 0.811 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.9522, allocations: 0.8287 MB / 0.8118 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.9525, allocations: 0.6989 MB / 0.8124 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.906e-05/0.9526, allocations: 4 kB / 0.8125 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.213e-05/0.9527, allocations: 15.44 kB / 0.8125 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of SimCode: time 1.112e-06/0.9527, allocations: 0 / 0.8125 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02418/0.9769, allocations: 1.582 MB / 0.814 GB, free: 8.211 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003343/0.9773, allocations: 196.3 kB / 0.8142 GB, free: 7.965 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.359/3.337, allocations: 0 / 0.8142 GB, free: 7.965 MB / 0.6355 GB