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/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.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.521/4.521, allocations: 433.2 MB / 440.8 MB, free: 4.555 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.911e-05/2.904e-05, allocations: 2.5 kB / 0.5325 GB, free: 12.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2307, allocations: 98.73 MB / 0.6289 GB, free: 9.09 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.186/1.417, allocations: 364.2 MB / 0.9846 GB, free: 4.535 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/1.417, allocations: 66.28 kB / 0.9846 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0739/1.491, allocations: 18.91 MB / 1.003 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.673e-06/1.491, allocations: 0 / 1.003 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.307e-05/1.491, allocations: 4 kB / 1.003 GB, free: 5.457 MB / 0.7448 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.0008899/1.492, allocations: 467.7 kB / 1.004 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/1.492, allocations: 12.03 kB / 1.004 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002088/1.492, allocations: 31.75 kB / 1.004 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/1.493, allocations: 205.8 kB / 1.004 GB, free: 4.691 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/1.493, allocations: 4 kB / 1.004 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/1.493, allocations: 12 kB / 1.004 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007437/1.493, allocations: 411.6 kB / 1.004 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004079/1.494, allocations: 215.5 kB / 1.004 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/1.494, allocations: 0 / 1.004 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/1.494, allocations: 0 / 1.004 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.065e-05/1.494, allocations: 11.95 kB / 1.004 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/1.495, allocations: 0.9783 MB / 1.005 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004139/1.496, allocations: 149.9 kB / 1.006 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/1.496, allocations: 51.83 kB / 1.006 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00204/1.498, allocations: 1.909 MB / 1.007 GB, free: 0.7695 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/1.498, allocations: 38.48 kB / 1.007 GB, free: 0.7266 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 2.164e-06/1.498, allocations: 0 / 1.007 GB, free: 0.7266 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0007485/1.499, allocations: 135.2 kB / 1.008 GB, free: 0.6016 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/1.499, allocations: 51.41 kB / 1.008 GB, free: 0.5391 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/1.499, allocations: 130 kB / 1.008 GB, free: 416 kB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/1.499, allocations: 25.7 kB / 1.008 GB, free: 384 kB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/1.499, allocations: 150.5 kB / 1.008 GB, free: 240 kB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.191e-05/1.499, allocations: 50.64 kB / 1.008 GB, free: 196 kB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/1.499, allocations: 0 / 1.008 GB, free: 196 kB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001524/1.5, allocations: 322.7 kB / 1.008 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.487e-05/1.5, allocations: 31.05 kB / 1.008 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/1.5, allocations: 132.4 kB / 1.008 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005518/1.5, allocations: 82.5 kB / 1.009 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/1.5, allocations: 0 / 1.009 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008068/1.501, allocations: 203.5 kB / 1.009 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/1.501, allocations: 9.719 kB / 1.009 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/1.501, allocations: 7.953 kB / 1.009 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/1.501, allocations: 7.984 kB / 1.009 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003723/1.502, allocations: 60.33 kB / 1.009 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/1.502, allocations: 11.98 kB / 1.009 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/1.502, allocations: 23.69 kB / 1.009 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/1.502, allocations: 15.94 kB / 1.009 GB, free: 15.3 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.0001251/1.502, allocations: 104.9 kB / 1.009 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006577/1.503, allocations: 135.7 kB / 1.009 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.565e-05/1.503, allocations: 19.77 kB / 1.009 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007754/1.504, allocations: 168.6 kB / 1.009 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/1.504, allocations: 8 kB / 1.009 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.504, allocations: 0 / 1.009 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.504, allocations: 0 / 1.009 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003458/1.504, allocations: 187.7 kB / 1.009 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/1.504, allocations: 0 / 1.009 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/1.504, allocations: 27.98 kB / 1.009 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/1.504, allocations: 0 / 1.009 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/1.504, allocations: 15.25 kB / 1.01 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.054e-06/1.504, allocations: 0 / 1.01 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.504, allocations: 3.938 kB / 1.01 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006643/1.505, allocations: 232.5 kB / 1.01 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/1.505, allocations: 119.8 kB / 1.01 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/1.505, allocations: 0 / 1.01 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/1.506, allocations: 7.953 kB / 1.01 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/1.506, allocations: 10.92 kB / 1.01 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/1.506, allocations: 7.984 kB / 1.01 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001011/1.506, allocations: 103.1 kB / 1.01 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.11e-07/1.506, allocations: 4 kB / 1.01 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005923/1.506, allocations: 78.95 kB / 1.01 GB, free: 14.1 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.001274/1.508, allocations: 0.848 MB / 1.011 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000365/1.508, allocations: 99.42 kB / 1.011 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.508, allocations: 320 / 1.011 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 9.523e-05/1.508, allocations: 46.14 kB / 1.011 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004799/1.509, allocations: 34.2 kB / 1.011 GB, free: 13.1 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009771/1.51, allocations: 229.6 kB / 1.011 GB, free: 12.85 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/1.51, allocations: 0.7167 MB / 1.012 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002924/1.51, allocations: 41.7 kB / 1.012 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.621e-05/1.51, allocations: 42.42 kB / 1.012 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of SimCode: time 9.82e-07/1.51, allocations: 0 / 1.012 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04194/1.552, allocations: 3.926 MB / 1.016 GB, free: 8.145 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003181/1.553, allocations: 130.2 kB / 1.016 GB, free: 7.953 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.524/4.077, allocations: 0 / 1.016 GB, free: 7.953 MB / 0.7605 GB