Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Examples.WaterDerivativeCheck.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_6_0_0_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01592/0.01592, allocations: 106.6 kB / 15.05 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001761/0.00176, allocations: 186.4 kB / 15.94 MB, free: 5.895 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.275/2.275, allocations: 194.6 MB / 211.3 MB, free: 11.03 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.419/2.419, allocations: 236.1 MB / 492.6 MB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00052/0.0005201, allocations: 16 kB / 0.587 GB, free: 2.094 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7329/0.7335, allocations: 98.72 MB / 0.6834 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.227/1.96, allocations: 351.6 MB / 1.027 GB, free: 96.11 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/1.961, allocations: 68.91 kB / 1.027 GB, free: 96.07 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04082/2.001, allocations: 12.58 MB / 1.039 GB, free: 86.18 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.525e-06/2.001, allocations: 4 kB / 1.039 GB, free: 86.17 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.784e-06/2.001, allocations: 3.75 kB / 1.039 GB, free: 86.17 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003601/2.002, allocations: 347.1 kB / 1.039 GB, free: 85.79 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/2.002, allocations: 8.031 kB / 1.039 GB, free: 85.78 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.971e-05/2.002, allocations: 34.55 kB / 1.04 GB, free: 85.74 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/2.002, allocations: 7.953 kB / 1.04 GB, free: 85.73 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.229e-05/2.002, allocations: 171 kB / 1.04 GB, free: 85.52 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/2.002, allocations: 3.688 kB / 1.04 GB, free: 85.52 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/2.002, allocations: 19.83 kB / 1.04 GB, free: 85.5 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/2.002, allocations: 56.72 kB / 1.04 GB, free: 85.45 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/2.002, allocations: 0 / 1.04 GB, free: 85.45 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/2.002, allocations: 0 / 1.04 GB, free: 85.45 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/2.002, allocations: 0 / 1.04 GB, free: 85.45 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.901e-05/2.003, allocations: 23.22 kB / 1.04 GB, free: 85.43 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001749/2.003, allocations: 172.5 kB / 1.04 GB, free: 85.22 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/2.003, allocations: 50.31 kB / 1.04 GB, free: 85.17 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007766/2.004, allocations: 0.5894 MB / 1.041 GB, free: 84.48 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/2.004, allocations: 34.56 kB / 1.041 GB, free: 84.44 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=5): time 2.114e-06/2.004, allocations: 0 / 1.041 GB, free: 84.44 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0006703/2.004, allocations: 307.5 kB / 1.041 GB, free: 84.11 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/2.004, allocations: 59.34 kB / 1.041 GB, free: 84.04 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.124e-05/2.004, allocations: 96.48 kB / 1.041 GB, free: 83.95 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/2.004, allocations: 25.7 kB / 1.041 GB, free: 83.91 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.087e-05/2.005, allocations: 91.61 kB / 1.041 GB, free: 83.82 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/2.005, allocations: 27.45 kB / 1.041 GB, free: 83.8 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.994e-06/2.005, allocations: 4 kB / 1.041 GB, free: 83.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.934e-05/2.005, allocations: 314.2 kB / 1.041 GB, free: 83.48 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.944e-05/2.005, allocations: 15.92 kB / 1.041 GB, free: 83.47 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.413e-05/2.005, allocations: 52.72 kB / 1.042 GB, free: 83.41 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.756e-05/2.005, allocations: 18.73 kB / 1.042 GB, free: 83.39 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/2.005, allocations: 4 kB / 1.042 GB, free: 83.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000185/2.005, allocations: 99.83 kB / 1.042 GB, free: 83.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/2.005, allocations: 5.562 kB / 1.042 GB, free: 83.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/2.005, allocations: 3.953 kB / 1.042 GB, free: 83.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/2.005, allocations: 4 kB / 1.042 GB, free: 83.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/2.005, allocations: 19.94 kB / 1.042 GB, free: 83.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/2.005, allocations: 4 kB / 1.042 GB, free: 83.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.62e-05/2.005, allocations: 7.797 kB / 1.042 GB, free: 83.26 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/2.005, allocations: 4 kB / 1.042 GB, free: 83.26 MB / 0.7292 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 8.393e-05/2.006, allocations: 121.1 kB / 1.042 GB, free: 83.13 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/2.006, allocations: 4 kB / 1.042 GB, free: 83.13 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.16e-05/2.006, allocations: 7.469 kB / 1.042 GB, free: 83.12 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/2.006, allocations: 3.953 kB / 1.042 GB, free: 83.12 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/2.006, allocations: 288 / 1.042 GB, free: 83.12 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/2.006, allocations: 0 / 1.042 GB, free: 83.12 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000352/2.006, allocations: 173.1 kB / 1.042 GB, free: 82.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/2.006, allocations: 0 / 1.042 GB, free: 82.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/2.006, allocations: 23.97 kB / 1.042 GB, free: 82.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/2.006, allocations: 0 / 1.042 GB, free: 82.89 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/2.006, allocations: 3.938 kB / 1.042 GB, free: 82.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/2.006, allocations: 4 kB / 1.042 GB, free: 82.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/2.006, allocations: 4.391 kB / 1.042 GB, free: 82.88 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/2.006, allocations: 177.1 kB / 1.042 GB, free: 82.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/2.007, allocations: 81.11 kB / 1.042 GB, free: 82.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/2.007, allocations: 3.938 kB / 1.042 GB, free: 82.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/2.007, allocations: 12.03 kB / 1.042 GB, free: 82.59 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-05/2.007, allocations: 7.828 kB / 1.042 GB, free: 82.58 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/2.007, allocations: 8 kB / 1.042 GB, free: 82.57 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.896e-05/2.007, allocations: 79.28 kB / 1.042 GB, free: 82.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-07/2.007, allocations: 0 / 1.042 GB, free: 82.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003346/2.007, allocations: 15.38 kB / 1.042 GB, free: 82.48 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0004614/2.008, allocations: 0.7267 MB / 1.043 GB, free: 81.75 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001522/2.008, allocations: 42.61 kB / 1.043 GB, free: 81.71 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/2.008, allocations: 256 / 1.043 GB, free: 81.71 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.697e-05/2.008, allocations: 23.8 kB / 1.043 GB, free: 81.69 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/2.008, allocations: 2.531 kB / 1.043 GB, free: 81.69 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/2.01, allocations: 1.433 MB / 1.045 GB, free: 80.22 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/2.01, allocations: 0.6887 MB / 1.045 GB, free: 79.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.435e-05/2.01, allocations: 11.98 kB / 1.045 GB, free: 79.49 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.005e-05/2.01, allocations: 15 kB / 1.045 GB, free: 79.48 MB / 0.7292 GB Notification: Performance of SimCode: time 1.263e-06/2.01, allocations: 0 / 1.045 GB, free: 79.48 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/2.03, allocations: 1.779 MB / 1.047 GB, free: 77.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002342/2.03, allocations: 172 kB / 1.047 GB, free: 77.57 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.268/4.298, allocations: 0 / 1.047 GB, free: 77.57 MB / 0.7292 GB