Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.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.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.224/4.224, allocations: 433.2 MB / 440.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.345e-05/2.354e-05, allocations: 4 kB / 0.5325 GB, free: 1.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6141/0.6141, allocations: 98.71 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.229/0.8432, allocations: 124.5 MB / 0.7505 GB, free: 3.023 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.8435, allocations: 67.97 kB / 0.7506 GB, free: 2.957 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.007157/0.8507, allocations: 1.653 MB / 0.7522 GB, free: 1.301 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8508, allocations: 0 / 0.7522 GB, free: 1.301 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.8508, allocations: 0 / 0.7522 GB, free: 1.301 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005695/0.8514, allocations: 382.2 kB / 0.7525 GB, free: 0.8828 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.8514, allocations: 16.02 kB / 0.7526 GB, free: 0.8672 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.301e-05/0.8515, allocations: 15.86 kB / 0.7526 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.8517, allocations: 190.8 kB / 0.7528 GB, free: 0.625 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.8518, allocations: 4 kB / 0.7528 GB, free: 0.6211 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.8518, allocations: 4 kB / 0.7528 GB, free: 0.6172 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002123/0.852, allocations: 59.97 kB / 0.7528 GB, free: 0.5586 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.8522, allocations: 85.58 kB / 0.7529 GB, free: 480 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.8523, allocations: 4 kB / 0.7529 GB, free: 476 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.8523, allocations: 0 / 0.7529 GB, free: 476 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.8523, allocations: 11.89 kB / 0.7529 GB, free: 464 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007574/0.8531, allocations: 357 kB / 0.7533 GB, free: 68 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.8532, allocations: 46.56 kB / 0.7533 GB, free: 12 kB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.8533, allocations: 32.98 kB / 0.7533 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.532e-05/0.8534, allocations: 11.98 kB / 0.7534 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.8534, allocations: 34.5 kB / 0.7534 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.844e-06/0.8534, allocations: 0 / 0.7534 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0003461/0.8538, allocations: 93.52 kB / 0.7535 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.8538, allocations: 51.41 kB / 0.7535 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.854, allocations: 118.4 kB / 0.7536 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.854, allocations: 29.7 kB / 0.7537 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.832e-05/0.8541, allocations: 104.2 kB / 0.7538 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.8542, allocations: 19.89 kB / 0.7538 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.867e-06/0.8542, allocations: 0 / 0.7538 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.8543, allocations: 314.8 kB / 0.7541 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.552e-05/0.8544, allocations: 23.98 kB / 0.7541 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.07e-05/0.8545, allocations: 24 kB / 0.7541 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.8546, allocations: 31.97 kB / 0.7542 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.8546, allocations: 0 / 0.7542 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002618/0.8549, allocations: 97.52 kB / 0.7543 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.8549, allocations: 13.98 kB / 0.7543 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.855, allocations: 0 / 0.7543 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.855, allocations: 0 / 0.7543 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.8553, allocations: 23.97 kB / 0.7543 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.8553, allocations: 3.984 kB / 0.7543 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.8554, allocations: 15.84 kB / 0.7543 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.8555, allocations: 7.984 kB / 0.7543 GB, free: 14.92 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 (6): * Single equations (assignments): 6 * 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 7.868e-05/0.8556, allocations: 105 kB / 0.7544 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002668/0.8558, allocations: 93.58 kB / 0.7545 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.8559, allocations: 11.86 kB / 0.7545 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003609/0.8563, allocations: 118.5 kB / 0.7546 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/0.8563, allocations: 4 kB / 0.7546 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.8563, allocations: 4.062 kB / 0.7546 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.8563, allocations: 0 / 0.7546 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.8566, allocations: 178.1 kB / 0.7548 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.8566, allocations: 4 kB / 0.7548 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.8568, allocations: 27.92 kB / 0.7548 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.8568, allocations: 3.984 kB / 0.7548 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.8569, allocations: 3.953 kB / 0.7548 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.8569, allocations: 4 kB / 0.7548 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.8569, allocations: 0 / 0.7548 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.8572, allocations: 191.4 kB / 0.755 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.031e-05/0.8573, allocations: 89.02 kB / 0.7551 GB, free: 14 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.8573, allocations: 0 / 0.7551 GB, free: 14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.8575, allocations: 15.94 kB / 0.7551 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.798e-05/0.8576, allocations: 4 kB / 0.7551 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.8576, allocations: 3.984 kB / 0.7551 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.379e-05/0.8577, allocations: 95.28 kB / 0.7552 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.71e-07/0.8577, allocations: 4 kB / 0.7552 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003352/0.858, allocations: 16 kB / 0.7552 GB, free: 13.87 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 (6): * Single equations (assignments): 6 * 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.0006469/0.8587, allocations: 0.7397 MB / 0.756 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002193/0.8589, allocations: 67.98 kB / 0.756 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.859, allocations: 0 / 0.756 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.8591, allocations: 35.98 kB / 0.7561 GB, free: 13 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.8593, allocations: 10.22 kB / 0.7561 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000674/0.86, allocations: 181.8 kB / 0.7563 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.8603, allocations: 0.7002 MB / 0.7569 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001213/0.8604, allocations: 20.33 kB / 0.757 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.51e-05/0.8605, allocations: 31.42 kB / 0.757 GB, free: 12 MB / 0.6355 GB Notification: Performance of SimCode: time 6.833e-06/0.8605, allocations: 0 / 0.757 GB, free: 12 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03482/0.8954, allocations: 1.365 MB / 0.7583 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002508/0.8957, allocations: 139.6 kB / 0.7585 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.18/3.076, allocations: 0 / 0.7585 GB, free: 10.46 MB / 0.6355 GB