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.Continuous.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.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.052/4.052, allocations: 433.2 MB / 440.7 MB, free: 4.586 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.673e-05/3.678e-05, allocations: 9.219 kB / 0.5325 GB, free: 12.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2051, allocations: 98.75 MB / 0.6289 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.228/0.4331, allocations: 123.8 MB / 0.7498 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.4335, allocations: 75.95 kB / 0.7499 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009852/0.4434, allocations: 2.063 MB / 0.7519 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4434, allocations: 4 kB / 0.7519 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.4434, allocations: 0 / 0.7519 GB, free: 11.05 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001224/0.4447, allocations: 0.498 MB / 0.7524 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.4447, allocations: 8.031 kB / 0.7524 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.977e-05/0.4448, allocations: 19.77 kB / 0.7524 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.4451, allocations: 222.7 kB / 0.7526 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.4452, allocations: 4 kB / 0.7526 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.4452, allocations: 4 kB / 0.7526 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003653/0.4456, allocations: 115.9 kB / 0.7527 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.4459, allocations: 114.3 kB / 0.7528 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.4459, allocations: 3.984 kB / 0.7528 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.4459, allocations: 0 / 0.7528 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.446, allocations: 0 / 0.7528 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/0.4476, allocations: 0.5009 MB / 0.7533 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/0.4478, allocations: 94.48 kB / 0.7534 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.448, allocations: 60.77 kB / 0.7535 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.448, allocations: 0 / 0.7535 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.4481, allocations: 34.56 kB / 0.7535 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.854e-06/0.4481, allocations: 4 kB / 0.7535 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0004241/0.4485, allocations: 137.6 kB / 0.7536 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.4486, allocations: 51.41 kB / 0.7537 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.4488, allocations: 161.7 kB / 0.7538 GB, free: 8.855 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.4488, allocations: 25.7 kB / 0.7539 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.194e-05/0.4489, allocations: 120 kB / 0.754 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.548e-05/0.449, allocations: 31.55 kB / 0.754 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.677e-05/0.449, allocations: 4 kB / 0.754 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.4492, allocations: 330.7 kB / 0.7543 GB, free: 8.336 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.4493, allocations: 43.98 kB / 0.7544 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.4495, allocations: 39.98 kB / 0.7544 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.4496, allocations: 43.97 kB / 0.7545 GB, free: 8.211 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.4497, allocations: 0 / 0.7545 GB, free: 8.211 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000489/0.4502, allocations: 141.4 kB / 0.7546 GB, free: 8.066 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.4502, allocations: 8 kB / 0.7546 GB, free: 8.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.4502, allocations: 0 / 0.7546 GB, free: 8.059 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.4503, allocations: 4 kB / 0.7546 GB, free: 8.055 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006843/0.451, allocations: 60.25 kB / 0.7547 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.451, allocations: 0 / 0.7547 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005088/0.4515, allocations: 55.8 kB / 0.7547 GB, free: 7.941 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.4515, allocations: 0 / 0.7547 GB, free: 7.941 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001281/0.4517, allocations: 112.9 kB / 0.7548 GB, free: 7.824 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004882/0.4522, allocations: 137.5 kB / 0.7549 GB, free: 7.684 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-05/0.4523, allocations: 11.81 kB / 0.755 GB, free: 7.672 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.237e-05/0.4524, allocations: 25.84 kB / 0.755 GB, free: 7.645 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.4524, allocations: 4 kB / 0.755 GB, free: 7.641 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.4524, allocations: 0 / 0.755 GB, free: 7.641 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.4524, allocations: 3.953 kB / 0.755 GB, free: 7.637 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004645/0.4529, allocations: 210.1 kB / 0.7552 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.4529, allocations: 0 / 0.7552 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006204/0.4536, allocations: 63.94 kB / 0.7553 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.319e-06/0.4536, allocations: 0 / 0.7553 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.4536, allocations: 0 / 0.7553 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.4536, allocations: 0 / 0.7553 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4537, allocations: 0 / 0.7553 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005561/0.4542, allocations: 243.2 kB / 0.7555 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.7e-05/0.4543, allocations: 88.92 kB / 0.7556 GB, free: 6.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.311e-05/0.4544, allocations: 4 kB / 0.7556 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005741/0.455, allocations: 43.94 kB / 0.7556 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.4551, allocations: 11.98 kB / 0.7556 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.4551, allocations: 12 kB / 0.7556 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001742/0.4553, allocations: 128.3 kB / 0.7558 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.525e-06/0.4553, allocations: 4 kB / 0.7558 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005511/0.4559, allocations: 27.88 kB / 0.7558 GB, free: 6.746 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0009864/0.4569, allocations: 0.7787 MB / 0.7565 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004526/0.4574, allocations: 108 kB / 0.7567 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4574, allocations: 0 / 0.7567 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002381/0.4577, allocations: 55.92 kB / 0.7567 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004765/0.4581, allocations: 22.23 kB / 0.7567 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.4594, allocations: 254.9 kB / 0.757 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000484/0.4599, allocations: 0.7314 MB / 0.7577 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002186/0.4601, allocations: 24.39 kB / 0.7577 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.4603, allocations: 43.42 kB / 0.7577 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of SimCode: time 9.62e-07/0.4603, allocations: 0 / 0.7577 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09151/0.5518, allocations: 2.611 MB / 0.7603 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000232/0.5521, allocations: 147.8 kB / 0.7604 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.36/2.912, allocations: 0 / 0.7604 GB, free: 1.863 MB / 0.6355 GB