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.MultiSum.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.MultiSum,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.121/4.121, allocations: 433.2 MB / 440.8 MB, free: 10.55 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.428e-05/3.439e-05, allocations: 8 kB / 0.5325 GB, free: 1.914 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6145/0.6145, allocations: 98.72 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2378/0.8524, allocations: 124.1 MB / 0.7501 GB, free: 3.492 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.8527, allocations: 71.95 kB / 0.7501 GB, free: 3.422 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01027/0.863, allocations: 2.025 MB / 0.7521 GB, free: 1.395 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.392e-06/0.863, allocations: 0 / 0.7521 GB, free: 1.395 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.357e-05/0.8631, allocations: 4 kB / 0.7521 GB, free: 1.391 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001006/0.8641, allocations: 438.4 kB / 0.7525 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.8641, allocations: 8.031 kB / 0.7525 GB, free: 0.9102 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.385e-05/0.8642, allocations: 23.7 kB / 0.7526 GB, free: 0.8867 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.8645, allocations: 195.5 kB / 0.7527 GB, free: 0.6523 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.8645, allocations: 4 kB / 0.7527 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.8646, allocations: 4 kB / 0.7527 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002823/0.8649, allocations: 79.97 kB / 0.7528 GB, free: 0.5664 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.8652, allocations: 109.5 kB / 0.7529 GB, free: 464 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.8652, allocations: 0 / 0.7529 GB, free: 464 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/0.8652, allocations: 7.984 kB / 0.7529 GB, free: 456 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.8652, allocations: 0 / 0.7529 GB, free: 456 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009042/0.8661, allocations: 385.2 kB / 0.7533 GB, free: 32 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.8672, allocations: 126.6 kB / 0.7534 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.8674, allocations: 48.92 kB / 0.7535 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.454e-05/0.8674, allocations: 4 kB / 0.7535 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.8675, allocations: 34.56 kB / 0.7535 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 5.129e-06/0.8675, allocations: 0 / 0.7535 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0004419/0.8679, allocations: 129.6 kB / 0.7536 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.868, allocations: 55.39 kB / 0.7537 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.8682, allocations: 130.1 kB / 0.7538 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.8682, allocations: 25.7 kB / 0.7538 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.634e-05/0.8683, allocations: 104 kB / 0.7539 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.636e-05/0.8683, allocations: 23.56 kB / 0.754 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.572e-05/0.8684, allocations: 0 / 0.754 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.8685, allocations: 334.8 kB / 0.7543 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.8686, allocations: 35.98 kB / 0.7543 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.8688, allocations: 39.92 kB / 0.7543 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.8689, allocations: 35.98 kB / 0.7544 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.8689, allocations: 0 / 0.7544 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003534/0.8693, allocations: 129.4 kB / 0.7545 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.8693, allocations: 7.984 kB / 0.7545 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.8693, allocations: 0 / 0.7545 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.8694, allocations: 4.375 kB / 0.7545 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005041/0.8699, allocations: 47.95 kB / 0.7546 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.8699, allocations: 0 / 0.7546 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003296/0.8702, allocations: 27.97 kB / 0.7546 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.8703, allocations: 3.938 kB / 0.7546 GB, free: 14.63 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001089/0.8704, allocations: 112.9 kB / 0.7547 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003601/0.8708, allocations: 133.4 kB / 0.7548 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.954e-05/0.8708, allocations: 7.906 kB / 0.7548 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.204e-05/0.8709, allocations: 16.61 kB / 0.7549 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.8709, allocations: 0 / 0.7549 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.8709, allocations: 0 / 0.7549 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.8709, allocations: 0 / 0.7549 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003235/0.8713, allocations: 210 kB / 0.7551 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.8713, allocations: 0 / 0.7551 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004615/0.8718, allocations: 51.89 kB / 0.7551 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.8718, allocations: 0 / 0.7551 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/0.8718, allocations: 7.984 kB / 0.7551 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.8718, allocations: 0 / 0.7551 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.8718, allocations: 0 / 0.7551 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004052/0.8723, allocations: 223.3 kB / 0.7553 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.056e-05/0.8723, allocations: 96.84 kB / 0.7554 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.8724, allocations: 3.938 kB / 0.7554 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003752/0.8728, allocations: 31.97 kB / 0.7554 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.873, allocations: 27.95 kB / 0.7555 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.873, allocations: 4 kB / 0.7555 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001076/0.8731, allocations: 111.8 kB / 0.7556 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.31e-07/0.8731, allocations: 0 / 0.7556 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003602/0.8735, allocations: 20 kB / 0.7556 GB, free: 13.51 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0008121/0.8743, allocations: 0.7654 MB / 0.7564 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003252/0.8747, allocations: 99.91 kB / 0.7564 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.8747, allocations: 0 / 0.7564 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002371/0.8749, allocations: 59.97 kB / 0.7565 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.8752, allocations: 8 kB / 0.7565 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008061/0.8761, allocations: 217.5 kB / 0.7567 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.8764, allocations: 0.708 MB / 0.7574 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002105/0.8766, allocations: 24.41 kB / 0.7574 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.8768, allocations: 39.41 kB / 0.7575 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of SimCode: time 9.22e-07/0.8768, allocations: 0 / 0.7575 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03936/0.9162, allocations: 2.812 MB / 0.7602 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003014/0.9166, allocations: 156.4 kB / 0.7604 GB, free: 8.523 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.406/3.322, allocations: 0 / 0.7604 GB, free: 8.523 MB / 0.6355 GB