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.026/1.026, allocations: 111.2 MB / 124.2 MB, free: 11.17 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.683e-05/2.701e-05, allocations: 3.938 kB / 154.4 MB, free: 13.07 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.172, allocations: 25.15 MB / 179.5 MB, free: 0.7148 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8246/0.9966, allocations: 290.7 MB / 470.3 MB, free: 41.67 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001829/0.9968, allocations: 56.67 kB / 470.3 MB, free: 41.64 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0884/1.085, allocations: 25.97 MB / 496.3 MB, free: 18.86 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.653e-06/1.085, allocations: 0 / 496.3 MB, free: 18.86 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/1.085, allocations: 0 / 496.3 MB, free: 18.86 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.001044/1.086, allocations: 442.1 kB / 496.7 MB, free: 18.38 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/1.086, allocations: 16.02 kB / 496.7 MB, free: 18.37 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.221e-05/1.087, allocations: 38.56 kB / 496.8 MB, free: 18.32 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/1.087, allocations: 0 / 496.8 MB, free: 18.32 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.982e-05/1.087, allocations: 171 kB / 496.9 MB, free: 18.11 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/1.087, allocations: 4 kB / 496.9 MB, free: 18.11 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/1.087, allocations: 8 kB / 497 MB, free: 18.1 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/1.087, allocations: 107.6 kB / 497.1 MB, free: 17.99 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/1.087, allocations: 7.875 kB / 497.1 MB, free: 17.98 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/1.087, allocations: 0 / 497.1 MB, free: 17.98 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/1.087, allocations: 3.984 kB / 497.1 MB, free: 17.98 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002595/1.087, allocations: 143.9 kB / 497.2 MB, free: 17.84 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007458/1.088, allocations: 364.6 kB / 497.6 MB, free: 17.43 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/1.089, allocations: 142.5 kB / 497.7 MB, free: 17.29 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.676e-05/1.089, allocations: 48.78 kB / 497.8 MB, free: 17.23 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001203/1.091, allocations: 1.023 MB / 498.8 MB, free: 16.04 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/1.091, allocations: 38.56 kB / 498.8 MB, free: 15.99 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 2.795e-06/1.091, allocations: 0 / 498.8 MB, free: 15.99 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.001616/1.092, allocations: 245.9 kB / 499.1 MB, free: 15.75 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/1.092, allocations: 51.41 kB / 499.1 MB, free: 15.68 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.925e-05/1.092, allocations: 100.9 kB / 499.2 MB, free: 15.58 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/1.092, allocations: 29.7 kB / 499.2 MB, free: 15.54 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/1.092, allocations: 167 kB / 499.4 MB, free: 15.38 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.917e-05/1.092, allocations: 59.11 kB / 499.5 MB, free: 15.32 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.955e-05/1.093, allocations: 4 kB / 499.5 MB, free: 15.32 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.986e-05/1.093, allocations: 322.8 kB / 499.8 MB, free: 14.99 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/1.093, allocations: 36.38 kB / 499.8 MB, free: 14.95 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/1.093, allocations: 73.03 kB / 499.9 MB, free: 14.87 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/1.093, allocations: 58.05 kB / 499.9 MB, free: 14.81 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.093, allocations: 0 / 499.9 MB, free: 14.81 MB / 234.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004176/1.093, allocations: 161.4 kB / 0.4884 GB, free: 14.65 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/1.093, allocations: 4 kB / 0.4884 GB, free: 14.64 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/1.094, allocations: 4 kB / 0.4884 GB, free: 14.64 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/1.094, allocations: 4.109 kB / 0.4884 GB, free: 14.64 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004389/1.094, allocations: 55.84 kB / 0.4884 GB, free: 14.58 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/1.094, allocations: 0 / 0.4884 GB, free: 14.58 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002672/1.094, allocations: 15.98 kB / 0.4884 GB, free: 14.57 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/1.094, allocations: 4 kB / 0.4885 GB, free: 14.56 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 () * 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 8.555e-05/1.094, allocations: 120.9 kB / 0.4886 GB, free: 14.44 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.744e-05/1.094, allocations: 4 kB / 0.4886 GB, free: 14.43 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006496/1.095, allocations: 199.9 kB / 0.4888 GB, free: 14.24 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/1.095, allocations: 0 / 0.4888 GB, free: 14.24 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/1.095, allocations: 7.938 kB / 0.4888 GB, free: 14.23 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/1.095, allocations: 4 kB / 0.4888 GB, free: 14.23 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/1.096, allocations: 473.5 kB / 0.4892 GB, free: 13.7 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/1.096, allocations: 0 / 0.4892 GB, free: 13.7 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003682/1.097, allocations: 35.97 kB / 0.4893 GB, free: 13.67 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/1.097, allocations: 0 / 0.4893 GB, free: 13.67 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/1.097, allocations: 11.92 kB / 0.4893 GB, free: 13.66 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/1.097, allocations: 0 / 0.4893 GB, free: 13.66 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.097, allocations: 4 kB / 0.4893 GB, free: 13.65 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003801/1.097, allocations: 268.5 kB / 0.4895 GB, free: 13.36 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.396e-05/1.097, allocations: 85 kB / 0.4896 GB, free: 13.25 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/1.097, allocations: 4 kB / 0.4896 GB, free: 13.25 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/1.097, allocations: 15.94 kB / 0.4896 GB, free: 13.23 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.851e-05/1.098, allocations: 15.98 kB / 0.4896 GB, free: 13.22 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/1.098, allocations: 4 kB / 0.4897 GB, free: 13.21 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.272e-05/1.098, allocations: 87.41 kB / 0.4897 GB, free: 13.13 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.098, allocations: 0 / 0.4897 GB, free: 13.13 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0007106/1.098, allocations: 115.9 kB / 0.4898 GB, free: 13.02 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 () * 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.001652/1.1, allocations: 1.442 MB / 0.4913 GB, free: 11.54 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.000382/1.1, allocations: 109.4 kB / 0.4914 GB, free: 11.44 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.1, allocations: 4.062 kB / 0.4914 GB, free: 11.43 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/1.101, allocations: 59.86 kB / 0.4914 GB, free: 11.38 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/1.101, allocations: 35.89 kB / 0.4915 GB, free: 11.34 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009136/1.102, allocations: 250.8 kB / 0.4917 GB, free: 11.05 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/1.102, allocations: 0.6934 MB / 0.4924 GB, free: 10.33 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/1.102, allocations: 35.42 kB / 0.4924 GB, free: 10.29 MB / 234.7 MB Notification: Performance of SimCode: time 1.142e-06/1.102, allocations: 0 / 0.4924 GB, free: 10.29 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.613/3.716, allocations: 5.915 MB / 0.4982 GB, free: 4.379 MB / 234.7 MB