Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.25/2.25, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005959/0.0005961, allocations: 12 kB / 314.4 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4083, allocations: 54.87 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.5711/0.9795, allocations: 125.7 MB / 494.9 MB, free: 13.72 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002137/0.9817, allocations: 1.227 MB / 496.2 MB, free: 13.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.648e-05/0.9818, allocations: 0 / 496.2 MB, free: 13.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00031/0.9822, allocations: 46.52 kB / 496.2 MB, free: 13.63 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.9833, allocations: 280.7 kB / 496.5 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006369/0.984, allocations: 137.1 kB / 496.6 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.9843, allocations: 117.6 kB / 496.7 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.119e-05/0.9843, allocations: 3.281 kB / 496.7 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002407/0.9846, allocations: 82.59 kB / 496.8 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.9848, allocations: 45.06 kB / 496.8 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.9848, allocations: 2.75 kB / 496.9 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.9864, allocations: 438.4 kB / 497.3 MB, free: 13.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.666e-05/0.9865, allocations: 26.38 kB / 497.3 MB, free: 13.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.824e-05/0.9866, allocations: 43.05 kB / 497.3 MB, free: 13.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007239/0.9874, allocations: 258.9 kB / 497.6 MB, free: 13.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.9874, allocations: 0 / 497.6 MB, free: 13.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.9874, allocations: 2.562 kB / 497.6 MB, free: 13.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.9874, allocations: 0 / 497.6 MB, free: 13.52 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006567/0.9881, allocations: 409.8 kB / 498 MB, free: 13.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.9881, allocations: 9.844 kB / 498 MB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.822e-05/0.9882, allocations: 41.83 kB / 498.1 MB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003533/0.9917, allocations: 191.1 kB / 498.2 MB, free: 13.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.9922, allocations: 209.8 kB / 498.4 MB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.9922, allocations: 6.719 kB / 498.5 MB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.341e-05/0.9923, allocations: 7.656 kB / 498.5 MB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007417/0.993, allocations: 210.2 kB / 498.7 MB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.9931, allocations: 3.984 kB / 498.7 MB, free: 12.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.215e-05/0.9931, allocations: 4.812 kB / 498.7 MB, free: 12.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.9931, allocations: 2.281 kB / 498.7 MB, free: 12.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.9942, allocations: 239.6 kB / 498.9 MB, free: 12.83 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002909/0.9971, allocations: 0.6887 MB / 499.6 MB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007278/0.9978, allocations: 190.4 kB / 499.8 MB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000241/0.9981, allocations: 87.3 kB / 499.9 MB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.9982, allocations: 38.97 kB / 499.9 MB, free: 12.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.535e-06/0.9982, allocations: 0 / 499.9 MB, free: 12.27 MB / 410.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.009857/1.008, allocations: 1.531 MB / 0.4897 GB, free: 11.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/1.008, allocations: 60.39 kB / 0.4897 GB, free: 11.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/1.008, allocations: 112.4 kB / 0.4899 GB, free: 11.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.688e-05/1.008, allocations: 25.7 kB / 0.4899 GB, free: 11.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/1.008, allocations: 169.4 kB / 0.49 GB, free: 11.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.956e-05/1.009, allocations: 67.33 kB / 0.4901 GB, free: 11.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/1.009, allocations: 3.688 kB / 0.4901 GB, free: 11.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/1.009, allocations: 325.7 kB / 0.4904 GB, free: 10.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003495/1.009, allocations: 92.97 kB / 0.4905 GB, free: 10.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003878/1.009, allocations: 122.9 kB / 0.4906 GB, free: 10.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003972/1.01, allocations: 99.94 kB / 0.4907 GB, free: 10.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/1.01, allocations: 4 kB / 0.4907 GB, free: 10.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00102/1.011, allocations: 277.7 kB / 0.491 GB, free: 10.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/1.011, allocations: 7.125 kB / 0.491 GB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.011, allocations: 2.562 kB / 0.491 GB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002017/1.011, allocations: 27.05 kB / 0.491 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008475/1.012, allocations: 61.03 kB / 0.4911 GB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005327/1.013, allocations: 0.5341 MB / 0.4916 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005359/1.013, allocations: 10.62 kB / 0.4916 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.58e-05/1.013, allocations: 5.719 kB / 0.4916 GB, free: 10.31 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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.0002019/1.013, allocations: 131.2 kB / 0.4917 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.68e-05/1.014, allocations: 16.77 kB / 0.4918 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/1.015, allocations: 314.8 kB / 0.4921 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/1.015, allocations: 3.062 kB / 0.4921 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.015, allocations: 3.938 kB / 0.4921 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/1.015, allocations: 2.203 kB / 0.4921 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/1.017, allocations: 0.6738 MB / 0.4927 GB, free: 9.758 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.017, allocations: 0 / 0.4927 GB, free: 9.758 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008112/1.017, allocations: 51.5 kB / 0.4928 GB, free: 9.754 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001179/1.018, allocations: 22.64 kB / 0.4928 GB, free: 9.746 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.42e-05/1.018, allocations: 8.016 kB / 0.4928 GB, free: 9.746 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/1.019, allocations: 1.274 MB / 0.494 GB, free: 8.473 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.019, allocations: 2.188 kB / 0.494 GB, free: 8.473 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/1.02, allocations: 461.5 kB / 0.4945 GB, free: 8.289 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.358e-05/1.02, allocations: 88.02 kB / 0.4946 GB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.436e-05/1.02, allocations: 7.781 kB / 0.4946 GB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000588/1.021, allocations: 14.3 kB / 0.4946 GB, free: 8.184 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/1.021, allocations: 15.81 kB / 0.4946 GB, free: 8.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-05/1.021, allocations: 16.53 kB / 0.4946 GB, free: 8.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.321e-05/1.021, allocations: 84.84 kB / 0.4947 GB, free: 8.105 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.021, allocations: 0 / 0.4947 GB, free: 8.105 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000737/1.022, allocations: 130.4 kB / 0.4948 GB, free: 8.086 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (19): * Single equations (assignments): 18 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002523/1.025, allocations: 1.116 MB / 0.4959 GB, free: 7.348 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009673/1.026, allocations: 235.5 kB / 0.4961 GB, free: 7.336 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.026, allocations: 0 / 0.4961 GB, free: 7.336 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005953/1.026, allocations: 237 kB / 0.4964 GB, free: 7.215 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005765/1.027, allocations: 41.66 kB / 0.4964 GB, free: 7.211 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003158/1.03, allocations: 1.182 MB / 0.4976 GB, free: 6.578 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/1.03, allocations: 0.7173 MB / 0.4983 GB, free: 5.879 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003263/1.031, allocations: 46.14 kB / 0.4983 GB, free: 5.859 MB / 410.7 MB Notification: Performance of SimCode: time 1.243e-06/1.031, allocations: 2.688 kB / 0.4983 GB, free: 5.859 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.866/3.896, allocations: 5.781 MB / 0.504 GB, free: 2.832 MB / 410.7 MB