Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.983/1.983, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003552, allocations: 8 kB / 264 MB, free: 13.47 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09776/0.09816, allocations: 44.51 MB / 308.6 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.113/1.211, allocations: 261 MB / 0.5562 GB, free: 110.8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004103/1.212, allocations: 90.67 kB / 0.5563 GB, free: 110.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3294/1.541, allocations: 84.42 MB / 0.6387 GB, free: 42.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.984e-06/1.541, allocations: 0 / 0.6387 GB, free: 42.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.216e-05/1.541, allocations: 8 kB / 0.6387 GB, free: 42.68 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008462/1.542, allocations: 0.5388 MB / 0.6392 GB, free: 42.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/1.542, allocations: 16.02 kB / 0.6393 GB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.731e-05/1.542, allocations: 62.55 kB / 0.6393 GB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003352/1.543, allocations: 43.61 kB / 0.6394 GB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004134/1.543, allocations: 282.8 kB / 0.6396 GB, free: 41.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/1.543, allocations: 16.56 kB / 0.6396 GB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.515e-05/1.543, allocations: 24 kB / 0.6397 GB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006335/1.544, allocations: 313.4 kB / 0.64 GB, free: 41.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/1.544, allocations: 4 kB / 0.64 GB, free: 41.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.306e-05/1.544, allocations: 12 kB / 0.64 GB, free: 41.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/1.544, allocations: 4 kB / 0.64 GB, free: 41.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004225/1.544, allocations: 185.5 kB / 0.6402 GB, free: 41.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002258/1.547, allocations: 1.732 MB / 0.6419 GB, free: 39.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/1.547, allocations: 130.6 kB / 0.642 GB, free: 39.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001642/1.547, allocations: 174.2 kB / 0.6421 GB, free: 38.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/1.547, allocations: 34.56 kB / 0.6422 GB, free: 38.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 3.186e-06/1.547, allocations: 0 / 0.6422 GB, free: 38.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.002532/1.55, allocations: 0.7896 MB / 0.643 GB, free: 37.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/1.55, allocations: 63.55 kB / 0.643 GB, free: 37.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003406/1.55, allocations: 257.6 kB / 0.6433 GB, free: 37.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/1.55, allocations: 25.7 kB / 0.6433 GB, free: 37.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/1.55, allocations: 261.9 kB / 0.6435 GB, free: 37.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.635e-05/1.55, allocations: 78.84 kB / 0.6436 GB, free: 37.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.927e-05/1.55, allocations: 8 kB / 0.6436 GB, free: 37.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.566e-05/1.551, allocations: 322.8 kB / 0.6439 GB, free: 36.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/1.551, allocations: 67.97 kB / 0.644 GB, free: 36.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/1.551, allocations: 179.6 kB / 0.6442 GB, free: 36.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/1.551, allocations: 104 kB / 0.6443 GB, free: 36.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/1.551, allocations: 4 kB / 0.6443 GB, free: 36.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008058/1.552, allocations: 318.3 kB / 0.6446 GB, free: 36.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/1.552, allocations: 8.062 kB / 0.6446 GB, free: 36.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/1.552, allocations: 4 kB / 0.6446 GB, free: 36.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001237/1.552, allocations: 24.86 kB / 0.6446 GB, free: 36.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005264/1.553, allocations: 83.83 kB / 0.6447 GB, free: 36.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00111/1.554, allocations: 1.299 MB / 0.6459 GB, free: 34.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003939/1.554, allocations: 12 kB / 0.646 GB, free: 34.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/1.554, allocations: 19.98 kB / 0.646 GB, free: 34.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (41): * Single equations (assignments): 40 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000233/1.555, allocations: 153.8 kB / 0.6461 GB, free: 34.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.567e-05/1.555, allocations: 31.72 kB / 0.6462 GB, free: 34.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004886/1.555, allocations: 207.4 kB / 0.6464 GB, free: 34.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/1.555, allocations: 0 / 0.6464 GB, free: 34.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/1.555, allocations: 3.953 kB / 0.6464 GB, free: 34.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004452/1.556, allocations: 487.7 kB / 0.6468 GB, free: 33.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/1.557, allocations: 0.7722 MB / 0.6476 GB, free: 32.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/1.557, allocations: 4 kB / 0.6476 GB, free: 32.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003094/1.558, allocations: 44.25 kB / 0.6476 GB, free: 32.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/1.558, allocations: 8 kB / 0.6476 GB, free: 32.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/1.558, allocations: 8 kB / 0.6476 GB, free: 32.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.897e-06/1.558, allocations: 11.94 kB / 0.6476 GB, free: 32.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.558, allocations: 0 / 0.6476 GB, free: 32.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006569/1.558, allocations: 0.4942 MB / 0.6481 GB, free: 32.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/1.559, allocations: 108.8 kB / 0.6482 GB, free: 31.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.659e-05/1.559, allocations: 4 kB / 0.6482 GB, free: 31.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004089/1.559, allocations: 24 kB / 0.6483 GB, free: 31.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/1.559, allocations: 15.98 kB / 0.6483 GB, free: 31.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.786e-05/1.559, allocations: 11.98 kB / 0.6483 GB, free: 31.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002903/1.559, allocations: 202 kB / 0.6485 GB, free: 31.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.559, allocations: 0 / 0.6485 GB, free: 31.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000709/1.56, allocations: 115.9 kB / 0.6486 GB, free: 31.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (volume.medium.T) * 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 (21): * Single equations (assignments): 21 * 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.001263/1.561, allocations: 1.79 MB / 0.6503 GB, free: 29.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006711/1.562, allocations: 303.2 kB / 0.6506 GB, free: 29.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/1.562, allocations: 4.062 kB / 0.6506 GB, free: 29.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001494/1.562, allocations: 75.78 kB / 0.6507 GB, free: 29.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/1.564, allocations: 157.2 kB / 0.6509 GB, free: 29.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003638/1.567, allocations: 4.339 MB / 0.6551 GB, free: 24.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/1.568, allocations: 0.768 MB / 0.6558 GB, free: 23.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/1.568, allocations: 96.39 kB / 0.6559 GB, free: 23.79 MB / 410.7 MB Notification: Performance of SimCode: time 9.52e-07/1.568, allocations: 0 / 0.6559 GB, free: 23.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.948/4.516, allocations: 7.222 MB / 0.663 GB, free: 16.57 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat