Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Sensors.Examples.Velocity.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.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.339/4.339, allocations: 433.2 MB / 440.7 MB, free: 4.543 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.71e-05/3.743e-05, allocations: 7.375 kB / 0.5325 GB, free: 12.74 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2391, allocations: 98.74 MB / 0.6289 GB, free: 9.059 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.139/7.378, allocations: 2.175 GB / 2.804 GB, free: 160.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/7.379, allocations: 85.17 kB / 2.804 GB, free: 160.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.378/8.757, allocations: 232.5 MB / 3.031 GB, free: 246.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.084e-06/8.757, allocations: 0 / 3.031 GB, free: 246.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.72e-05/8.757, allocations: 14.06 kB / 3.031 GB, free: 246.2 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001418/8.758, allocations: 0.6496 MB / 3.032 GB, free: 245.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/8.759, allocations: 7.906 kB / 3.032 GB, free: 245.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001778/8.76, allocations: 152.2 kB / 3.032 GB, free: 245.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007634/8.761, allocations: 317.7 kB / 3.032 GB, free: 245.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/8.761, allocations: 12.95 kB / 3.032 GB, free: 245.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.707e-05/8.761, allocations: 20.44 kB / 3.032 GB, free: 245.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004384/8.762, allocations: 150.5 kB / 3.032 GB, free: 245.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000451/8.762, allocations: 229.8 kB / 3.032 GB, free: 245.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/8.762, allocations: 5.156 kB / 3.032 GB, free: 245.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/8.762, allocations: 0 / 3.032 GB, free: 245.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/8.762, allocations: 3.906 kB / 3.032 GB, free: 245.4 MB / 0.823 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001743/8.764, allocations: 0.9874 MB / 3.033 GB, free: 244.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/8.764, allocations: 122.8 kB / 3.034 GB, free: 244.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/8.764, allocations: 64.53 kB / 3.034 GB, free: 244.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006697/8.765, allocations: 301.1 kB / 3.034 GB, free: 244.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/8.765, allocations: 35.72 kB / 3.034 GB, free: 244.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=17): time 3.467e-06/8.765, allocations: 3.375 kB / 3.034 GB, free: 244.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=17): time 0.0009617/8.766, allocations: 207.6 kB / 3.034 GB, free: 244.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/8.766, allocations: 61.22 kB / 3.034 GB, free: 244.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002749/8.766, allocations: 215.3 kB / 3.034 GB, free: 244.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/8.767, allocations: 25.7 kB / 3.034 GB, free: 244.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/8.767, allocations: 193 kB / 3.035 GB, free: 244.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 5.415e-05/8.767, allocations: 53.95 kB / 3.035 GB, free: 244.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.314e-05/8.767, allocations: 0 / 3.035 GB, free: 244.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.188e-05/8.767, allocations: 338.3 kB / 3.035 GB, free: 243.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/8.767, allocations: 46.88 kB / 3.035 GB, free: 243.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/8.767, allocations: 111.3 kB / 3.035 GB, free: 243.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004311/8.768, allocations: 89.53 kB / 3.035 GB, free: 243.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/8.768, allocations: 3.562 kB / 3.035 GB, free: 243.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006723/8.768, allocations: 228.5 kB / 3.035 GB, free: 243.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/8.768, allocations: 7.594 kB / 3.035 GB, free: 243.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/8.768, allocations: 0 / 3.035 GB, free: 243.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/8.768, allocations: 7.375 kB / 3.035 GB, free: 243.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003933/8.769, allocations: 43.69 kB / 3.036 GB, free: 243.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/8.769, allocations: 7.953 kB / 3.036 GB, free: 243.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003839/8.769, allocations: 32.92 kB / 3.036 GB, free: 243.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.602e-05/8.769, allocations: 10.91 kB / 3.036 GB, free: 243.6 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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 9.863e-05/8.769, allocations: 114.1 kB / 3.036 GB, free: 243.5 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005665/8.77, allocations: 180.8 kB / 3.036 GB, free: 243.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.917e-05/8.77, allocations: 26.44 kB / 3.036 GB, free: 243.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006404/8.771, allocations: 208.4 kB / 3.036 GB, free: 243.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/8.771, allocations: 0 / 3.036 GB, free: 243.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/8.771, allocations: 0 / 3.036 GB, free: 243.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/8.771, allocations: 6.766 kB / 3.036 GB, free: 243.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/8.772, allocations: 0.6385 MB / 3.037 GB, free: 243.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/8.772, allocations: 0 / 3.037 GB, free: 243.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003278/8.773, allocations: 36.3 kB / 3.037 GB, free: 243.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.968e-06/8.773, allocations: 10.86 kB / 3.037 GB, free: 243.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/8.773, allocations: 3.969 kB / 3.037 GB, free: 243.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/8.773, allocations: 3.422 kB / 3.037 GB, free: 243.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/8.773, allocations: 5.781 kB / 3.037 GB, free: 243.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008294/8.773, allocations: 489.7 kB / 3.037 GB, free: 242.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/8.774, allocations: 120.4 kB / 3.037 GB, free: 242.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.486e-05/8.774, allocations: 0 / 3.037 GB, free: 242.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003198/8.774, allocations: 18.48 kB / 3.037 GB, free: 242.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.389e-05/8.774, allocations: 16.56 kB / 3.037 GB, free: 242.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/8.774, allocations: 10.62 kB / 3.037 GB, free: 242.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001962/8.774, allocations: 164.5 kB / 3.038 GB, free: 242.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.41e-07/8.774, allocations: 2.75 kB / 3.038 GB, free: 242.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0008074/8.775, allocations: 147.8 kB / 3.038 GB, free: 242.6 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.00302/8.778, allocations: 2.567 MB / 3.04 GB, free: 241.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004539/8.779, allocations: 136.1 kB / 3.04 GB, free: 241.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/8.779, allocations: 0 / 3.04 GB, free: 241.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001687/8.779, allocations: 72.94 kB / 3.04 GB, free: 241.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/8.78, allocations: 112.3 kB / 3.04 GB, free: 241.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/8.782, allocations: 0.4978 MB / 3.041 GB, free: 240.8 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/8.782, allocations: 0.7923 MB / 3.042 GB, free: 240.1 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0003499/8.782, allocations: 50.55 kB / 3.042 GB, free: 240.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/8.782, allocations: 88.08 kB / 3.042 GB, free: 240.1 MB / 0.823 GB Notification: Performance of SimCode: time 1.122e-06/8.782, allocations: 4 kB / 3.042 GB, free: 240.1 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07749/8.86, allocations: 14.42 MB / 3.056 GB, free: 237 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002478/8.86, allocations: 168.5 kB / 3.056 GB, free: 236.8 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.304/12.16, allocations: 0 / 3.056 GB, free: 236.8 MB / 0.823 GB