Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_6_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.395/4.395, allocations: 433.2 MB / 440.7 MB, free: 4.555 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.236e-05/2.236e-05, allocations: 3.969 kB / 0.5325 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2837, allocations: 98.73 MB / 0.6289 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.075/1.359, allocations: 337.2 MB / 0.9581 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/1.359, allocations: 76.83 kB / 0.9582 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03191/1.391, allocations: 8.011 MB / 0.966 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.402e-06/1.391, allocations: 0 / 0.966 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.032e-06/1.391, allocations: 0 / 0.966 GB, free: 8.398 MB / 0.7136 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.0004045/1.392, allocations: 350.4 kB / 0.9664 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/1.392, allocations: 8.031 kB / 0.9664 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000256/1.392, allocations: 15.94 kB / 0.9664 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/1.392, allocations: 163.1 kB / 0.9666 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/1.392, allocations: 0 / 0.9666 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/1.392, allocations: 11.44 kB / 0.9666 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.362e-05/1.392, allocations: 4 kB / 0.9666 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/1.392, allocations: 71.88 kB / 0.9666 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/1.392, allocations: 0 / 0.9666 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/1.393, allocations: 0 / 0.9666 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/1.393, allocations: 0 / 0.9666 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007295/1.393, allocations: 449.9 kB / 0.9671 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/1.393, allocations: 63.17 kB / 0.9671 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.76e-05/1.394, allocations: 22.7 kB / 0.9671 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/1.394, allocations: 7.938 kB / 0.9672 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/1.394, allocations: 38.44 kB / 0.9672 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 2.104e-06/1.394, allocations: 0 / 0.9672 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0007204/1.394, allocations: 280.7 kB / 0.9675 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/1.394, allocations: 102.8 kB / 0.9676 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.835e-05/1.395, allocations: 104.5 kB / 0.9677 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/1.395, allocations: 33.7 kB / 0.9677 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.008e-05/1.395, allocations: 84.05 kB / 0.9678 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/1.395, allocations: 23.28 kB / 0.9678 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/1.395, allocations: 0.5625 kB / 0.9678 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001306/1.395, allocations: 322.2 kB / 0.9681 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.149e-05/1.395, allocations: 7.5 kB / 0.9681 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.739e-05/1.395, allocations: 51.53 kB / 0.9682 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.245e-05/1.395, allocations: 15.42 kB / 0.9682 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.395, allocations: 0 / 0.9682 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001896/1.395, allocations: 92.39 kB / 0.9683 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/1.395, allocations: 4 kB / 0.9683 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/1.395, allocations: 0 / 0.9683 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/1.395, allocations: 8.125 kB / 0.9683 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/1.395, allocations: 16 kB / 0.9683 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/1.395, allocations: 15.88 kB / 0.9683 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.687e-05/1.396, allocations: 0 / 0.9683 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/1.396, allocations: 7.938 kB / 0.9683 GB, free: 5.82 MB / 0.7136 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 8.485e-05/1.396, allocations: 101.7 kB / 0.9684 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001781/1.396, allocations: 64.62 kB / 0.9685 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.938e-05/1.396, allocations: 3.906 kB / 0.9685 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.866e-05/1.396, allocations: 15.56 kB / 0.9685 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/1.396, allocations: 3.953 kB / 0.9685 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/1.396, allocations: 0 / 0.9685 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/1.396, allocations: 4 kB / 0.9685 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004773/1.396, allocations: 150 kB / 0.9686 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/1.397, allocations: 4 kB / 0.9686 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/1.397, allocations: 15.98 kB / 0.9687 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.383e-06/1.397, allocations: 0 / 0.9687 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/1.397, allocations: 7.938 kB / 0.9687 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/1.397, allocations: 0 / 0.9687 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.397, allocations: 0 / 0.9687 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003113/1.397, allocations: 339.3 kB / 0.969 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.401e-05/1.397, allocations: 89.05 kB / 0.9691 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/1.397, allocations: 8.078 kB / 0.9691 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/1.397, allocations: 8 kB / 0.9691 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/1.398, allocations: 7.984 kB / 0.9691 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/1.398, allocations: 3.5 kB / 0.9691 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.284e-05/1.398, allocations: 83.22 kB / 0.9692 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/1.398, allocations: 0 / 0.9692 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004335/1.398, allocations: 12 kB / 0.9692 GB, free: 4.852 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0006889/1.399, allocations: 1.02 MB / 0.9702 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001424/1.399, allocations: 35.06 kB / 0.9702 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/1.399, allocations: 4.25 kB / 0.9702 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.907e-05/1.399, allocations: 23.41 kB / 0.9702 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/1.399, allocations: 4.812 kB / 0.9702 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/1.4, allocations: 326.8 kB / 0.9706 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/1.401, allocations: 0.6885 MB / 0.9712 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.771e-05/1.401, allocations: 15.77 kB / 0.9712 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.238e-05/1.401, allocations: 11.31 kB / 0.9713 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of SimCode: time 7.62e-07/1.401, allocations: 4 kB / 0.9713 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03652/1.437, allocations: 1.109 MB / 0.9723 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003134/1.438, allocations: 182.8 kB / 0.9725 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.491/3.929, allocations: 0 / 0.9725 GB, free: 1.367 MB / 0.7136 GB