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.IdealGasN2.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.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.222/2.222, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004378/0.0004378, allocations: 12 kB / 314.4 MB, free: 9.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3813, allocations: 54.86 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.5741/0.9555, allocations: 125.5 MB / 494.8 MB, free: 13.85 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.957, allocations: 0.8161 MB / 495.6 MB, free: 13.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.298e-05/0.9571, allocations: 0 / 495.6 MB, free: 13.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.9574, allocations: 31.22 kB / 495.6 MB, free: 13.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007517/0.9582, allocations: 209.4 kB / 495.9 MB, free: 13.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004449/0.9586, allocations: 97.03 kB / 495.9 MB, free: 13.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.9589, allocations: 103.7 kB / 496 MB, free: 13.77 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.854e-05/0.9589, allocations: 11.39 kB / 496.1 MB, free: 13.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002636/0.9592, allocations: 85.11 kB / 496.1 MB, free: 13.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.9593, allocations: 44.11 kB / 496.2 MB, free: 13.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.9594, allocations: 3.719 kB / 496.2 MB, free: 13.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000871/0.9602, allocations: 283.2 kB / 496.5 MB, free: 13.74 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.553e-05/0.9603, allocations: 24.92 kB / 496.5 MB, free: 13.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.179e-05/0.9604, allocations: 44.58 kB / 496.5 MB, free: 13.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004457/0.9609, allocations: 187.5 kB / 496.7 MB, free: 13.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.9609, allocations: 0 / 496.7 MB, free: 13.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.9609, allocations: 0 / 496.7 MB, free: 13.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.9609, allocations: 1.969 kB / 496.7 MB, free: 13.69 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005534/0.9615, allocations: 386.9 kB / 497.1 MB, free: 13.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.9615, allocations: 7.844 kB / 497.1 MB, free: 13.31 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.259e-05/0.9616, allocations: 42.84 kB / 497.1 MB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003351/0.965, allocations: 189 kB / 497.3 MB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.9653, allocations: 205.5 kB / 497.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.9653, allocations: 2.656 kB / 497.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.709e-05/0.9654, allocations: 10.42 kB / 497.5 MB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007628/0.9662, allocations: 227.1 kB / 497.8 MB, free: 13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.9662, allocations: 0 / 497.8 MB, free: 13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.263e-05/0.9662, allocations: 9.406 kB / 497.8 MB, free: 13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.9663, allocations: 5.891 kB / 497.8 MB, free: 12.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007184/0.967, allocations: 171.2 kB / 497.9 MB, free: 12.99 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.001445/0.9685, allocations: 0.5793 MB / 498.5 MB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005017/0.969, allocations: 137.8 kB / 498.7 MB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.514e-05/0.969, allocations: 3.031 kB / 498.7 MB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.9691, allocations: 33.42 kB / 498.7 MB, free: 12.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.834e-06/0.9691, allocations: 4 kB / 498.7 MB, free: 12.46 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.008748/0.9778, allocations: 1.308 MB / 0.4883 GB, free: 11.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.9779, allocations: 54.28 kB / 0.4883 GB, free: 11.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.978, allocations: 117.3 kB / 0.4885 GB, free: 11.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.283e-05/0.9781, allocations: 28.52 kB / 0.4885 GB, free: 11.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.611e-05/0.9782, allocations: 173 kB / 0.4886 GB, free: 11.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.94e-05/0.9783, allocations: 67.23 kB / 0.4887 GB, free: 11.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.9783, allocations: 6.312 kB / 0.4887 GB, free: 11.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.9785, allocations: 315.2 kB / 0.489 GB, free: 11.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.9787, allocations: 68.11 kB / 0.4891 GB, free: 11.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003351/0.9791, allocations: 109 kB / 0.4892 GB, free: 11.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004477/0.9796, allocations: 84.84 kB / 0.4893 GB, free: 11.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.9796, allocations: 2.375 kB / 0.4893 GB, free: 11.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001121/0.9807, allocations: 249 kB / 0.4895 GB, free: 11.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.9808, allocations: 10.92 kB / 0.4895 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.9808, allocations: 6.906 kB / 0.4895 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003374/0.9811, allocations: 44.92 kB / 0.4896 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007596/0.9819, allocations: 60.47 kB / 0.4896 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007316/0.9827, allocations: 0.5565 MB / 0.4902 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004291/0.9831, allocations: 13.11 kB / 0.4902 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.638e-05/0.9832, allocations: 25.28 kB / 0.4902 GB, free: 10.61 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.0002473/0.9835, allocations: 134.2 kB / 0.4903 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.922e-05/0.9836, allocations: 9.625 kB / 0.4903 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00184/0.9855, allocations: 348.1 kB / 0.4907 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.9855, allocations: 2.844 kB / 0.4907 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.9855, allocations: 4 kB / 0.4907 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.9856, allocations: 2.156 kB / 0.4907 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001996/0.9876, allocations: 0.6208 MB / 0.4913 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.463e-06/0.9876, allocations: 0 / 0.4913 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008445/0.9885, allocations: 61.41 kB / 0.4913 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001557/0.9886, allocations: 24.98 kB / 0.4914 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.074e-05/0.9887, allocations: 18.61 kB / 0.4914 GB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/0.9903, allocations: 1.269 MB / 0.4926 GB, free: 8.766 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.9904, allocations: 3.938 kB / 0.4926 GB, free: 8.762 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/0.9919, allocations: 426.6 kB / 0.493 GB, free: 8.586 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.933e-05/0.992, allocations: 94.73 kB / 0.4931 GB, free: 8.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.916e-05/0.9921, allocations: 4.656 kB / 0.4931 GB, free: 8.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005352/0.9926, allocations: 8.172 kB / 0.4931 GB, free: 8.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.553e-05/0.9928, allocations: 30.2 kB / 0.4932 GB, free: 8.473 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.435e-05/0.9929, allocations: 32.22 kB / 0.4932 GB, free: 8.473 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.858e-05/0.993, allocations: 88.73 kB / 0.4933 GB, free: 8.398 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.993, allocations: 4.062 kB / 0.4933 GB, free: 8.395 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009284/0.9939, allocations: 79.2 kB / 0.4934 GB, free: 8.391 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 (21): * 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: 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.002509/0.9965, allocations: 1.002 MB / 0.4943 GB, free: 7.676 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.9976, allocations: 207.2 kB / 0.4945 GB, free: 7.664 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.9977, allocations: 0 / 0.4945 GB, free: 7.664 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007336/0.9984, allocations: 220.8 kB / 0.4947 GB, free: 7.547 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008614/0.9993, allocations: 51.11 kB / 0.4948 GB, free: 7.539 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003846/1.003, allocations: 1.117 MB / 0.4959 GB, free: 6.914 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/1.004, allocations: 0.7202 MB / 0.4966 GB, free: 6.207 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006457/1.004, allocations: 71.88 kB / 0.4967 GB, free: 6.199 MB / 410.7 MB Notification: Performance of SimCode: time 1.503e-06/1.004, allocations: 4 kB / 0.4967 GB, free: 6.195 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.786/3.791, allocations: 4.404 MB / 0.501 GB, free: 4.188 MB / 410.7 MB