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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.345/4.345, allocations: 433.2 MB / 440.7 MB, free: 4.551 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.632e-05/1.646e-05, allocations: 2.188 kB / 0.5325 GB, free: 12.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2358, allocations: 98.74 MB / 0.6289 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.18/1.416, allocations: 350.8 MB / 0.9715 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/1.416, allocations: 66.78 kB / 0.9716 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04599/1.462, allocations: 12.48 MB / 0.9838 GB, free: 7.805 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.713e-06/1.462, allocations: 0 / 0.9838 GB, free: 7.805 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.194e-06/1.462, allocations: 0 / 0.9838 GB, free: 7.805 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.0004439/1.462, allocations: 337.7 kB / 0.9841 GB, free: 7.434 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/1.463, allocations: 15.97 kB / 0.9841 GB, free: 7.418 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/1.463, allocations: 7.953 kB / 0.9841 GB, free: 7.41 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/1.463, allocations: 167 kB / 0.9843 GB, free: 7.207 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/1.463, allocations: 4 kB / 0.9843 GB, free: 7.203 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/1.463, allocations: 4 kB / 0.9843 GB, free: 7.199 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001396/1.463, allocations: 19.8 kB / 0.9843 GB, free: 7.184 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/1.463, allocations: 45.05 kB / 0.9843 GB, free: 7.137 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/1.463, allocations: 0 / 0.9843 GB, free: 7.137 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/1.463, allocations: 4 kB / 0.9843 GB, free: 7.133 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/1.463, allocations: 3.953 kB / 0.9843 GB, free: 7.129 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002094/1.463, allocations: 137.5 kB / 0.9845 GB, free: 6.961 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/1.464, allocations: 57.8 kB / 0.9845 GB, free: 6.902 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.814e-05/1.464, allocations: 12.86 kB / 0.9845 GB, free: 6.887 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001131/1.465, allocations: 0.61 MB / 0.9851 GB, free: 6.184 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/1.465, allocations: 30.56 kB / 0.9852 GB, free: 6.145 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=5): time 1.894e-06/1.465, allocations: 0 / 0.9852 GB, free: 6.145 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.000711/1.466, allocations: 291.6 kB / 0.9854 GB, free: 5.82 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/1.466, allocations: 51.41 kB / 0.9855 GB, free: 5.758 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.519e-05/1.466, allocations: 92.5 kB / 0.9856 GB, free: 5.664 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/1.466, allocations: 25.7 kB / 0.9856 GB, free: 5.633 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.369e-05/1.466, allocations: 88.03 kB / 0.9857 GB, free: 5.543 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/1.466, allocations: 22.91 kB / 0.9857 GB, free: 5.523 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/1.466, allocations: 0 / 0.9857 GB, free: 5.523 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001528/1.466, allocations: 326.5 kB / 0.986 GB, free: 5.199 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.474e-05/1.466, allocations: 11.56 kB / 0.986 GB, free: 5.191 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.464e-05/1.466, allocations: 48.78 kB / 0.9861 GB, free: 5.129 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.864e-05/1.466, allocations: 23.36 kB / 0.9861 GB, free: 5.109 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.466, allocations: 0 / 0.9861 GB, free: 5.109 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001877/1.466, allocations: 80.27 kB / 0.9862 GB, free: 5.031 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/1.467, allocations: 8 kB / 0.9862 GB, free: 5.023 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/1.467, allocations: 0 / 0.9862 GB, free: 5.023 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/1.467, allocations: 7.953 kB / 0.9862 GB, free: 5.016 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/1.467, allocations: 23.69 kB / 0.9862 GB, free: 4.996 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/1.467, allocations: 0 / 0.9862 GB, free: 4.996 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.39e-05/1.467, allocations: 4 kB / 0.9862 GB, free: 4.992 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/1.467, allocations: 8.125 kB / 0.9862 GB, free: 4.984 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 () * 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 9.875e-05/1.467, allocations: 108.9 kB / 0.9863 GB, free: 4.871 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001469/1.467, allocations: 57.33 kB / 0.9864 GB, free: 4.812 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/1.467, allocations: 7.938 kB / 0.9864 GB, free: 4.805 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.743e-05/1.467, allocations: 8.094 kB / 0.9864 GB, free: 4.805 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/1.467, allocations: 4 kB / 0.9864 GB, free: 4.801 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/1.467, allocations: 0 / 0.9864 GB, free: 4.801 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/1.467, allocations: 0 / 0.9864 GB, free: 4.801 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003857/1.468, allocations: 149.8 kB / 0.9866 GB, free: 4.621 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.468, allocations: 4 kB / 0.9866 GB, free: 4.617 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/1.468, allocations: 12 kB / 0.9866 GB, free: 4.605 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/1.468, allocations: 0 / 0.9866 GB, free: 4.605 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/1.468, allocations: 0 / 0.9866 GB, free: 4.605 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/1.468, allocations: 3.953 kB / 0.9866 GB, free: 4.602 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.467e-06/1.468, allocations: 4 kB / 0.9866 GB, free: 4.598 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/1.468, allocations: 170 kB / 0.9867 GB, free: 4.426 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.522e-05/1.468, allocations: 81.11 kB / 0.9868 GB, free: 4.328 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/1.468, allocations: 4.375 kB / 0.9868 GB, free: 4.324 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/1.468, allocations: 8.031 kB / 0.9868 GB, free: 4.316 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/1.468, allocations: 3.953 kB / 0.9868 GB, free: 4.312 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/1.468, allocations: 4 kB / 0.9868 GB, free: 4.309 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.425e-05/1.469, allocations: 82.64 kB / 0.9869 GB, free: 4.23 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.21e-07/1.469, allocations: 3.938 kB / 0.9869 GB, free: 4.227 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003425/1.469, allocations: 15.98 kB / 0.9869 GB, free: 4.211 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 () * 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.0006287/1.47, allocations: 0.7154 MB / 0.9876 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001499/1.47, allocations: 39.58 kB / 0.9877 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.47, allocations: 0 / 0.9877 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.754e-05/1.47, allocations: 15.98 kB / 0.9877 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/1.47, allocations: 3.953 kB / 0.9877 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009992/1.471, allocations: 305.6 kB / 0.988 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/1.471, allocations: 0.6884 MB / 0.9886 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001031/1.472, allocations: 11.78 kB / 0.9887 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.892e-05/1.472, allocations: 18.88 kB / 0.9887 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of SimCode: time 7.91e-07/1.472, allocations: 0 / 0.9887 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03146/1.503, allocations: 1.289 MB / 0.9899 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000279/1.503, allocations: 130.8 kB / 0.9901 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.322/3.826, allocations: 0 / 0.9901 GB, free: 0.8867 MB / 0.7292 GB