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.Sources.Validation.Constant.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.Sources.Validation.Constant,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.177/4.177, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.397e-05/3.402e-05, allocations: 6.641 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2226, allocations: 98.74 MB / 0.6347 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2477/0.4703, allocations: 123.6 MB / 0.7555 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.4706, allocations: 71.95 kB / 0.7555 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005849/0.4712, allocations: 372.9 kB / 0.7559 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4713, allocations: 0 / 0.7559 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.4713, allocations: 0 / 0.7559 GB, free: 5.641 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003258/0.4716, allocations: 306.6 kB / 0.7562 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.4717, allocations: 8.031 kB / 0.7562 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.325e-05/0.4717, allocations: 30.56 kB / 0.7562 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.198e-05/0.4718, allocations: 0 / 0.7562 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.4719, allocations: 179 kB / 0.7564 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.4719, allocations: 0 / 0.7564 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.173e-06/0.472, allocations: 0 / 0.7564 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.367e-05/0.4721, allocations: 29.64 kB / 0.7564 GB, free: 5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.4721, allocations: 0 / 0.7564 GB, free: 5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.4721, allocations: 4 kB / 0.7564 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.4721, allocations: 3.984 kB / 0.7564 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.814e-05/0.4721, allocations: 0 / 0.7564 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003508/0.4725, allocations: 391.4 kB / 0.7568 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.4726, allocations: 173 kB / 0.757 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.233e-05/0.4727, allocations: 80.14 kB / 0.7571 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.566e-05/0.4727, allocations: 75.28 kB / 0.7571 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.422e-05/0.4728, allocations: 117.9 kB / 0.7572 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.623e-06/0.4728, allocations: 0 / 0.7572 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 7.239e-05/0.4729, allocations: 25.7 kB / 0.7573 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.371e-05/0.473, allocations: 130.6 kB / 0.7574 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.664e-05/0.4731, allocations: 92.98 kB / 0.7575 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.4731, allocations: 25.7 kB / 0.7575 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.4731, allocations: 80.14 kB / 0.7576 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.4732, allocations: 0 / 0.7576 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-06/0.4732, allocations: 4.125 kB / 0.7576 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.4733, allocations: 318.8 kB / 0.7579 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.968e-06/0.4733, allocations: 0 / 0.7579 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.218e-06/0.4734, allocations: 1.812 kB / 0.7579 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.28e-05/0.4734, allocations: 79.28 kB / 0.758 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.138e-05/0.4735, allocations: 75.28 kB / 0.758 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.071e-05/0.4735, allocations: 25.7 kB / 0.7581 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.623e-05/0.4736, allocations: 83.28 kB / 0.7581 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.995e-05/0.4736, allocations: 83.22 kB / 0.7582 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.314e-05/0.4737, allocations: 154.5 kB / 0.7584 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.676e-05/0.4738, allocations: 75.28 kB / 0.7584 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.99e-05/0.4738, allocations: 158.5 kB / 0.7586 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.892e-05/0.4739, allocations: 79.23 kB / 0.7587 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.181e-05/0.474, allocations: 83.22 kB / 0.7587 GB, free: 2.5 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001357/0.4741, allocations: 259.5 kB / 0.759 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.314e-05/0.4742, allocations: 105 kB / 0.7591 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.119e-05/0.4743, allocations: 111.9 kB / 0.7592 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.857e-05/0.4744, allocations: 180.2 kB / 0.7594 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-05/0.4745, allocations: 176.3 kB / 0.7595 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.587e-05/0.4746, allocations: 192.2 kB / 0.7597 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.4749, allocations: 401.2 kB / 0.7601 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.841e-05/0.4749, allocations: 106 kB / 0.7602 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.398e-05/0.475, allocations: 112.9 kB / 0.7603 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.102e-05/0.4751, allocations: 176.3 kB / 0.7605 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.421e-05/0.4752, allocations: 184.2 kB / 0.7607 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.961e-05/0.4753, allocations: 184.2 kB / 0.7608 GB, free: 232 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.016e-05/0.4754, allocations: 184.2 kB / 0.761 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/0.4756, allocations: 299.8 kB / 0.7613 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.4757, allocations: 190.4 kB / 0.7615 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.235e-05/0.4758, allocations: 180.3 kB / 0.7616 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.741e-05/0.4759, allocations: 105 kB / 0.7617 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.749e-05/0.476, allocations: 188.2 kB / 0.7619 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.848e-05/0.4761, allocations: 105 kB / 0.762 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.511e-05/0.4761, allocations: 79.28 kB / 0.7621 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4761, allocations: 0 / 0.7621 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002915/0.4764, allocations: 4 kB / 0.7621 GB, free: 14.84 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0004867/0.4769, allocations: 0.8127 MB / 0.7629 GB, free: 14 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 3.58e-05/0.477, allocations: 4 kB / 0.7629 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.477, allocations: 0 / 0.7629 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.364e-06/0.477, allocations: 4 kB / 0.7629 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.4774, allocations: 0.5205 MB / 0.7634 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003782/0.4778, allocations: 146 kB / 0.7636 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.4781, allocations: 0.677 MB / 0.7642 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.318e-06/0.4781, allocations: 0 / 0.7642 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/0.4781, allocations: 15.44 kB / 0.7642 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of SimCode: time 2.796e-06/0.4781, allocations: 0 / 0.7642 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02216/0.5003, allocations: 0.7204 MB / 0.7649 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003191/0.5007, allocations: 168.4 kB / 0.7651 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.16/2.661, allocations: 0 / 0.7651 GB, free: 11.69 MB / 0.6511 GB