Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Media.Examples.IdealGasH2O.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_1_cpp_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.055/1.055, allocations: 111.1 MB / 126.7 MB, free: 6.133 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002995/0.0002995, allocations: 11.98 kB / 158.4 MB, free: 15.1 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05581/0.05617, allocations: 25.17 MB / 183.6 MB, free: 5.891 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8912/0.9475, allocations: 290.8 MB / 474.4 MB, free: 5.422 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.9478, allocations: 59.09 kB / 474.5 MB, free: 5.395 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2472/1.195, allocations: 26.06 MB / 0.4888 GB, free: 77.02 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.824e-06/1.195, allocations: 3.938 kB / 0.4888 GB, free: 77.02 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/1.195, allocations: 0 / 0.4888 GB, free: 77.02 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001052/1.196, allocations: 439.1 kB / 0.4892 GB, free: 76.54 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/1.196, allocations: 12.03 kB / 0.4892 GB, free: 76.53 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.432e-05/1.196, allocations: 42.5 kB / 0.4893 GB, free: 76.48 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/1.196, allocations: 11.91 kB / 0.4893 GB, free: 76.46 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.256e-05/1.196, allocations: 167 kB / 0.4895 GB, free: 76.26 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/1.196, allocations: 0 / 0.4895 GB, free: 76.26 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/1.197, allocations: 12 kB / 0.4895 GB, free: 76.25 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/1.197, allocations: 113.5 kB / 0.4896 GB, free: 76.13 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/1.197, allocations: 3.984 kB / 0.4896 GB, free: 76.13 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/1.197, allocations: 0 / 0.4896 GB, free: 76.13 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/1.197, allocations: 3.953 kB / 0.4896 GB, free: 76.12 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004748/1.197, allocations: 155.9 kB / 0.4897 GB, free: 75.97 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007249/1.198, allocations: 364.7 kB / 0.4901 GB, free: 75.57 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/1.2, allocations: 170.3 kB / 0.4902 GB, free: 75.39 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001204/1.201, allocations: 1.014 MB / 0.4912 GB, free: 74.2 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/1.201, allocations: 38.67 kB / 0.4913 GB, free: 74.16 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 2.675e-06/1.201, allocations: 3.938 kB / 0.4913 GB, free: 74.15 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.002362/1.203, allocations: 331.4 kB / 0.4916 GB, free: 73.82 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/1.203, allocations: 51.41 kB / 0.4916 GB, free: 73.76 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.577e-05/1.203, allocations: 96.89 kB / 0.4917 GB, free: 73.66 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/1.203, allocations: 33.7 kB / 0.4918 GB, free: 73.62 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.528e-05/1.203, allocations: 162.4 kB / 0.4919 GB, free: 73.46 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.382e-05/1.203, allocations: 71.03 kB / 0.492 GB, free: 73.39 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.794e-05/1.203, allocations: 4 kB / 0.492 GB, free: 73.39 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.456e-05/1.204, allocations: 326.8 kB / 0.4923 GB, free: 73.06 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003271/1.204, allocations: 52.33 kB / 0.4924 GB, free: 73 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003463/1.204, allocations: 92.94 kB / 0.4924 GB, free: 72.9 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003522/1.205, allocations: 55.97 kB / 0.4925 GB, free: 72.84 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.205, allocations: 0 / 0.4925 GB, free: 72.84 MB / 234.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008201/1.205, allocations: 203.8 kB / 0.4927 GB, free: 72.64 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/1.205, allocations: 8 kB / 0.4927 GB, free: 72.63 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/1.206, allocations: 0 / 0.4927 GB, free: 72.63 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/1.206, allocations: 4 kB / 0.4927 GB, free: 72.63 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004189/1.206, allocations: 43.95 kB / 0.4927 GB, free: 72.59 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/1.206, allocations: 8.078 kB / 0.4927 GB, free: 72.58 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/1.206, allocations: 15.98 kB / 0.4928 GB, free: 72.56 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/1.206, allocations: 8 kB / 0.4928 GB, free: 72.55 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (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 prepare postOptimizeDAE: time 0.0001007/1.206, allocations: 121.8 kB / 0.4929 GB, free: 72.43 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.635e-05/1.206, allocations: 7.984 kB / 0.4929 GB, free: 72.42 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/1.207, allocations: 221.7 kB / 0.4931 GB, free: 72.2 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/1.208, allocations: 0 / 0.4931 GB, free: 72.2 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/1.208, allocations: 0 / 0.4931 GB, free: 72.2 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/1.208, allocations: 3.953 kB / 0.4931 GB, free: 72.2 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/1.209, allocations: 497.3 kB / 0.4936 GB, free: 71.65 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/1.209, allocations: 4 kB / 0.4936 GB, free: 71.64 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/1.209, allocations: 47.89 kB / 0.4936 GB, free: 71.6 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.794e-06/1.209, allocations: 8.016 kB / 0.4936 GB, free: 71.59 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/1.209, allocations: 4 kB / 0.4936 GB, free: 71.59 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/1.209, allocations: 0 / 0.4936 GB, free: 71.59 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.209, allocations: 0 / 0.4936 GB, free: 71.59 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007777/1.21, allocations: 304.1 kB / 0.4939 GB, free: 71.26 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.438e-05/1.21, allocations: 85.02 kB / 0.494 GB, free: 71.16 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.526e-05/1.21, allocations: 4 kB / 0.494 GB, free: 71.15 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/1.211, allocations: 11.98 kB / 0.494 GB, free: 71.14 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/1.211, allocations: 23.86 kB / 0.4941 GB, free: 71.12 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/1.211, allocations: 7.984 kB / 0.4941 GB, free: 71.11 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.291e-05/1.211, allocations: 83.28 kB / 0.4941 GB, free: 71.03 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.71e-07/1.211, allocations: 0 / 0.4941 GB, free: 71.03 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0007881/1.212, allocations: 115.9 kB / 0.4943 GB, free: 70.91 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (17): * Single equations (assignments): 17 * 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.002092/1.214, allocations: 1.459 MB / 0.4957 GB, free: 69.42 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0007864/1.214, allocations: 147.7 kB / 0.4958 GB, free: 69.27 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.214, allocations: 0 / 0.4958 GB, free: 69.27 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003425/1.215, allocations: 76.25 kB / 0.4959 GB, free: 69.2 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004616/1.215, allocations: 39.92 kB / 0.4959 GB, free: 69.16 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/1.217, allocations: 380.8 kB / 0.4963 GB, free: 68.73 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001846/1.217, allocations: 0.7012 MB / 0.497 GB, free: 68.01 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/1.217, allocations: 31.42 kB / 0.497 GB, free: 67.98 MB / 234.7 MB Notification: Performance of SimCode: time 6.91e-07/1.217, allocations: 0 / 0.497 GB, free: 67.98 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.703/3.92, allocations: 5.896 MB / 0.5028 GB, free: 62.09 MB / 234.7 MB