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 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.WaterDerivativeCheck,fileNamePrefix="Buildings_6_0_0_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.302/4.302, allocations: 432.6 MB / 445.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.456e-05/4.491e-05, allocations: 5.359 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2347, allocations: 98.74 MB / 0.6347 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.149/1.384, allocations: 351.5 MB / 0.978 GB, free: 6.141 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/1.385, allocations: 71.47 kB / 0.978 GB, free: 6.105 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.1008/1.485, allocations: 12.53 MB / 0.9903 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.465e-06/1.485, allocations: 4 kB / 0.9903 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.554e-06/1.486, allocations: 0 / 0.9903 GB, free: 12.3 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005499/1.486, allocations: 341.3 kB / 0.9906 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.587e-05/1.486, allocations: 11.97 kB / 0.9906 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.29e-05/1.486, allocations: 34.5 kB / 0.9907 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001635/1.486, allocations: 11.94 kB / 0.9907 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/1.487, allocations: 167 kB / 0.9908 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/1.487, allocations: 3.688 kB / 0.9908 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.967e-05/1.487, allocations: 8 kB / 0.9908 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/1.487, allocations: 52.92 kB / 0.9909 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/1.487, allocations: 0 / 0.9909 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/1.487, allocations: 7.984 kB / 0.9909 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/1.487, allocations: 0 / 0.9909 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/1.487, allocations: 19.25 kB / 0.9909 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003155/1.488, allocations: 172.6 kB / 0.9911 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/1.488, allocations: 45.94 kB / 0.9911 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.584e-05/1.488, allocations: 16.86 kB / 0.9911 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001492/1.489, allocations: 0.6121 MB / 0.9917 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/1.489, allocations: 34.55 kB / 0.9918 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 8.185e-06/1.489, allocations: 0 / 0.9918 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.001029/1.491, allocations: 310.6 kB / 0.9921 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/1.491, allocations: 55.41 kB / 0.9921 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/1.491, allocations: 89 kB / 0.9922 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/1.491, allocations: 28.95 kB / 0.9922 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.988e-05/1.491, allocations: 88.03 kB / 0.9923 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.905e-05/1.491, allocations: 23.22 kB / 0.9923 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.017e-06/1.491, allocations: 3.062 kB / 0.9923 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001769/1.491, allocations: 322.6 kB / 0.9926 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.519e-05/1.491, allocations: 12 kB / 0.9927 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/1.491, allocations: 52.53 kB / 0.9927 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.777e-05/1.492, allocations: 23.36 kB / 0.9927 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.492, allocations: 4 kB / 0.9927 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003438/1.492, allocations: 91.75 kB / 0.9928 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/1.492, allocations: 11.95 kB / 0.9928 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/1.492, allocations: 0 / 0.9928 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/1.492, allocations: 0 / 0.9928 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/1.492, allocations: 22.98 kB / 0.9929 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/1.492, allocations: 3.984 kB / 0.9929 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/1.492, allocations: 7.984 kB / 0.9929 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/1.493, allocations: 8.125 kB / 0.9929 GB, free: 9.363 MB / 0.7448 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 (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 0.000127/1.493, allocations: 111 kB / 0.993 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-05/1.493, allocations: 7.938 kB / 0.993 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.072e-05/1.493, allocations: 11.48 kB / 0.993 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/1.493, allocations: 0 / 0.993 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.493, allocations: 0 / 0.993 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/1.493, allocations: 4 kB / 0.993 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006096/1.494, allocations: 173.3 kB / 0.9932 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.494, allocations: 0 / 0.9932 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/1.494, allocations: 19.48 kB / 0.9932 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/1.494, allocations: 4 kB / 0.9932 GB, free: 9 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/1.494, allocations: 0 / 0.9932 GB, free: 9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/1.494, allocations: 3.953 kB / 0.9932 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.494, allocations: 4 kB / 0.9932 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003442/1.494, allocations: 165 kB / 0.9934 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/1.494, allocations: 85.14 kB / 0.9934 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/1.494, allocations: 3.562 kB / 0.9934 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/1.495, allocations: 8 kB / 0.9934 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-05/1.495, allocations: 7.938 kB / 0.9935 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/1.495, allocations: 4.25 kB / 0.9935 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.25e-05/1.495, allocations: 78.91 kB / 0.9935 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.827e-06/1.495, allocations: 0 / 0.9935 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005584/1.496, allocations: 19.44 kB / 0.9936 GB, free: 8.613 MB / 0.7448 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 () * 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.0008415/1.496, allocations: 0.7304 MB / 0.9943 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002091/1.497, allocations: 46.84 kB / 0.9943 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/1.497, allocations: 2.75 kB / 0.9943 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.803e-05/1.497, allocations: 12 kB / 0.9943 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/1.497, allocations: 7.953 kB / 0.9943 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/1.498, allocations: 313.4 kB / 0.9946 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/1.499, allocations: 0.6848 MB / 0.9953 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001538/1.499, allocations: 15.77 kB / 0.9953 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.445e-05/1.499, allocations: 18.31 kB / 0.9953 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of SimCode: time 1.312e-06/1.499, allocations: 0 / 0.9953 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05498/1.554, allocations: 1.816 MB / 0.9971 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003031/1.555, allocations: 163.2 kB / 0.9973 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.564/4.119, allocations: 0 / 0.9973 GB, free: 4.758 MB / 0.7448 GB