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/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.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.323/4.323, allocations: 432.6 MB / 445.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.257e-05/3.261e-05, allocations: 4.562 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2485, allocations: 98.73 MB / 0.6347 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2711/0.5196, allocations: 125.2 MB / 0.757 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/0.5199, allocations: 71.95 kB / 0.757 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0098/0.5298, allocations: 1.659 MB / 0.7587 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5298, allocations: 0 / 0.7587 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.173e-05/0.5299, allocations: 4 kB / 0.7587 GB, free: 2.785 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009087/0.5308, allocations: 394.2 kB / 0.759 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001284/0.531, allocations: 8.031 kB / 0.759 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/0.5311, allocations: 38.56 kB / 0.7591 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.282e-05/0.5312, allocations: 11.86 kB / 0.7591 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004039/0.5316, allocations: 201.5 kB / 0.7593 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.5317, allocations: 4 kB / 0.7593 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.614e-05/0.5317, allocations: 8 kB / 0.7593 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003883/0.5321, allocations: 89.64 kB / 0.7594 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.5322, allocations: 0 / 0.7594 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.5322, allocations: 8 kB / 0.7594 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.5322, allocations: 4 kB / 0.7594 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003253/0.5326, allocations: 63.94 kB / 0.7595 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.534, allocations: 388.5 kB / 0.7598 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.5343, allocations: 48.42 kB / 0.7599 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.5345, allocations: 32.98 kB / 0.7599 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.015e-05/0.5346, allocations: 7.984 kB / 0.7599 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.5e-05/0.5347, allocations: 38.5 kB / 0.7599 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 4.829e-06/0.5347, allocations: 0 / 0.7599 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0006264/0.5354, allocations: 89.58 kB / 0.76 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/0.5355, allocations: 55.41 kB / 0.7601 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.5357, allocations: 117.2 kB / 0.7602 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.5358, allocations: 29.7 kB / 0.7602 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.5359, allocations: 108.3 kB / 0.7603 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.636e-05/0.536, allocations: 11.81 kB / 0.7603 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.526e-05/0.536, allocations: 0 / 0.7603 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.5362, allocations: 322.8 kB / 0.7606 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.5364, allocations: 23.98 kB / 0.7607 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.5365, allocations: 31.94 kB / 0.7607 GB, free: 492 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.5367, allocations: 23.98 kB / 0.7607 GB, free: 468 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.5367, allocations: 3.938 kB / 0.7607 GB, free: 464 kB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000583/0.5373, allocations: 105.7 kB / 0.7608 GB, free: 352 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/0.5374, allocations: 4 kB / 0.7608 GB, free: 348 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.5374, allocations: 64 / 0.7608 GB, free: 348 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/0.5375, allocations: 4 kB / 0.7608 GB, free: 344 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000435/0.5379, allocations: 19.98 kB / 0.7609 GB, free: 324 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.538, allocations: 0 / 0.7609 GB, free: 324 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002627/0.5383, allocations: 27.83 kB / 0.7609 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.427e-05/0.5383, allocations: 0 / 0.7609 GB, free: 296 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: 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 0.0001422/0.5385, allocations: 109 kB / 0.761 GB, free: 180 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.5386, allocations: 15.84 kB / 0.761 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006423/0.5393, allocations: 118.2 kB / 0.7611 GB, free: 36 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.5393, allocations: 0 / 0.7611 GB, free: 36 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.5393, allocations: 3.938 kB / 0.7611 GB, free: 32 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.5394, allocations: 4 kB / 0.7611 GB, free: 28 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005332/0.5399, allocations: 205.6 kB / 0.7613 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.54, allocations: 0 / 0.7613 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003207/0.5403, allocations: 23.97 kB / 0.7613 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.5403, allocations: 0 / 0.7613 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.5404, allocations: 7.953 kB / 0.7613 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.5404, allocations: 0 / 0.7613 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5404, allocations: 0 / 0.7613 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004399/0.5408, allocations: 199.4 kB / 0.7615 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-05/0.5409, allocations: 81.02 kB / 0.7616 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.294e-05/0.541, allocations: 4 kB / 0.7616 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.5412, allocations: 19.94 kB / 0.7616 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.85e-05/0.5413, allocations: 0 / 0.7616 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/0.5414, allocations: 8.109 kB / 0.7616 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001045/0.5415, allocations: 101.8 kB / 0.7617 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.91e-07/0.5415, allocations: 4 kB / 0.7617 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006303/0.5421, allocations: 19.92 kB / 0.7618 GB, free: 15.29 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: 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.0009696/0.5431, allocations: 0.7436 MB / 0.7625 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003676/0.5435, allocations: 71.92 kB / 0.7626 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.5435, allocations: 0 / 0.7626 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.5437, allocations: 47.92 kB / 0.7626 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.544, allocations: 3.953 kB / 0.7626 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.5451, allocations: 178.9 kB / 0.7628 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.5455, allocations: 0.7004 MB / 0.7635 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001166/0.5456, allocations: 15.97 kB / 0.7635 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.595e-05/0.5457, allocations: 31.42 kB / 0.7635 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of SimCode: time 9.41e-07/0.5457, allocations: 0 / 0.7635 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/0.5664, allocations: 1.692 MB / 0.7652 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00036/0.5668, allocations: 156.8 kB / 0.7653 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.481/3.048, allocations: 4.062 kB / 0.7653 GB, free: 11.56 MB / 0.6511 GB