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.01524/0.01524, allocations: 106.2 kB / 15.06 MB, free: 5.555 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.00189/0.00189, allocations: 178.2 kB / 15.95 MB, free: 5.52 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.129/2.129, allocations: 194.6 MB / 211.3 MB, free: 10.98 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.477/2.477, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004938/0.000494, allocations: 12 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7445/0.745, allocations: 98.72 MB / 0.6834 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001512/0.7466, allocations: 0.9524 MB / 0.6844 GB, free: 16.11 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.004428/0.7511, allocations: 2.815 MB / 0.6871 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.658e-05/0.7512, allocations: 1.281 kB / 0.6871 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.263e-05/0.7512, allocations: 1.406 kB / 0.6871 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.618e-05/0.7513, allocations: 4.734 kB / 0.6871 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005429/0.7518, allocations: 97.09 kB / 0.6872 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.413e-05/0.7519, allocations: 17.86 kB / 0.6872 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 5.175e-05/0.752, allocations: 3.016 kB / 0.6872 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 5.679e-05/0.752, allocations: 23.16 kB / 0.6872 GB, free: 14 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.351e-05/0.7521, allocations: 14.02 kB / 0.6873 GB, free: 14 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.7521, allocations: 5.328 kB / 0.6873 GB, free: 14 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002854/0.7524, allocations: 64.52 kB / 0.6873 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.941e-05/0.7525, allocations: 8.25 kB / 0.6873 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.921e-05/0.7525, allocations: 34.05 kB / 0.6874 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.7527, allocations: 31.66 kB / 0.6874 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.7527, allocations: 4 kB / 0.6874 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.854e-06/0.7527, allocations: 0 / 0.6874 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.7527, allocations: 0 / 0.6874 GB, free: 13.93 MB / 0.5261 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.0004141/0.7531, allocations: 339.4 kB / 0.6877 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.7532, allocations: 13.92 kB / 0.6877 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.253e-05/0.7533, allocations: 36.91 kB / 0.6878 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.7534, allocations: 4.359 kB / 0.6878 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.496e-05/0.7535, allocations: 165.7 kB / 0.6879 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.7535, allocations: 1.938 kB / 0.6879 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/0.7535, allocations: 16.03 kB / 0.6879 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.7537, allocations: 48.73 kB / 0.688 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.7537, allocations: 0.5625 kB / 0.688 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.7538, allocations: 5.266 kB / 0.688 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.7538, allocations: 3.938 kB / 0.688 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.604e-05/0.7539, allocations: 19.95 kB / 0.688 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.754, allocations: 171.2 kB / 0.6882 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.7542, allocations: 53.16 kB / 0.6882 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008114/0.755, allocations: 0.59 MB / 0.6888 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.7551, allocations: 37.12 kB / 0.6888 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 2.815e-06/0.7551, allocations: 0 / 0.6888 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0006899/0.7558, allocations: 302.4 kB / 0.6891 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.7558, allocations: 52.41 kB / 0.6892 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.831e-05/0.7559, allocations: 97.47 kB / 0.6893 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.7559, allocations: 30.55 kB / 0.6893 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/0.756, allocations: 89.52 kB / 0.6894 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.756, allocations: 20.55 kB / 0.6894 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.756, allocations: 1.375 kB / 0.6894 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.844e-05/0.7561, allocations: 318 kB / 0.6897 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.541e-05/0.7561, allocations: 18.06 kB / 0.6897 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.706e-05/0.7562, allocations: 47.42 kB / 0.6898 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.313e-05/0.7563, allocations: 23.91 kB / 0.6898 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.7563, allocations: 0.5625 kB / 0.6898 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001935/0.7565, allocations: 101.3 kB / 0.6899 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.7565, allocations: 6.266 kB / 0.6899 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.7566, allocations: 1.781 kB / 0.6899 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.7566, allocations: 2.547 kB / 0.6899 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.7567, allocations: 24.25 kB / 0.6899 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.7567, allocations: 1.25 kB / 0.6899 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.882e-05/0.7568, allocations: 10.41 kB / 0.6899 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.7568, allocations: 4.062 kB / 0.6899 GB, free: 11.29 MB / 0.5261 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 7.386e-05/0.7569, allocations: 126.5 kB / 0.6901 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-05/0.757, allocations: 6.859 kB / 0.6901 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.753e-05/0.757, allocations: 8.531 kB / 0.6901 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.757, allocations: 1.578 kB / 0.6901 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.757, allocations: 0 / 0.6901 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.7571, allocations: 5.859 kB / 0.6901 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003321/0.7574, allocations: 168.7 kB / 0.6903 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.7574, allocations: 0 / 0.6903 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.7576, allocations: 19.22 kB / 0.6903 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.7576, allocations: 5.297 kB / 0.6903 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.7576, allocations: 10.55 kB / 0.6903 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.7576, allocations: 0 / 0.6903 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.7577, allocations: 0 / 0.6903 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.7579, allocations: 174.4 kB / 0.6905 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-05/0.7579, allocations: 82.7 kB / 0.6905 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.758, allocations: 5.109 kB / 0.6905 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.7582, allocations: 7.641 kB / 0.6905 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.721e-05/0.7582, allocations: 4.5 kB / 0.6905 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.7582, allocations: 6.438 kB / 0.6906 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.012e-05/0.7583, allocations: 78.5 kB / 0.6906 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7583, allocations: 0 / 0.6906 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003353/0.7586, allocations: 14.38 kB / 0.6906 GB, free: 10.61 MB / 0.5261 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.0004078/0.759, allocations: 0.7149 MB / 0.6913 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000155/0.7592, allocations: 40.89 kB / 0.6914 GB, free: 9.906 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.7592, allocations: 1.031 kB / 0.6914 GB, free: 9.906 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.603e-05/0.7593, allocations: 19.97 kB / 0.6914 GB, free: 9.898 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.7595, allocations: 7.75 kB / 0.6914 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.7609, allocations: 1.431 MB / 0.6928 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001878/0.7612, allocations: 0.6861 MB / 0.6935 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.842e-05/0.7613, allocations: 9.469 kB / 0.6935 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.793e-05/0.7613, allocations: 15.64 kB / 0.6935 GB, free: 7.863 MB / 0.5261 GB Notification: Performance of SimCode: time 7.81e-07/0.7613, allocations: 0 / 0.6935 GB, free: 7.863 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02221/0.7836, allocations: 1.393 MB / 0.6949 GB, free: 7.676 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002694/0.7839, allocations: 186.9 kB / 0.695 GB, free: 7.43 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.628/3.412, allocations: 0 / 0.695 GB, free: 7.43 MB / 0.5261 GB