Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_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_cpp_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.688/1.688, allocations: 171.2 MB / 186.8 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003715, allocations: 8 kB / 233.3 MB, free: 2.938 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08931/0.08972, allocations: 38.76 MB / 272.1 MB, free: 12.1 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8623/0.9521, allocations: 263.2 MB / 0.5227 GB, free: 49.59 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/0.9524, allocations: 70.59 kB / 0.5228 GB, free: 49.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03345/0.9859, allocations: 9.401 MB / 0.532 GB, free: 41.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.9859, allocations: 0 / 0.532 GB, free: 41.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.986, allocations: 8 kB / 0.532 GB, free: 41.82 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.001083/0.9871, allocations: 459.1 kB / 0.5324 GB, free: 41.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.9871, allocations: 12.03 kB / 0.5324 GB, free: 41.32 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.83e-05/0.9872, allocations: 50 kB / 0.5325 GB, free: 41.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002284/0.9874, allocations: 19.89 kB / 0.5325 GB, free: 41.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.9877, allocations: 214.5 kB / 0.5327 GB, free: 41.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.9877, allocations: 8.156 kB / 0.5327 GB, free: 41.01 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.869e-05/0.9878, allocations: 19.58 kB / 0.5327 GB, free: 41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005447/0.9883, allocations: 214.9 kB / 0.5329 GB, free: 40.81 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.9884, allocations: 0 / 0.5329 GB, free: 40.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.599e-05/0.9884, allocations: 7.875 kB / 0.5329 GB, free: 40.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.435e-06/0.9884, allocations: 4 kB / 0.5329 GB, free: 40.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005251/0.989, allocations: 140.3 kB / 0.5331 GB, free: 40.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.9905, allocations: 0.9393 MB / 0.534 GB, free: 39.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000571/0.9911, allocations: 153.2 kB / 0.5341 GB, free: 39.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006185/0.9918, allocations: 0.5034 MB / 0.5346 GB, free: 39.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.9918, allocations: 38.56 kB / 0.5347 GB, free: 39.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.595e-06/0.9918, allocations: 0 / 0.5347 GB, free: 39.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.003958/0.9958, allocations: 0.7556 MB / 0.5354 GB, free: 38.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.9959, allocations: 59.36 kB / 0.5355 GB, free: 38.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.996, allocations: 138.9 kB / 0.5356 GB, free: 38.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.9961, allocations: 33.45 kB / 0.5356 GB, free: 38.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.37e-05/0.9961, allocations: 205.4 kB / 0.5358 GB, free: 37.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.887e-05/0.9962, allocations: 78.23 kB / 0.5359 GB, free: 37.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/0.9963, allocations: 10.5 kB / 0.5359 GB, free: 37.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.913e-05/0.9963, allocations: 325.1 kB / 0.5362 GB, free: 37.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003839/0.9967, allocations: 75.88 kB / 0.5363 GB, free: 37.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004376/0.9972, allocations: 193.9 kB / 0.5365 GB, free: 37.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004214/0.9976, allocations: 101.8 kB / 0.5366 GB, free: 37.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.9976, allocations: 8 kB / 0.5366 GB, free: 37.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001044/0.9987, allocations: 320.7 kB / 0.5369 GB, free: 36.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.9987, allocations: 4 kB / 0.5369 GB, free: 36.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.9987, allocations: 4 kB / 0.5369 GB, free: 36.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.587e-05/0.9988, allocations: 8 kB / 0.5369 GB, free: 36.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006461/0.9994, allocations: 79.88 kB / 0.537 GB, free: 36.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.9995, allocations: 11.94 kB / 0.537 GB, free: 36.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003851/0.9999, allocations: 30.66 kB / 0.537 GB, free: 36.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/0.9999, allocations: 14.75 kB / 0.537 GB, free: 36.82 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.0001424/1, allocations: 128.2 kB / 0.5372 GB, free: 36.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.005e-05/1, allocations: 15.81 kB / 0.5372 GB, free: 36.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/1.001, allocations: 235.9 kB / 0.5374 GB, free: 36.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/1.001, allocations: 0 / 0.5374 GB, free: 36.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/1.001, allocations: 4 kB / 0.5374 GB, free: 36.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/1.001, allocations: 7.922 kB / 0.5374 GB, free: 36.49 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/1.003, allocations: 0.5946 MB / 0.538 GB, free: 35.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/1.003, allocations: 0 / 0.538 GB, free: 35.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005154/1.004, allocations: 51.95 kB / 0.538 GB, free: 35.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/1.004, allocations: 0 / 0.538 GB, free: 35.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/1.004, allocations: 11.58 kB / 0.538 GB, free: 35.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/1.004, allocations: 11.94 kB / 0.5381 GB, free: 35.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.004, allocations: 0 / 0.5381 GB, free: 35.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/1.005, allocations: 443.5 kB / 0.5385 GB, free: 35.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/1.005, allocations: 88.95 kB / 0.5386 GB, free: 35.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.133e-05/1.005, allocations: 11.44 kB / 0.5386 GB, free: 35.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003797/1.005, allocations: 15.42 kB / 0.5386 GB, free: 35.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/1.005, allocations: 19.88 kB / 0.5386 GB, free: 35.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/1.006, allocations: 11.36 kB / 0.5386 GB, free: 35.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.358e-05/1.006, allocations: 117.5 kB / 0.5387 GB, free: 35.17 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.11e-07/1.006, allocations: 0 / 0.5387 GB, free: 35.17 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005327/1.006, allocations: 66.38 kB / 0.5388 GB, free: 35.11 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.00166/1.008, allocations: 1.293 MB / 0.5401 GB, free: 33.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009271/1.009, allocations: 216.3 kB / 0.5403 GB, free: 33.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/1.009, allocations: 0 / 0.5403 GB, free: 33.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003838/1.009, allocations: 101.3 kB / 0.5404 GB, free: 33.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004624/1.01, allocations: 31.66 kB / 0.5404 GB, free: 33.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/1.013, allocations: 3.528 MB / 0.5438 GB, free: 30.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/1.014, allocations: 0.7279 MB / 0.5446 GB, free: 29.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/1.014, allocations: 52.16 kB / 0.5446 GB, free: 29.29 MB / 362.7 MB Notification: Performance of SimCode: time 1.292e-06/1.014, allocations: 0 / 0.5446 GB, free: 29.29 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.851/3.865, allocations: 3.335 MB / 0.5479 GB, free: 25.96 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.SimpleLiquidWater_res.mat does not exist to compare? outputFormat=mat