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.01257/0.01257, allocations: 222.2 kB / 15.17 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.001253/0.001252, allocations: 177.9 kB / 16.06 MB, free: 5.832 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 3.757/3.757, allocations: 389 MB / 405.9 MB, free: 13.37 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.344/4.344, allocations: 472.3 MB / 0.9018 GB, free: 3.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005173/0.0005175, allocations: 16 kB / 1.008 GB, free: 10.17 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7631/0.7637, allocations: 98.71 MB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001508/0.7652, allocations: 0.9712 MB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.004115/0.7694, allocations: 3.025 MB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.228e-05/0.7695, allocations: 0 / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.63e-05/0.7695, allocations: 0 / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.152e-05/0.7696, allocations: 9.266 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004638/0.77, allocations: 79.16 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.516e-05/0.7701, allocations: 37.2 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.802e-05/0.7702, allocations: 4.781 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.703e-05/0.7702, allocations: 19.28 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.811e-05/0.7703, allocations: 17.64 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.7703, allocations: 1.312 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002362/0.7706, allocations: 55.48 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.484e-05/0.7706, allocations: 10.67 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.616e-05/0.7706, allocations: 29.77 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.7708, allocations: 35.92 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.7708, allocations: 3.281 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7708, allocations: 0 / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.217e-06/0.7708, allocations: 0 / 1.108 GB, free: 209.9 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.0003448/0.7712, allocations: 341.4 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.7712, allocations: 9.344 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.454e-05/0.7713, allocations: 32 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.806e-05/0.7714, allocations: 5.984 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.507e-05/0.7715, allocations: 167.4 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.7715, allocations: 5.312 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.7715, allocations: 4.703 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.7717, allocations: 55.64 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.7717, allocations: 2.891 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.7717, allocations: 7.422 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.7718, allocations: 3.406 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.774e-05/0.7718, allocations: 19.06 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001635/0.772, allocations: 168.7 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.7721, allocations: 52.67 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.007e-05/0.7722, allocations: 23.7 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007422/0.7729, allocations: 0.5928 MB / 1.11 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.773, allocations: 37.25 kB / 1.11 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=5): time 1.563e-06/0.773, allocations: 0 / 1.11 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0006261/0.7736, allocations: 293.6 kB / 1.11 GB, free: 208 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.7737, allocations: 56.98 kB / 1.11 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.683e-05/0.7737, allocations: 100.1 kB / 1.11 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.7738, allocations: 28.36 kB / 1.11 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.237e-05/0.7738, allocations: 90.47 kB / 1.11 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.7738, allocations: 21.31 kB / 1.11 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-06/0.7739, allocations: 4 kB / 1.11 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.946e-05/0.7739, allocations: 318.6 kB / 1.111 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.967e-05/0.774, allocations: 13.5 kB / 1.111 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.539e-05/0.774, allocations: 54.81 kB / 1.111 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.829e-05/0.7741, allocations: 19.62 kB / 1.111 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.7741, allocations: 5.172 kB / 1.111 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001857/0.7743, allocations: 100.5 kB / 1.111 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.7744, allocations: 5.375 kB / 1.111 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.7744, allocations: 5.734 kB / 1.111 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.7744, allocations: 5.5 kB / 1.111 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.7745, allocations: 22.11 kB / 1.111 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.7746, allocations: 2.125 kB / 1.111 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.366e-05/0.7746, allocations: 2.156 kB / 1.111 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.7746, allocations: 8.438 kB / 1.111 GB, free: 207.2 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 6.85e-05/0.7747, allocations: 116.5 kB / 1.111 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.7748, allocations: 13.95 kB / 1.111 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.135e-05/0.7748, allocations: 8.844 kB / 1.111 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.7748, allocations: 4.25 kB / 1.111 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.7748, allocations: 0 / 1.111 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.7748, allocations: 1.406 kB / 1.111 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.7751, allocations: 172.9 kB / 1.111 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.7752, allocations: 0 / 1.111 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.7753, allocations: 22.23 kB / 1.111 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.7754, allocations: 0 / 1.111 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.7754, allocations: 5.812 kB / 1.111 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.7754, allocations: 0 / 1.111 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.7754, allocations: 4.781 kB / 1.111 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.7756, allocations: 170.2 kB / 1.111 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.731e-05/0.7756, allocations: 85.88 kB / 1.111 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.7757, allocations: 7.25 kB / 1.111 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.7758, allocations: 5.906 kB / 1.111 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.7759, allocations: 4.5 kB / 1.111 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.7759, allocations: 0.9688 kB / 1.111 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.899e-05/0.7759, allocations: 85.73 kB / 1.112 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.122e-06/0.7759, allocations: 0 / 1.112 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003174/0.7763, allocations: 14.06 kB / 1.112 GB, free: 206.6 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.0003745/0.7767, allocations: 0.7059 MB / 1.112 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001359/0.7768, allocations: 50.3 kB / 1.112 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.7768, allocations: 2.719 kB / 1.112 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.873e-05/0.7769, allocations: 17.62 kB / 1.112 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.7772, allocations: 11.58 kB / 1.112 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.7784, allocations: 0.6798 MB / 1.113 GB, free: 205.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.7786, allocations: 0.6898 MB / 1.114 GB, free: 204.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.854e-05/0.7787, allocations: 12.09 kB / 1.114 GB, free: 204.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.429e-05/0.7788, allocations: 16.3 kB / 1.114 GB, free: 204.7 MB / 0.7292 GB Notification: Performance of SimCode: time 6.51e-07/0.7788, allocations: 0 / 1.114 GB, free: 204.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.8024, allocations: 1.41 MB / 1.115 GB, free: 204.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002082/0.8027, allocations: 181.3 kB / 1.115 GB, free: 204.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.438/3.24, allocations: 1.5 kB / 1.115 GB, free: 204.5 MB / 0.7292 GB