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/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.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.104/4.104, allocations: 433.2 MB / 440.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.223e-05/3.235e-05, allocations: 5.375 kB / 0.5325 GB, free: 12.65 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2124, allocations: 98.73 MB / 0.6289 GB, free: 9.09 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2832/0.4957, allocations: 123 MB / 0.749 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.496, allocations: 63.97 kB / 0.7491 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005254/0.4965, allocations: 364.8 kB / 0.7494 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.442e-06/0.4965, allocations: 0 / 0.7494 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.4966, allocations: 4.062 kB / 0.7494 GB, free: 13.53 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.0002637/0.4968, allocations: 310.5 kB / 0.7497 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.4969, allocations: 12.09 kB / 0.7497 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.789e-05/0.4969, allocations: 3.953 kB / 0.7497 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.4971, allocations: 167.1 kB / 0.7499 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.4971, allocations: 0 / 0.7499 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.063e-06/0.4971, allocations: 0 / 0.7499 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.125e-05/0.4972, allocations: 3.938 kB / 0.7499 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.268e-05/0.4972, allocations: 33.69 kB / 0.7499 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.4972, allocations: 0 / 0.7499 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.4973, allocations: 3.938 kB / 0.7499 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.4973, allocations: 0 / 0.7499 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002999/0.4976, allocations: 368 kB / 0.7503 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.394e-05/0.4977, allocations: 165.1 kB / 0.7504 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.937e-05/0.4977, allocations: 84.08 kB / 0.7505 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.342e-05/0.4978, allocations: 75.28 kB / 0.7506 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.201e-05/0.4978, allocations: 117.9 kB / 0.7507 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.543e-06/0.4978, allocations: 0 / 0.7507 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 6.923e-05/0.4979, allocations: 25.7 kB / 0.7507 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.498, allocations: 55.41 kB / 0.7508 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.372e-05/0.4981, allocations: 85 kB / 0.7509 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.4981, allocations: 25.7 kB / 0.7509 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.058e-05/0.4981, allocations: 84.08 kB / 0.751 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-06/0.4981, allocations: 4 kB / 0.751 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-07/0.4982, allocations: 0 / 0.751 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.4983, allocations: 318.9 kB / 0.7513 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.597e-06/0.4983, allocations: 0 / 0.7513 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.496e-06/0.4983, allocations: 0 / 0.7513 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.58e-05/0.4984, allocations: 79.22 kB / 0.7514 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-05/0.4984, allocations: 75.28 kB / 0.7514 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.419e-05/0.4985, allocations: 34.3 kB / 0.7515 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.289e-05/0.4985, allocations: 79.28 kB / 0.7515 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.208e-05/0.4986, allocations: 75.28 kB / 0.7516 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.739e-05/0.4987, allocations: 163.9 kB / 0.7518 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.26e-05/0.4987, allocations: 79.28 kB / 0.7518 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.066e-05/0.4988, allocations: 150.6 kB / 0.752 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.944e-05/0.4989, allocations: 79.22 kB / 0.7521 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.4989, allocations: 75.28 kB / 0.7521 GB, free: 10.55 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.0001267/0.499, allocations: 269.2 kB / 0.7524 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.854e-05/0.4991, allocations: 138.6 kB / 0.7525 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.676e-05/0.4992, allocations: 105 kB / 0.7526 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.992e-05/0.4993, allocations: 112.5 kB / 0.7527 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.648e-05/0.4994, allocations: 184.2 kB / 0.7529 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.486e-05/0.4995, allocations: 184.2 kB / 0.7531 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.961e-05/0.4995, allocations: 184.2 kB / 0.7533 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.4998, allocations: 381.7 kB / 0.7536 GB, free: 8.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.978e-05/0.4999, allocations: 105 kB / 0.7537 GB, free: 8.816 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.402e-05/0.4999, allocations: 101 kB / 0.7538 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-05/0.5, allocations: 180.2 kB / 0.754 GB, free: 8.527 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.104e-05/0.5001, allocations: 184.3 kB / 0.7542 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.287e-05/0.5002, allocations: 180.3 kB / 0.7543 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.407e-05/0.5003, allocations: 180.2 kB / 0.7545 GB, free: 7.973 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.5004, allocations: 303.8 kB / 0.7548 GB, free: 7.652 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.44e-05/0.5005, allocations: 182 kB / 0.755 GB, free: 7.449 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.467e-05/0.5006, allocations: 188.7 kB / 0.7551 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.252e-05/0.5007, allocations: 109 kB / 0.7553 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.314e-05/0.5008, allocations: 180.2 kB / 0.7554 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.229e-05/0.5009, allocations: 105 kB / 0.7555 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.455e-05/0.5009, allocations: 75.28 kB / 0.7556 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.91e-07/0.501, allocations: 4 kB / 0.7556 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003112/0.5013, allocations: 4.094 kB / 0.7556 GB, free: 6.77 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: 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.0004249/0.5017, allocations: 0.8048 MB / 0.7564 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 4.089e-05/0.5018, allocations: 3.938 kB / 0.7564 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5018, allocations: 0 / 0.7564 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.184e-06/0.5018, allocations: 7.938 kB / 0.7564 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.5022, allocations: 0.5185 MB / 0.7569 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003986/0.5026, allocations: 149 kB / 0.757 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.5028, allocations: 0.669 MB / 0.7577 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.959e-06/0.5029, allocations: 0 / 0.7577 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.548e-05/0.5029, allocations: 15.38 kB / 0.7577 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of SimCode: time 6.92e-07/0.5029, allocations: 0 / 0.7577 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03459/0.5375, allocations: 418.9 kB / 0.7581 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/0.5378, allocations: 162.4 kB / 0.7583 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.066/2.604, allocations: 0 / 0.7583 GB, free: 3.91 MB / 0.6355 GB