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.01233/0.01234, allocations: 221.5 kB / 15.17 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.001205/0.001205, allocations: 176 kB / 16.06 MB, free: 5.875 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 4.121/4.121, allocations: 389 MB / 405.9 MB, free: 13.33 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.991/3.991, allocations: 472.3 MB / 0.9017 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000467/0.0004672, allocations: 12 kB / 1.008 GB, free: 21.46 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6004/0.6009, allocations: 98.71 MB / 1.104 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001683/0.6026, allocations: 1.238 MB / 1.105 GB, free: 9.402 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0005381/0.6032, allocations: 213.5 kB / 1.106 GB, free: 9.191 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.632e-05/0.6033, allocations: 0.6562 kB / 1.106 GB, free: 9.191 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 9.254e-05/0.6034, allocations: 3.938 kB / 1.106 GB, free: 9.188 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.6035, allocations: 16.45 kB / 1.106 GB, free: 9.172 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.6038, allocations: 45.38 kB / 1.106 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.6039, allocations: 103.8 kB / 1.106 GB, free: 9.027 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.6041, allocations: 40.3 kB / 1.106 GB, free: 8.988 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 7.591e-05/0.6042, allocations: 47.78 kB / 1.106 GB, free: 8.941 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.6043, allocations: 64.53 kB / 1.106 GB, free: 8.879 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.447e-05/0.6044, allocations: 8.594 kB / 1.106 GB, free: 8.871 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 2.877e-05/0.6044, allocations: 4 kB / 1.106 GB, free: 8.867 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.465e-05/0.6045, allocations: 29.28 kB / 1.106 GB, free: 8.84 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.378e-05/0.6045, allocations: 41.64 kB / 1.106 GB, free: 8.793 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.6046, allocations: 95.7 kB / 1.106 GB, free: 8.699 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.6047, allocations: 0 / 1.106 GB, free: 8.699 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6047, allocations: 1.406 kB / 1.106 GB, free: 8.699 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.437e-06/0.6047, allocations: 0 / 1.106 GB, free: 8.699 MB / 0.5105 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.001016/0.6057, allocations: 436.4 kB / 1.106 GB, free: 8.23 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.6058, allocations: 8.031 kB / 1.106 GB, free: 8.223 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.616e-05/0.6058, allocations: 42.55 kB / 1.106 GB, free: 8.172 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.104e-05/0.6059, allocations: 19.77 kB / 1.107 GB, free: 8.152 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.6061, allocations: 199.9 kB / 1.107 GB, free: 7.918 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.6062, allocations: 16.5 kB / 1.107 GB, free: 7.902 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.6062, allocations: 8.672 kB / 1.107 GB, free: 7.895 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006626/0.6069, allocations: 173.2 kB / 1.107 GB, free: 7.723 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.6069, allocations: 0 / 1.107 GB, free: 7.723 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.6069, allocations: 0 / 1.107 GB, free: 7.723 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.6069, allocations: 4.938 kB / 1.107 GB, free: 7.719 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009847/0.6079, allocations: 193.1 kB / 1.107 GB, free: 7.535 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008353/0.6088, allocations: 409.4 kB / 1.107 GB, free: 7.09 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.6103, allocations: 185.7 kB / 1.108 GB, free: 6.902 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005021/0.6108, allocations: 107.8 kB / 1.108 GB, free: 6.797 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.6109, allocations: 4.719 kB / 1.108 GB, free: 6.793 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.6109, allocations: 32.11 kB / 1.108 GB, free: 6.754 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 2.725e-06/0.6109, allocations: 0 / 1.108 GB, free: 6.754 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.001634/0.6125, allocations: 333.2 kB / 1.108 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.6126, allocations: 55.41 kB / 1.108 GB, free: 6.355 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.6128, allocations: 153.5 kB / 1.108 GB, free: 6.191 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.6128, allocations: 29.7 kB / 1.108 GB, free: 6.156 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.711e-05/0.6129, allocations: 104 kB / 1.108 GB, free: 6.051 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.223e-05/0.6129, allocations: 28.02 kB / 1.108 GB, free: 6.023 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.709e-05/0.6129, allocations: 4 kB / 1.108 GB, free: 6.02 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.049e-05/0.613, allocations: 322.8 kB / 1.109 GB, free: 5.695 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004858/0.6135, allocations: 87.92 kB / 1.109 GB, free: 5.609 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005137/0.614, allocations: 99.86 kB / 1.109 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004913/0.6145, allocations: 91.88 kB / 1.109 GB, free: 5.422 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.6145, allocations: 0 / 1.109 GB, free: 5.422 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.001087/0.6156, allocations: 237.3 kB / 1.109 GB, free: 5.184 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.6157, allocations: 8 kB / 1.109 GB, free: 5.176 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.6157, allocations: 0 / 1.109 GB, free: 5.176 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.6157, allocations: 7.891 kB / 1.109 GB, free: 5.168 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004612/0.6162, allocations: 43.95 kB / 1.109 GB, free: 5.125 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.6162, allocations: 3.938 kB / 1.109 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003156/0.6165, allocations: 31.97 kB / 1.109 GB, free: 5.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.6166, allocations: 4 kB / 1.109 GB, free: 5.086 MB / 0.5105 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.0001236/0.6167, allocations: 121.8 kB / 1.109 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.6168, allocations: 7.906 kB / 1.109 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/0.6168, allocations: 16.72 kB / 1.109 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.6168, allocations: 3.953 kB / 1.109 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6168, allocations: 0 / 1.109 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.6169, allocations: 11.98 kB / 1.11 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.6172, allocations: 237.4 kB / 1.11 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.6172, allocations: 4 kB / 1.11 GB, free: 4.629 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004249/0.6176, allocations: 47.89 kB / 1.11 GB, free: 4.582 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.6176, allocations: 0 / 1.11 GB, free: 4.582 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.6177, allocations: 7.984 kB / 1.11 GB, free: 4.574 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.6177, allocations: 3.984 kB / 1.11 GB, free: 4.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.6177, allocations: 7.953 kB / 1.11 GB, free: 4.562 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.6188, allocations: 335.5 kB / 1.11 GB, free: 4.219 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.84e-05/0.6189, allocations: 85.02 kB / 1.11 GB, free: 4.117 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.878e-05/0.6189, allocations: 4 kB / 1.11 GB, free: 4.113 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003544/0.6193, allocations: 27.97 kB / 1.11 GB, free: 4.086 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.6194, allocations: 31.95 kB / 1.11 GB, free: 4.055 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.6194, allocations: 7.953 kB / 1.11 GB, free: 4.047 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.687e-05/0.6195, allocations: 114.2 kB / 1.11 GB, free: 3.938 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.91e-07/0.6196, allocations: 0 / 1.11 GB, free: 3.938 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003445/0.6199, allocations: 31.91 kB / 1.11 GB, free: 3.906 MB / 0.5105 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.001331/0.6212, allocations: 0.8646 MB / 1.111 GB, free: 3.016 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001098/0.6224, allocations: 199.8 kB / 1.111 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6224, allocations: 4 kB / 1.111 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005537/0.623, allocations: 115.9 kB / 1.112 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.6234, allocations: 13.7 kB / 1.112 GB, free: 2.691 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002738/0.6261, allocations: 0.9278 MB / 1.112 GB, free: 1.719 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001753/0.6263, allocations: 0.709 MB / 1.113 GB, free: 0.9844 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000196/0.6266, allocations: 24.36 kB / 1.113 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.6267, allocations: 39.41 kB / 1.113 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of SimCode: time 1.052e-06/0.6267, allocations: 4 kB / 1.113 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02734/0.6541, allocations: 3.217 MB / 1.116 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003425/0.6545, allocations: 192 kB / 1.117 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.485/3.139, allocations: 0 / 1.117 GB, free: 13.57 MB / 0.5261 GB