Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.793/1.793, allocations: 171.2 MB / 186.1 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005322/0.0005328, allocations: 8 kB / 233.3 MB, free: 2.273 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08837/0.08895, allocations: 38.76 MB / 272.1 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.843/0.932, allocations: 263.2 MB / 0.5228 GB, free: 49.09 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.9323, allocations: 68.09 kB / 0.5228 GB, free: 49.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03394/0.9663, allocations: 9.395 MB / 0.532 GB, free: 41.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.9663, allocations: 4 kB / 0.532 GB, free: 41.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.9664, allocations: 11.98 kB / 0.532 GB, free: 41.32 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001082/0.9675, allocations: 458 kB / 0.5324 GB, free: 40.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.9675, allocations: 12.03 kB / 0.5325 GB, free: 40.83 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.799e-05/0.9676, allocations: 45.8 kB / 0.5325 GB, free: 40.78 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002122/0.9678, allocations: 15.91 kB / 0.5325 GB, free: 40.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.9681, allocations: 216.9 kB / 0.5327 GB, free: 40.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.9681, allocations: 7.594 kB / 0.5327 GB, free: 40.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.27e-05/0.9682, allocations: 15.39 kB / 0.5327 GB, free: 40.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005735/0.9687, allocations: 212.8 kB / 0.5329 GB, free: 40.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.9688, allocations: 4 kB / 0.533 GB, free: 40.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.666e-05/0.9688, allocations: 10.88 kB / 0.533 GB, free: 40.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.9688, allocations: 7.984 kB / 0.533 GB, free: 40.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005312/0.9694, allocations: 144.4 kB / 0.5331 GB, free: 40.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.9709, allocations: 0.9416 MB / 0.534 GB, free: 39.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005661/0.9715, allocations: 144.6 kB / 0.5342 GB, free: 39.15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005917/0.9721, allocations: 0.5076 MB / 0.5347 GB, free: 38.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.9722, allocations: 34.56 kB / 0.5347 GB, free: 38.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.615e-06/0.9722, allocations: 0 / 0.5347 GB, free: 38.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.003957/0.9762, allocations: 0.757 MB / 0.5354 GB, free: 37.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.9763, allocations: 59.36 kB / 0.5355 GB, free: 37.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.9764, allocations: 134.6 kB / 0.5356 GB, free: 37.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.9765, allocations: 32.89 kB / 0.5356 GB, free: 37.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.476e-05/0.9765, allocations: 146.9 kB / 0.5358 GB, free: 37.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.288e-05/0.9766, allocations: 65.27 kB / 0.5359 GB, free: 37.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/0.9766, allocations: 2.875 kB / 0.5359 GB, free: 37.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.165e-05/0.9767, allocations: 333.9 kB / 0.5362 GB, free: 37.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003841/0.9771, allocations: 79.02 kB / 0.5362 GB, free: 37.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004359/0.9776, allocations: 196.6 kB / 0.5364 GB, free: 36.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004239/0.978, allocations: 109.5 kB / 0.5365 GB, free: 36.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.978, allocations: 0 / 0.5365 GB, free: 36.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001043/0.9791, allocations: 313.5 kB / 0.5368 GB, free: 36.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.9791, allocations: 9.562 kB / 0.5368 GB, free: 36.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.9791, allocations: 8 kB / 0.5369 GB, free: 36.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.756e-05/0.9792, allocations: 4 kB / 0.5369 GB, free: 36.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006338/0.9798, allocations: 83.45 kB / 0.5369 GB, free: 36.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.9798, allocations: 7.938 kB / 0.5369 GB, free: 36.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004092/0.9803, allocations: 23.16 kB / 0.537 GB, free: 36.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.77e-05/0.9803, allocations: 19.17 kB / 0.537 GB, free: 36.4 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (37): * Single equations (assignments): 37 * 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 0.0001497/0.9805, allocations: 138.8 kB / 0.5371 GB, free: 36.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.997e-05/0.9806, allocations: 7.906 kB / 0.5371 GB, free: 36.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.9816, allocations: 240.6 kB / 0.5374 GB, free: 36.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.9816, allocations: 7.984 kB / 0.5374 GB, free: 36.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.9816, allocations: 0 / 0.5374 GB, free: 36.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.9816, allocations: 8 kB / 0.5374 GB, free: 36.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.9835, allocations: 0.5959 MB / 0.538 GB, free: 35.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.9835, allocations: 0 / 0.538 GB, free: 35.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004949/0.984, allocations: 51.89 kB / 0.538 GB, free: 35.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/0.984, allocations: 4 kB / 0.538 GB, free: 35.42 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/0.9841, allocations: 15.19 kB / 0.538 GB, free: 35.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.9841, allocations: 0 / 0.538 GB, free: 35.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.9841, allocations: 7.984 kB / 0.538 GB, free: 35.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.9854, allocations: 444.3 kB / 0.5385 GB, free: 34.99 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.103e-05/0.9855, allocations: 92.94 kB / 0.5385 GB, free: 34.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.261e-05/0.9855, allocations: 7.688 kB / 0.5385 GB, free: 34.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000388/0.9859, allocations: 16.05 kB / 0.5386 GB, free: 34.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.986, allocations: 15.75 kB / 0.5386 GB, free: 34.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-05/0.986, allocations: 11.98 kB / 0.5386 GB, free: 34.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.862e-05/0.9861, allocations: 112.5 kB / 0.5387 GB, free: 34.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.9861, allocations: 0 / 0.5387 GB, free: 34.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000513/0.9866, allocations: 67.61 kB / 0.5388 GB, free: 34.68 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (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 (20): * Single equations (assignments): 20 * 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.001679/0.9883, allocations: 1.297 MB / 0.54 GB, free: 33.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009238/0.9893, allocations: 219.7 kB / 0.5402 GB, free: 33.24 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.9893, allocations: 0 / 0.5402 GB, free: 33.24 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003799/0.9897, allocations: 87.19 kB / 0.5403 GB, free: 33.17 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004553/0.9902, allocations: 38.73 kB / 0.5404 GB, free: 33.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00349/0.9937, allocations: 3.505 MB / 0.5438 GB, free: 29.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.9939, allocations: 0.7168 MB / 0.5445 GB, free: 28.92 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000474/0.9944, allocations: 53.86 kB / 0.5445 GB, free: 28.87 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.9946, allocations: 49.91 kB / 0.5446 GB, free: 28.85 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.9946, allocations: 0 / 0.5446 GB, free: 28.85 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02501/1.02, allocations: 4.413 MB / 0.5489 GB, free: 24.48 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002633/1.02, allocations: 162.1 kB / 0.549 GB, free: 24.25 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.705/3.725, allocations: 4 kB / 0.549 GB, free: 24.25 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater_res.mat does not exist to compare? outputFormat=mat