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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.032/4.032, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.318e-05/3.34e-05, allocations: 3.5 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2082, allocations: 98.73 MB / 0.6347 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2263/0.4346, allocations: 124.7 MB / 0.7565 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/0.4349, allocations: 71.89 kB / 0.7566 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01034/0.4453, allocations: 2.041 MB / 0.7586 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4453, allocations: 0 / 0.7586 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.4453, allocations: 0 / 0.7586 GB, free: 2.91 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.001003/0.4464, allocations: 438.3 kB / 0.759 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.4464, allocations: 8.031 kB / 0.759 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.38e-05/0.4465, allocations: 42.56 kB / 0.7591 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.939e-05/0.4466, allocations: 19.77 kB / 0.7591 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.4469, allocations: 200.7 kB / 0.7593 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.4469, allocations: 8 kB / 0.7593 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.205e-05/0.4469, allocations: 4 kB / 0.7593 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003464/0.4473, allocations: 127.6 kB / 0.7594 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.4473, allocations: 0 / 0.7594 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.4474, allocations: 0 / 0.7594 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.4474, allocations: 0 / 0.7594 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002974/0.4477, allocations: 83.97 kB / 0.7595 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.4487, allocations: 416.5 kB / 0.7599 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.4498, allocations: 130.7 kB / 0.76 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.45, allocations: 53.05 kB / 0.7601 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.703e-05/0.4501, allocations: 7.938 kB / 0.7601 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.4501, allocations: 34.56 kB / 0.7601 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 5.39e-06/0.4501, allocations: 3.984 kB / 0.7601 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0004867/0.4506, allocations: 133.5 kB / 0.7602 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.4507, allocations: 55.41 kB / 0.7603 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.4509, allocations: 131.8 kB / 0.7604 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.4509, allocations: 29.7 kB / 0.7604 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.954e-05/0.451, allocations: 111.9 kB / 0.7605 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5e-05/0.4511, allocations: 27.61 kB / 0.7606 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.514e-05/0.4511, allocations: 0 / 0.7606 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.4512, allocations: 326.8 kB / 0.7609 GB, free: 356 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.4514, allocations: 35.98 kB / 0.7609 GB, free: 320 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.4515, allocations: 40 kB / 0.7609 GB, free: 280 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.4517, allocations: 39.97 kB / 0.761 GB, free: 240 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4517, allocations: 0 / 0.761 GB, free: 240 kB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003931/0.4521, allocations: 129.5 kB / 0.7611 GB, free: 104 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4521, allocations: 4.375 kB / 0.7611 GB, free: 100 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.4521, allocations: 0 / 0.7611 GB, free: 100 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.4522, allocations: 0 / 0.7611 GB, free: 100 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005134/0.4527, allocations: 47.95 kB / 0.7612 GB, free: 52 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.4527, allocations: 11.83 kB / 0.7612 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/0.453, allocations: 27.97 kB / 0.7612 GB, free: 12 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.4531, allocations: 3.984 kB / 0.7612 GB, free: 8 kB / 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.0001289/0.4532, allocations: 113 kB / 0.7613 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.578e-05/0.4533, allocations: 11.81 kB / 0.7613 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.481e-05/0.4534, allocations: 20.56 kB / 0.7613 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.4534, allocations: 0 / 0.7613 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.4534, allocations: 0 / 0.7613 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.4534, allocations: 11.94 kB / 0.7614 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003574/0.4538, allocations: 233.5 kB / 0.7616 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4538, allocations: 0 / 0.7616 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004457/0.4542, allocations: 47.95 kB / 0.7616 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.4543, allocations: 0 / 0.7616 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/0.4543, allocations: 7.984 kB / 0.7616 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.4543, allocations: 0 / 0.7616 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.768e-06/0.4543, allocations: 4 kB / 0.7616 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004479/0.4548, allocations: 231.3 kB / 0.7619 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.413e-05/0.4549, allocations: 85.02 kB / 0.7619 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.4549, allocations: 3.984 kB / 0.7619 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003712/0.4553, allocations: 31.97 kB / 0.762 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.4554, allocations: 27.91 kB / 0.762 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.4555, allocations: 7.984 kB / 0.762 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001077/0.4556, allocations: 118.5 kB / 0.7621 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/0.4556, allocations: 0 / 0.7621 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003357/0.456, allocations: 27.91 kB / 0.7621 GB, free: 14.95 MB / 0.6511 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.0008108/0.4568, allocations: 0.7748 MB / 0.7629 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003643/0.4572, allocations: 104 kB / 0.763 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.4572, allocations: 0 / 0.763 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.4574, allocations: 71.84 kB / 0.7631 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.4577, allocations: 11.94 kB / 0.7631 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007998/0.4585, allocations: 206.8 kB / 0.7633 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.4588, allocations: 0.7121 MB / 0.764 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001965/0.459, allocations: 20.42 kB / 0.764 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.4592, allocations: 43.41 kB / 0.764 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of SimCode: time 9.12e-07/0.4592, allocations: 0 / 0.764 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.4828, allocations: 3.214 MB / 0.7672 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003279/0.4832, allocations: 162 kB / 0.7673 GB, free: 9.566 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.383/2.866, allocations: 0 / 0.7673 GB, free: 9.566 MB / 0.6511 GB