Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.WaterDerivativeCheck.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01387/0.01387, allocations: 88.05 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001969/0.001969, allocations: 174.3 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.244/2.244, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.626/2.626, allocations: 252.8 MB / 0.511 GB, free: 8.316 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004836/0.0004835, allocations: 15.08 kB / 0.6243 GB, free: 28.37 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2327, allocations: 106.2 MB / 0.7281 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001739/0.2345, allocations: 0.9764 MB / 0.729 GB, free: 9.16 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.005295/0.2398, allocations: 2.837 MB / 0.7318 GB, free: 6.309 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.689e-05/0.24, allocations: 0 / 0.7318 GB, free: 6.309 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.03e-05/0.24, allocations: 0 / 0.7318 GB, free: 6.309 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.083e-05/0.2401, allocations: 4 kB / 0.7318 GB, free: 6.305 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005587/0.2406, allocations: 95.69 kB / 0.7319 GB, free: 6.211 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.089e-05/0.2407, allocations: 19.98 kB / 0.7319 GB, free: 6.191 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.409e-05/0.2408, allocations: 3.984 kB / 0.7319 GB, free: 6.188 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.639e-05/0.2408, allocations: 23.92 kB / 0.7319 GB, free: 6.164 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.766e-05/0.2409, allocations: 15.92 kB / 0.7319 GB, free: 6.148 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.241, allocations: 4 kB / 0.7319 GB, free: 6.145 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002967/0.2413, allocations: 51.95 kB / 0.732 GB, free: 6.094 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.336e-05/0.2413, allocations: 19.86 kB / 0.732 GB, free: 6.074 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.226e-05/0.2413, allocations: 33.7 kB / 0.732 GB, free: 6.035 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.2415, allocations: 36.23 kB / 0.7321 GB, free: 6 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2415, allocations: 0 / 0.7321 GB, free: 6 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2415, allocations: 0 / 0.7321 GB, free: 6 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.2416, allocations: 4 kB / 0.7321 GB, free: 5.996 MB / 0.5573 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.0004354/0.242, allocations: 335.2 kB / 0.7324 GB, free: 5.621 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.2421, allocations: 12.03 kB / 0.7324 GB, free: 5.609 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.83e-05/0.2421, allocations: 42.53 kB / 0.7324 GB, free: 5.559 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.2422, allocations: 4 kB / 0.7324 GB, free: 5.555 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.2424, allocations: 167 kB / 0.7326 GB, free: 5.352 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.2424, allocations: 4 kB / 0.7326 GB, free: 5.348 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.2424, allocations: 11.91 kB / 0.7326 GB, free: 5.336 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.2426, allocations: 53.61 kB / 0.7327 GB, free: 5.277 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.2426, allocations: 0 / 0.7327 GB, free: 5.277 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.2427, allocations: 7.953 kB / 0.7327 GB, free: 5.27 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2427, allocations: 0 / 0.7327 GB, free: 5.27 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.551e-05/0.2428, allocations: 15.98 kB / 0.7327 GB, free: 5.254 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002238/0.243, allocations: 169.7 kB / 0.7329 GB, free: 5.039 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.2431, allocations: 50.5 kB / 0.7329 GB, free: 4.98 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/0.2442, allocations: 0.5871 MB / 0.7335 GB, free: 4.285 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.2443, allocations: 34.56 kB / 0.7335 GB, free: 4.242 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=5): time 3.186e-06/0.2443, allocations: 0 / 0.7335 GB, free: 4.242 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.0008287/0.2452, allocations: 310.1 kB / 0.7338 GB, free: 3.887 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.2453, allocations: 51.41 kB / 0.7339 GB, free: 3.824 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.384e-05/0.2454, allocations: 97.86 kB / 0.734 GB, free: 3.719 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.2454, allocations: 29.7 kB / 0.734 GB, free: 3.684 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.721e-05/0.2455, allocations: 84.05 kB / 0.7341 GB, free: 3.598 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.2455, allocations: 31.7 kB / 0.7341 GB, free: 3.566 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-06/0.2455, allocations: 4 kB / 0.7341 GB, free: 3.562 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.2457, allocations: 314.8 kB / 0.7344 GB, free: 3.246 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.456e-05/0.2457, allocations: 15.98 kB / 0.7344 GB, free: 3.23 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.2458, allocations: 60.95 kB / 0.7345 GB, free: 3.152 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.7e-05/0.2459, allocations: 24 kB / 0.7345 GB, free: 3.129 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2459, allocations: 0 / 0.7345 GB, free: 3.129 MB / 0.5573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002265/0.2462, allocations: 97.41 kB / 0.7346 GB, free: 3.027 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.2462, allocations: 4 kB / 0.7346 GB, free: 3.023 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.2462, allocations: 4 kB / 0.7346 GB, free: 3.02 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.2462, allocations: 0 / 0.7346 GB, free: 3.02 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.2464, allocations: 27.92 kB / 0.7346 GB, free: 2.992 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.2464, allocations: 4 kB / 0.7346 GB, free: 2.988 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.733e-05/0.2465, allocations: 4.062 kB / 0.7346 GB, free: 2.984 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.2465, allocations: 8 kB / 0.7346 GB, free: 2.977 MB / 0.5573 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 0.0001117/0.2466, allocations: 113.8 kB / 0.7347 GB, free: 2.855 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.2467, allocations: 8.234 kB / 0.7347 GB, free: 2.848 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.111e-05/0.2467, allocations: 7.969 kB / 0.7348 GB, free: 2.832 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.2468, allocations: 3.984 kB / 0.7348 GB, free: 2.828 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.2468, allocations: 4.422 kB / 0.7348 GB, free: 2.824 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.2468, allocations: 4 kB / 0.7348 GB, free: 2.82 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003972/0.2472, allocations: 169.7 kB / 0.7349 GB, free: 2.605 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.2472, allocations: 8 kB / 0.7349 GB, free: 2.598 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.2474, allocations: 19.94 kB / 0.735 GB, free: 2.578 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.2474, allocations: 3.953 kB / 0.735 GB, free: 2.574 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.2474, allocations: 0 / 0.735 GB, free: 2.574 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.2475, allocations: 0 / 0.735 GB, free: 2.574 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.2475, allocations: 0 / 0.735 GB, free: 2.574 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/0.2478, allocations: 171.4 kB / 0.7351 GB, free: 2.391 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.895e-05/0.2479, allocations: 81.14 kB / 0.7352 GB, free: 2.293 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.2479, allocations: 11.95 kB / 0.7352 GB, free: 2.281 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.2481, allocations: 4 kB / 0.7352 GB, free: 2.277 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.2482, allocations: 7.984 kB / 0.7352 GB, free: 2.27 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.2482, allocations: 3.984 kB / 0.7352 GB, free: 2.266 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.867e-05/0.2482, allocations: 83.28 kB / 0.7353 GB, free: 2.184 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2483, allocations: 3.938 kB / 0.7353 GB, free: 2.18 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003248/0.2486, allocations: 12 kB / 0.7353 GB, free: 2.168 MB / 0.5573 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.0006336/0.2492, allocations: 0.7046 MB / 0.736 GB, free: 1.434 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001739/0.2494, allocations: 43.91 kB / 0.7361 GB, free: 1.391 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.2494, allocations: 0 / 0.7361 GB, free: 1.391 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.47e-05/0.2495, allocations: 15.94 kB / 0.7361 GB, free: 1.375 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.2498, allocations: 15.94 kB / 0.7361 GB, free: 1.359 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.2517, allocations: 1.424 MB / 0.7375 GB, free: 15.87 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.2521, allocations: 0.6887 MB / 0.7381 GB, free: 15.15 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001072/0.2522, allocations: 11.98 kB / 0.7382 GB, free: 15.14 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.561e-05/0.2523, allocations: 19.44 kB / 0.7382 GB, free: 15.12 MB / 0.573 GB Notification: Performance of SimCode: time 1.253e-06/0.2523, allocations: 0 / 0.7382 GB, free: 15.12 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0207/0.273, allocations: 1.387 MB / 0.7395 GB, free: 13.84 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003118/0.2734, allocations: 179.6 kB / 0.7397 GB, free: 13.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.518/2.791, allocations: 7.875 kB / 0.7397 GB, free: 13.59 MB / 0.573 GB