Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.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.TestOnly.IdealGasN2,fileNamePrefix="Modelica_3_1_cpp_Modelica_Media_Examples_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.007/1.007, allocations: 111.2 MB / 124.2 MB, free: 11.17 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.732e-05/2.741e-05, allocations: 4 kB / 154.4 MB, free: 13.07 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.172, allocations: 25.16 MB / 179.5 MB, free: 0.7227 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8581/1.03, allocations: 296.4 MB / 475.9 MB, free: 36.3 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/1.03, allocations: 67.66 kB / 476 MB, free: 36.27 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1042/1.135, allocations: 31.05 MB / 0.4951 GB, free: 7.988 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.452e-06/1.135, allocations: 224 / 0.4951 GB, free: 7.988 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.437e-05/1.135, allocations: 7.922 kB / 0.4951 GB, free: 7.98 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004983/1.135, allocations: 394.5 kB / 0.4955 GB, free: 7.551 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/1.135, allocations: 12.03 kB / 0.4955 GB, free: 7.539 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.571e-05/1.135, allocations: 42.55 kB / 0.4956 GB, free: 7.488 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.397e-05/1.135, allocations: 11.91 kB / 0.4956 GB, free: 7.477 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/1.136, allocations: 190.9 kB / 0.4958 GB, free: 7.25 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/1.136, allocations: 8 kB / 0.4958 GB, free: 7.242 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/1.136, allocations: 8 kB / 0.4958 GB, free: 7.234 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/1.136, allocations: 123 kB / 0.4959 GB, free: 7.102 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/1.136, allocations: 4 kB / 0.4959 GB, free: 7.098 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/1.136, allocations: 7.953 kB / 0.4959 GB, free: 7.09 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/1.136, allocations: 4 kB / 0.4959 GB, free: 7.086 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002019/1.136, allocations: 103.9 kB / 0.496 GB, free: 6.984 MB / 234.7 MB Warning: The model contains alias variables with conflicting start and/or 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.0009041/1.137, allocations: 0.6403 MB / 0.4966 GB, free: 6.262 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003316/1.137, allocations: 134.6 kB / 0.4968 GB, free: 6.121 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/1.138, allocations: 44.86 kB / 0.4968 GB, free: 6.074 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005592/1.138, allocations: 0.5788 MB / 0.4974 GB, free: 5.367 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/1.138, allocations: 34.56 kB / 0.4974 GB, free: 5.324 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 3.507e-06/1.138, allocations: 0 / 0.4974 GB, free: 5.324 MB / 234.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.00712/1.145, allocations: 1.045 MB / 0.4984 GB, free: 4.199 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/1.145, allocations: 51.41 kB / 0.4985 GB, free: 4.137 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.193e-05/1.146, allocations: 105 kB / 0.4986 GB, free: 4.027 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/1.146, allocations: 29.7 kB / 0.4986 GB, free: 3.992 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.065e-05/1.146, allocations: 166.7 kB / 0.4988 GB, free: 3.828 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.537e-05/1.146, allocations: 67.03 kB / 0.4988 GB, free: 3.762 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.887e-05/1.146, allocations: 7.938 kB / 0.4988 GB, free: 3.754 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.014e-05/1.146, allocations: 326.8 kB / 0.4991 GB, free: 3.426 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/1.146, allocations: 44.19 kB / 0.4992 GB, free: 3.383 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/1.146, allocations: 79.8 kB / 0.4993 GB, free: 3.293 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/1.146, allocations: 65.09 kB / 0.4993 GB, free: 3.23 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/1.146, allocations: 0 / 0.4993 GB, free: 3.23 MB / 234.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000549/1.147, allocations: 230.5 kB / 0.4995 GB, free: 3 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/1.147, allocations: 8 kB / 0.4995 GB, free: 2.992 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/1.147, allocations: 0 / 0.4995 GB, free: 2.992 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002275/1.147, allocations: 52.77 kB / 0.4996 GB, free: 2.938 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000368/1.147, allocations: 51.97 kB / 0.4996 GB, free: 2.887 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004061/1.148, allocations: 0.5719 MB / 0.5002 GB, free: 2.289 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/1.148, allocations: 7.906 kB / 0.5002 GB, free: 2.281 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.276e-05/1.148, allocations: 24 kB / 0.5002 GB, free: 2.258 MB / 234.7 MB Warning: Assuming fixed start value for the following 2 variables: medium.T:VARIABLE(min = max(200.0, 200.0) max = min(6000.0, 6000.0) start = 300.0 unit = "K" nominal = 500.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real medium.p:VARIABLE(min = max(0.0, 2000.0) max = min(100000000.0, 1000000000.0) start = 100000.0 unit = "Pa" nominal = 100000.0 stateSelect=StateSelect.prefer ) "Absolute pressure of medium" type: Real 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 () * 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.000202/1.148, allocations: 139.2 kB / 0.5004 GB, free: 2.117 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.448e-05/1.148, allocations: 7.906 kB / 0.5004 GB, free: 2.109 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/1.149, allocations: 312.9 kB / 0.5007 GB, free: 1.793 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/1.149, allocations: 8 kB / 0.5007 GB, free: 1.785 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/1.149, allocations: 0 / 0.5007 GB, free: 1.785 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/1.149, allocations: 3.984 kB / 0.5007 GB, free: 1.781 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009521/1.15, allocations: 0.5602 MB / 0.5012 GB, free: 1.152 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/1.15, allocations: 0 / 0.5012 GB, free: 1.152 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004377/1.151, allocations: 63.89 kB / 0.5013 GB, free: 1.09 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001032/1.151, allocations: 24.94 kB / 0.5013 GB, free: 1.062 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.145e-05/1.151, allocations: 12 kB / 0.5013 GB, free: 1.051 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1742/1.325, allocations: 1.26 MB / 0.5026 GB, free: 65.79 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/1.325, allocations: 1.031 kB / 0.5026 GB, free: 65.79 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009495/1.326, allocations: 423.2 kB / 0.503 GB, free: 65.58 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.855e-05/1.326, allocations: 87.83 kB / 0.503 GB, free: 65.48 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.219e-05/1.326, allocations: 6.719 kB / 0.5031 GB, free: 65.48 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/1.327, allocations: 8.547 kB / 0.5031 GB, free: 65.48 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.173e-05/1.327, allocations: 25 kB / 0.5031 GB, free: 65.48 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.79e-05/1.327, allocations: 28.25 kB / 0.5031 GB, free: 65.48 MB / 234.7 MB Notification: Performance of sorting global known variables: time 5.639e-05/1.327, allocations: 88.03 kB / 0.5032 GB, free: 65.41 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.4e-07/1.327, allocations: 0.5312 kB / 0.5032 GB, free: 65.41 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0009246/1.328, allocations: 149 kB / 0.5033 GB, free: 65.41 MB / 234.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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.002733/1.331, allocations: 1.657 MB / 0.505 GB, free: 64.45 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0006561/1.331, allocations: 173.1 kB / 0.5051 GB, free: 64.45 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/1.331, allocations: 1.312 kB / 0.5051 GB, free: 64.45 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003634/1.332, allocations: 204.9 kB / 0.5053 GB, free: 64.34 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005604/1.332, allocations: 45.31 kB / 0.5054 GB, free: 64.34 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/1.334, allocations: 425.9 kB / 0.5058 GB, free: 64.15 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001759/1.334, allocations: 0.7111 MB / 0.5065 GB, free: 63.45 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003179/1.334, allocations: 65.97 kB / 0.5065 GB, free: 63.45 MB / 234.7 MB Notification: Performance of SimCode: time 1.202e-06/1.334, allocations: 2.125 kB / 0.5065 GB, free: 63.45 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.907/4.241, allocations: 7.685 MB / 0.514 GB, free: 62.8 MB / 234.7 MB