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 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.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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01089/0.01089, allocations: 108.4 kB / 15.05 MB, free: 6 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: 183.8 kB / 15.95 MB, free: 5.941 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.866/1.866, 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.432/2.432, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006525/0.0006522, allocations: 12 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.695/0.6957, allocations: 98.71 MB / 0.6834 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2309/0.9267, allocations: 124.8 MB / 0.8053 GB, free: 1.371 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/0.927, allocations: 71.95 kB / 0.8054 GB, free: 1.301 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01034/0.9374, allocations: 2.044 MB / 0.8074 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.324e-06/0.9374, allocations: 0 / 0.8074 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.9375, allocations: 0 / 0.8074 GB, free: 15.25 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001113/0.9386, allocations: 454.8 kB / 0.8078 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.9386, allocations: 8.031 kB / 0.8078 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.07e-05/0.9387, allocations: 46.55 kB / 0.8079 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.286e-05/0.9388, allocations: 15.77 kB / 0.8079 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.9391, allocations: 207.4 kB / 0.8081 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.9391, allocations: 8 kB / 0.8081 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.672e-05/0.9392, allocations: 12 kB / 0.8081 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007412/0.9399, allocations: 165.5 kB / 0.8083 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.9399, allocations: 0 / 0.8083 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.205e-05/0.94, allocations: 4 kB / 0.8083 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.94, allocations: 8 kB / 0.8083 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.9411, allocations: 181.6 kB / 0.8085 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.9421, allocations: 416.5 kB / 0.8088 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/0.9437, allocations: 190.5 kB / 0.809 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.59e-05/0.9438, allocations: 4 kB / 0.809 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.9438, allocations: 34.59 kB / 0.8091 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 3.136e-06/0.9438, allocations: 0 / 0.8091 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.001837/0.9457, allocations: 325.7 kB / 0.8094 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.9457, allocations: 55.36 kB / 0.8094 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.946, allocations: 148.2 kB / 0.8096 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/0.946, allocations: 25.7 kB / 0.8096 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.9461, allocations: 116 kB / 0.8097 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.889e-05/0.9462, allocations: 19.72 kB / 0.8097 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.899e-05/0.9462, allocations: 0 / 0.8097 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.9464, allocations: 318.8 kB / 0.81 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005381/0.9469, allocations: 95.92 kB / 0.8101 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005276/0.9475, allocations: 91.86 kB / 0.8102 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005776/0.9481, allocations: 96.48 kB / 0.8103 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.9481, allocations: 0 / 0.8103 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.001506/0.9496, allocations: 237.2 kB / 0.8105 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.9497, allocations: 9.406 kB / 0.8105 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.9497, allocations: 0 / 0.8105 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.9497, allocations: 4 kB / 0.8105 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006268/0.9503, allocations: 39.95 kB / 0.8106 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.9504, allocations: 4 kB / 0.8106 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004548/0.9508, allocations: 39.86 kB / 0.8106 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.805e-05/0.9509, allocations: 7.984 kB / 0.8106 GB, free: 11.71 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 () * Number of clocked 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.0002182/0.9511, allocations: 132.3 kB / 0.8108 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.397e-05/0.9512, allocations: 7.906 kB / 0.8108 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.971e-05/0.9513, allocations: 20.7 kB / 0.8108 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.9513, allocations: 0 / 0.8108 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.9514, allocations: 4 kB / 0.8108 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.9514, allocations: 3.938 kB / 0.8108 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005264/0.9519, allocations: 233.4 kB / 0.811 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.9519, allocations: 0 / 0.811 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006064/0.9526, allocations: 47.94 kB / 0.8111 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.9526, allocations: 0 / 0.8111 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/0.9526, allocations: 4 kB / 0.8111 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.9526, allocations: 4 kB / 0.8111 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.9527, allocations: 0 / 0.8111 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.9543, allocations: 331.2 kB / 0.8114 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-05/0.9544, allocations: 85.02 kB / 0.8115 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.024e-05/0.9545, allocations: 8 kB / 0.8115 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005/0.955, allocations: 27.97 kB / 0.8115 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001984/0.9552, allocations: 31.95 kB / 0.8115 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/0.9553, allocations: 4 kB / 0.8115 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001649/0.9554, allocations: 113.5 kB / 0.8116 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.5e-07/0.9555, allocations: 192 / 0.8116 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006185/0.9561, allocations: 31.91 kB / 0.8117 GB, free: 10.54 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 () * Number of clocked 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.002117/0.9582, allocations: 0.8878 MB / 0.8125 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001455/0.9597, allocations: 199.8 kB / 0.8127 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.9597, allocations: 0 / 0.8127 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008154/0.9606, allocations: 115.8 kB / 0.8128 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.961, allocations: 19.98 kB / 0.8129 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004365/0.9654, allocations: 0.9119 MB / 0.8137 GB, free: 8.344 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004767/0.9659, allocations: 0.7082 MB / 0.8144 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003318/0.9663, allocations: 24.42 kB / 0.8145 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002558/0.9665, allocations: 39.41 kB / 0.8145 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of SimCode: time 1.543e-06/0.9665, allocations: 4 kB / 0.8145 GB, free: 7.543 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07139/1.038, allocations: 3.207 MB / 0.8176 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000308/1.038, allocations: 186.5 kB / 0.8178 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.533/3.571, allocations: 0 / 0.8178 GB, free: 4.219 MB / 0.6355 GB