Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01451/0.01452, allocations: 88.36 kB / 15.04 MB, free: 6.059 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001741/0.001741, allocations: 170.1 kB / 15.92 MB, free: 5.996 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.098/2.098, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.327/2.327, allocations: 252.8 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005076/0.000508, allocations: 13.95 kB / 0.6243 GB, free: 28.36 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2211, allocations: 106.2 MB / 0.7281 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002129/0.2233, allocations: 1.252 MB / 0.7293 GB, free: 8.879 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0006241/0.224, allocations: 213 kB / 0.7295 GB, free: 8.668 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.589e-05/0.2241, allocations: 0 / 0.7295 GB, free: 8.668 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 8.945e-05/0.2242, allocations: 3.938 kB / 0.7295 GB, free: 8.664 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.2243, allocations: 19.91 kB / 0.7295 GB, free: 8.645 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.2245, allocations: 43.88 kB / 0.7296 GB, free: 8.602 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.2247, allocations: 71.8 kB / 0.7296 GB, free: 8.531 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.2249, allocations: 45.25 kB / 0.7297 GB, free: 8.48 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 9.519e-05/0.225, allocations: 43.84 kB / 0.7297 GB, free: 8.438 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.2251, allocations: 59.8 kB / 0.7298 GB, free: 8.379 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.737e-05/0.2252, allocations: 8 kB / 0.7298 GB, free: 8.371 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 2.899e-05/0.2252, allocations: 7.938 kB / 0.7298 GB, free: 8.363 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 5.218e-05/0.2253, allocations: 27.89 kB / 0.7298 GB, free: 8.336 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.091e-05/0.2254, allocations: 45.64 kB / 0.7299 GB, free: 8.285 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.2255, allocations: 91.77 kB / 0.73 GB, free: 8.195 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2255, allocations: 3.938 kB / 0.73 GB, free: 8.191 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2256, allocations: 0 / 0.73 GB, free: 8.191 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.2256, allocations: 0 / 0.73 GB, free: 8.191 MB / 0.5573 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.001133/0.2267, allocations: 443.1 kB / 0.7304 GB, free: 7.711 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.2268, allocations: 8.031 kB / 0.7304 GB, free: 7.703 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.747e-05/0.2269, allocations: 42.55 kB / 0.7304 GB, free: 7.652 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.625e-05/0.2269, allocations: 15.77 kB / 0.7304 GB, free: 7.637 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.2272, allocations: 199.4 kB / 0.7306 GB, free: 7.402 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.2272, allocations: 8 kB / 0.7306 GB, free: 7.395 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/0.2273, allocations: 8 kB / 0.7306 GB, free: 7.387 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000723/0.228, allocations: 175.7 kB / 0.7308 GB, free: 7.211 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.228, allocations: 0 / 0.7308 GB, free: 7.211 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.2281, allocations: 4 kB / 0.7308 GB, free: 7.207 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.2281, allocations: 4 kB / 0.7308 GB, free: 7.203 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.2292, allocations: 187.8 kB / 0.731 GB, free: 7.02 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009939/0.2302, allocations: 416.5 kB / 0.7314 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.2318, allocations: 194.5 kB / 0.7316 GB, free: 6.363 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.2319, allocations: 8.016 kB / 0.7316 GB, free: 6.355 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.2319, allocations: 30.56 kB / 0.7316 GB, free: 6.316 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=10): time 2.996e-06/0.2319, allocations: 0 / 0.7316 GB, free: 6.316 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10): time 0.001791/0.2337, allocations: 333.7 kB / 0.7319 GB, free: 5.984 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.2338, allocations: 51.41 kB / 0.732 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.234, allocations: 153.1 kB / 0.7321 GB, free: 5.758 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.234, allocations: 25.7 kB / 0.7322 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.62e-05/0.2341, allocations: 108 kB / 0.7323 GB, free: 5.617 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.247e-05/0.2342, allocations: 27.64 kB / 0.7323 GB, free: 5.59 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.617e-05/0.2342, allocations: 3.938 kB / 0.7323 GB, free: 5.586 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.2343, allocations: 318.8 kB / 0.7326 GB, free: 5.266 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005449/0.2349, allocations: 91.92 kB / 0.7327 GB, free: 5.176 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005369/0.2355, allocations: 87.92 kB / 0.7328 GB, free: 5.09 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005323/0.236, allocations: 100.4 kB / 0.7329 GB, free: 4.992 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.236, allocations: 0 / 0.7329 GB, free: 4.992 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.001175/0.2372, allocations: 241.3 kB / 0.7331 GB, free: 4.75 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.2372, allocations: 4 kB / 0.7331 GB, free: 4.746 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.2373, allocations: 4 kB / 0.7331 GB, free: 4.742 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.2373, allocations: 3.953 kB / 0.7331 GB, free: 4.738 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004812/0.2378, allocations: 43.89 kB / 0.7331 GB, free: 4.695 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.2378, allocations: 4 kB / 0.7331 GB, free: 4.691 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003282/0.2381, allocations: 31.97 kB / 0.7332 GB, free: 4.66 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.2382, allocations: 4 kB / 0.7332 GB, free: 4.656 MB / 0.5573 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.0001566/0.2383, allocations: 125.8 kB / 0.7333 GB, free: 4.523 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.239e-05/0.2384, allocations: 7.906 kB / 0.7333 GB, free: 4.516 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.898e-05/0.2385, allocations: 16.72 kB / 0.7333 GB, free: 4.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.2385, allocations: 0 / 0.7333 GB, free: 4.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.2385, allocations: 7.953 kB / 0.7333 GB, free: 4.492 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2385, allocations: 0 / 0.7333 GB, free: 4.492 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003877/0.2389, allocations: 245.4 kB / 0.7336 GB, free: 4.203 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2389, allocations: 0 / 0.7336 GB, free: 4.203 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004478/0.2394, allocations: 47.89 kB / 0.7336 GB, free: 4.156 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.2394, allocations: 0 / 0.7336 GB, free: 4.156 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/0.2394, allocations: 4 kB / 0.7336 GB, free: 4.152 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.2394, allocations: 4 kB / 0.7336 GB, free: 4.148 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2394, allocations: 0 / 0.7336 GB, free: 4.148 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.2407, allocations: 331.2 kB / 0.7339 GB, free: 3.809 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.009e-05/0.2407, allocations: 89 kB / 0.734 GB, free: 3.703 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.2408, allocations: 8 kB / 0.734 GB, free: 3.695 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003645/0.2412, allocations: 27.97 kB / 0.7341 GB, free: 3.668 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.2413, allocations: 27.97 kB / 0.7341 GB, free: 3.641 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.2414, allocations: 7.984 kB / 0.7341 GB, free: 3.633 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001155/0.2415, allocations: 118.8 kB / 0.7342 GB, free: 3.52 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2415, allocations: 192 / 0.7342 GB, free: 3.52 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003599/0.2419, allocations: 31.84 kB / 0.7342 GB, free: 3.488 MB / 0.5573 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.00158/0.2435, allocations: 0.8801 MB / 0.7351 GB, free: 2.582 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001169/0.2447, allocations: 199.8 kB / 0.7353 GB, free: 2.387 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.2447, allocations: 0 / 0.7353 GB, free: 2.387 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006065/0.2453, allocations: 119.8 kB / 0.7354 GB, free: 2.27 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.2456, allocations: 11.98 kB / 0.7354 GB, free: 2.258 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003104/0.2487, allocations: 0.9129 MB / 0.7363 GB, free: 1.293 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.2491, allocations: 0.7082 MB / 0.737 GB, free: 0.5586 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002124/0.2493, allocations: 24.41 kB / 0.737 GB, free: 0.5352 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.2495, allocations: 47.41 kB / 0.7371 GB, free: 500 kB / 0.5573 GB Notification: Performance of SimCode: time 1.102e-06/0.2495, allocations: 0 / 0.7371 GB, free: 500 kB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02937/0.2789, allocations: 3.197 MB / 0.7402 GB, free: 13.4 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002485/0.2792, allocations: 183.7 kB / 0.7404 GB, free: 13.17 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.398/2.677, allocations: 3.938 kB / 0.7404 GB, free: 13.16 MB / 0.573 GB