Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Examples.WaterProperties.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.Media.Examples.WaterProperties,fileNamePrefix="Buildings_6_0_0_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.281/4.281, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.662e-05/4.699e-05, allocations: 3.094 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2487, allocations: 98.73 MB / 0.6347 GB, free: 1.922 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.266/1.515, allocations: 364.9 MB / 0.9911 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/1.515, allocations: 63.84 kB / 0.9911 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.07645/1.591, allocations: 19.02 MB / 1.01 GB, free: 9.719 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.543e-06/1.591, allocations: 0 / 1.01 GB, free: 9.719 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.333e-05/1.591, allocations: 4 kB / 1.01 GB, free: 9.715 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.00092/1.592, allocations: 472.4 kB / 1.01 GB, free: 9.219 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.064e-05/1.592, allocations: 8.031 kB / 1.01 GB, free: 9.211 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.31e-05/1.592, allocations: 48.36 kB / 1.01 GB, free: 9.164 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002007/1.593, allocations: 23.77 kB / 1.01 GB, free: 9.141 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/1.593, allocations: 208.5 kB / 1.01 GB, free: 8.906 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/1.593, allocations: 11.58 kB / 1.01 GB, free: 8.898 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.827e-05/1.593, allocations: 19.94 kB / 1.01 GB, free: 8.883 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005649/1.594, allocations: 235.8 kB / 1.011 GB, free: 8.688 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/1.594, allocations: 0 / 1.011 GB, free: 8.688 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.732e-05/1.594, allocations: 15.05 kB / 1.011 GB, free: 8.68 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.102e-05/1.594, allocations: 4 kB / 1.011 GB, free: 8.676 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008187/1.595, allocations: 432.5 kB / 1.011 GB, free: 8.32 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/1.596, allocations: 1.031 MB / 1.012 GB, free: 7.289 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004998/1.597, allocations: 158.6 kB / 1.012 GB, free: 7.152 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/1.597, allocations: 62.8 kB / 1.012 GB, free: 7.105 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002389/1.599, allocations: 1.926 MB / 1.014 GB, free: 4.867 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.438e-05/1.6, allocations: 37.94 kB / 1.014 GB, free: 4.824 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=15): time 2.755e-06/1.6, allocations: 0 / 1.014 GB, free: 4.824 MB / 0.7605 GB Notification: Performance of matching and sorting (n=15): time 0.0004425/1.6, allocations: 116.9 kB / 1.014 GB, free: 4.719 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/1.6, allocations: 59.34 kB / 1.014 GB, free: 4.648 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/1.6, allocations: 154.5 kB / 1.015 GB, free: 4.504 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.843e-05/1.6, allocations: 29.7 kB / 1.015 GB, free: 4.469 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/1.6, allocations: 138.2 kB / 1.015 GB, free: 4.34 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.004e-05/1.601, allocations: 53.62 kB / 1.015 GB, free: 4.297 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.666e-05/1.601, allocations: 7.375 kB / 1.015 GB, free: 4.293 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001555/1.601, allocations: 322.5 kB / 1.015 GB, free: 3.973 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/1.601, allocations: 33.42 kB / 1.015 GB, free: 3.949 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/1.601, allocations: 139.9 kB / 1.015 GB, free: 3.777 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/1.601, allocations: 62.16 kB / 1.015 GB, free: 3.723 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/1.601, allocations: 4 kB / 1.015 GB, free: 3.719 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005362/1.602, allocations: 203.9 kB / 1.016 GB, free: 3.539 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/1.602, allocations: 8.422 kB / 1.016 GB, free: 3.531 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/1.602, allocations: 8 kB / 1.016 GB, free: 3.523 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.996e-05/1.602, allocations: 11.94 kB / 1.016 GB, free: 3.512 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004198/1.602, allocations: 59.53 kB / 1.016 GB, free: 3.457 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/1.602, allocations: 4 kB / 1.016 GB, free: 3.453 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/1.603, allocations: 31.38 kB / 1.016 GB, free: 3.426 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/1.603, allocations: 12 kB / 1.016 GB, free: 3.414 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001314/1.603, allocations: 120.2 kB / 1.016 GB, free: 3.297 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.111e-05/1.603, allocations: 11.91 kB / 1.016 GB, free: 3.285 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005334/1.603, allocations: 172 kB / 1.016 GB, free: 3.137 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-05/1.603, allocations: 4 kB / 1.016 GB, free: 3.133 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.603, allocations: 0 / 1.016 GB, free: 3.133 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/1.603, allocations: 0 / 1.016 GB, free: 3.133 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003991/1.604, allocations: 218.6 kB / 1.016 GB, free: 2.891 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/1.604, allocations: 0 / 1.016 GB, free: 2.891 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/1.604, allocations: 31.97 kB / 1.016 GB, free: 2.859 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/1.604, allocations: 0 / 1.016 GB, free: 2.859 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/1.604, allocations: 4 kB / 1.016 GB, free: 2.855 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/1.604, allocations: 3.953 kB / 1.016 GB, free: 2.852 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.604, allocations: 4 kB / 1.016 GB, free: 2.848 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004075/1.605, allocations: 217.1 kB / 1.016 GB, free: 2.637 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/1.605, allocations: 119.4 kB / 1.017 GB, free: 2.512 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-05/1.605, allocations: 0 / 1.017 GB, free: 2.512 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002847/1.605, allocations: 11.8 kB / 1.017 GB, free: 2.504 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/1.605, allocations: 11.94 kB / 1.017 GB, free: 2.492 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.258e-05/1.605, allocations: 15.31 kB / 1.017 GB, free: 2.48 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001385/1.605, allocations: 114.9 kB / 1.017 GB, free: 2.379 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.71e-07/1.605, allocations: 0 / 1.017 GB, free: 2.379 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006171/1.606, allocations: 82.23 kB / 1.017 GB, free: 2.309 MB / 0.7605 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.001164/1.607, allocations: 0.8347 MB / 1.018 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004118/1.608, allocations: 114 kB / 1.018 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/1.608, allocations: 0 / 1.018 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/1.608, allocations: 47.42 kB / 1.018 GB, free: 1.332 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006196/1.608, allocations: 60.28 kB / 1.018 GB, free: 1.281 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/1.61, allocations: 231.1 kB / 1.018 GB, free: 1.043 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/1.61, allocations: 0.717 MB / 1.019 GB, free: 300 kB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003112/1.61, allocations: 41.94 kB / 1.019 GB, free: 260 kB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/1.61, allocations: 46.34 kB / 1.019 GB, free: 232 kB / 0.7605 GB Notification: Performance of SimCode: time 1.283e-06/1.61, allocations: 0 / 1.019 GB, free: 232 kB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02891/1.639, allocations: 4.89 MB / 1.024 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003509/1.64, allocations: 141.4 kB / 1.024 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.482/4.122, allocations: 64 / 1.024 GB, free: 11.22 MB / 0.7761 GB