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.Add.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.Validation.Add,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.178/4.178, allocations: 433.2 MB / 440.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.206e-05/3.215e-05, allocations: 5.75 kB / 0.5325 GB, free: 12.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2079, allocations: 98.74 MB / 0.6289 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2431/0.451, allocations: 123.9 MB / 0.7499 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.4513, allocations: 71.95 kB / 0.75 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006834/0.4582, allocations: 1.458 MB / 0.7514 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4582, allocations: 0 / 0.7514 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.894e-06/0.4582, allocations: 0 / 0.7514 GB, free: 11.49 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007258/0.459, allocations: 394.3 kB / 0.7518 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.459, allocations: 8.031 kB / 0.7518 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.086e-05/0.4591, allocations: 11.86 kB / 0.7518 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.4593, allocations: 182.9 kB / 0.752 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.4593, allocations: 4 kB / 0.752 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.4593, allocations: 4 kB / 0.752 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001882/0.4595, allocations: 47.98 kB / 0.752 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.4597, allocations: 69.66 kB / 0.7521 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.4598, allocations: 7.938 kB / 0.7521 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.4598, allocations: 0 / 0.7521 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.4598, allocations: 4 kB / 0.7521 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006663/0.4605, allocations: 317.2 kB / 0.7524 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007396/0.4612, allocations: 90.66 kB / 0.7525 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.986e-05/0.4613, allocations: 28.84 kB / 0.7525 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.4614, allocations: 8.141 kB / 0.7525 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.4614, allocations: 38.5 kB / 0.7526 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.933e-06/0.4614, allocations: 0 / 0.7526 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003149/0.4618, allocations: 85.55 kB / 0.7527 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.4618, allocations: 51.41 kB / 0.7527 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.4619, allocations: 113 kB / 0.7528 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.462, allocations: 29.7 kB / 0.7528 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.404e-05/0.462, allocations: 95.97 kB / 0.7529 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.4621, allocations: 23.66 kB / 0.753 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.157e-05/0.4621, allocations: 0 / 0.753 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.4622, allocations: 322.8 kB / 0.7533 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.173e-05/0.4623, allocations: 16 kB / 0.7533 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.618e-05/0.4624, allocations: 24.06 kB / 0.7533 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.369e-05/0.4625, allocations: 27.98 kB / 0.7533 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4625, allocations: 0 / 0.7533 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002363/0.4628, allocations: 85.61 kB / 0.7534 GB, free: 9.238 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.4628, allocations: 4 kB / 0.7534 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4628, allocations: 0 / 0.7534 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.4628, allocations: 0 / 0.7534 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003344/0.4632, allocations: 35.92 kB / 0.7535 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.4632, allocations: 4 kB / 0.7535 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.4634, allocations: 23.89 kB / 0.7535 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.4635, allocations: 0 / 0.7535 GB, free: 9.172 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: 3 (add1.u1,add1.u2,add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.667e-05/0.4636, allocations: 109 kB / 0.7536 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002431/0.4638, allocations: 89.52 kB / 0.7537 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.941e-05/0.4639, allocations: 4 kB / 0.7537 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.231e-05/0.4639, allocations: 16.56 kB / 0.7537 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.4639, allocations: 0 / 0.7537 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.464, allocations: 4 kB / 0.7537 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.464, allocations: 4 kB / 0.7537 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.4642, allocations: 174.1 kB / 0.7539 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4643, allocations: 3.938 kB / 0.7539 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003012/0.4646, allocations: 27.97 kB / 0.7539 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.4646, allocations: 0 / 0.7539 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.4646, allocations: 3.984 kB / 0.7539 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.4646, allocations: 4 kB / 0.7539 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.4646, allocations: 11.89 kB / 0.7539 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.4649, allocations: 179.4 kB / 0.7541 GB, free: 8.484 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.465, allocations: 85.11 kB / 0.7542 GB, free: 8.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.465, allocations: 0 / 0.7542 GB, free: 8.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.4653, allocations: 15.98 kB / 0.7542 GB, free: 8.367 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.4654, allocations: 27.86 kB / 0.7542 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.4655, allocations: 7.984 kB / 0.7542 GB, free: 8.332 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.291e-05/0.4655, allocations: 95.78 kB / 0.7543 GB, free: 8.238 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/0.4656, allocations: 0 / 0.7543 GB, free: 8.238 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003384/0.4659, allocations: 24.03 kB / 0.7543 GB, free: 8.215 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: 3 (add1.u1,add1.u2,add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0006202/0.4665, allocations: 0.7202 MB / 0.755 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002202/0.4668, allocations: 55.92 kB / 0.7551 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4668, allocations: 0 / 0.7551 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.4669, allocations: 36 kB / 0.7551 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.4672, allocations: 12.67 kB / 0.7551 GB, free: 7.367 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006201/0.4678, allocations: 152.3 kB / 0.7553 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.4681, allocations: 0.7001 MB / 0.756 GB, free: 6.457 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001288/0.4683, allocations: 12.17 kB / 0.756 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.4684, allocations: 31.42 kB / 0.756 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of SimCode: time 8.82e-07/0.4684, allocations: 0 / 0.756 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04062/0.509, allocations: 1.932 MB / 0.7579 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002284/0.5093, allocations: 143.3 kB / 0.758 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.294/2.803, allocations: 0 / 0.758 GB, free: 4.297 MB / 0.6355 GB