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.033/1.033, allocations: 111.1 MB / 126.7 MB, free: 6.137 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002638/0.0002639, allocations: 8 kB / 158.4 MB, free: 15.08 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05645/0.05674, allocations: 25.17 MB / 183.6 MB, free: 5.875 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8379/0.8947, allocations: 296.5 MB / 480.1 MB, free: 196 kB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/0.895, allocations: 65.2 kB / 480.1 MB, free: 160 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2474/1.142, allocations: 31.15 MB / 0.4993 GB, free: 66.96 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.733e-06/1.143, allocations: 0 / 0.4993 GB, free: 66.96 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.284e-05/1.143, allocations: 0 / 0.4993 GB, free: 66.96 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.0005152/1.143, allocations: 399.4 kB / 0.4997 GB, free: 66.52 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/1.143, allocations: 12.03 kB / 0.4997 GB, free: 66.51 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.758e-05/1.143, allocations: 42.55 kB / 0.4997 GB, free: 66.46 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/1.143, allocations: 19.84 kB / 0.4997 GB, free: 66.44 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/1.143, allocations: 186.9 kB / 0.4999 GB, free: 66.22 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/1.143, allocations: 8 kB / 0.4999 GB, free: 66.21 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/1.143, allocations: 4 kB / 0.4999 GB, free: 66.21 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/1.144, allocations: 132.1 kB / 0.5001 GB, free: 66.06 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/1.144, allocations: 0 / 0.5001 GB, free: 66.06 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/1.144, allocations: 7.953 kB / 0.5001 GB, free: 66.05 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/1.144, allocations: 8 kB / 0.5001 GB, free: 66.05 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002043/1.144, allocations: 104.1 kB / 0.5002 GB, free: 65.95 MB / 234.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.0009409/1.145, allocations: 0.6364 MB / 0.5008 GB, free: 65.23 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003372/1.145, allocations: 147.1 kB / 0.5009 GB, free: 65.07 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005447/1.146, allocations: 0.5785 MB / 0.5015 GB, free: 64.36 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/1.146, allocations: 38.5 kB / 0.5015 GB, free: 64.32 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 2.124e-06/1.146, allocations: 0 / 0.5015 GB, free: 64.32 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.007693/1.154, allocations: 1.207 MB / 0.5027 GB, free: 63.02 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/1.154, allocations: 55.41 kB / 0.5028 GB, free: 62.95 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.786e-05/1.154, allocations: 101 kB / 0.5029 GB, free: 62.84 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/1.154, allocations: 29.7 kB / 0.5029 GB, free: 62.81 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/1.154, allocations: 170.7 kB / 0.5031 GB, free: 62.64 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.044e-05/1.154, allocations: 63.02 kB / 0.5031 GB, free: 62.58 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.958e-05/1.154, allocations: 4 kB / 0.5031 GB, free: 62.57 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.14e-05/1.154, allocations: 318.8 kB / 0.5034 GB, free: 62.25 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/1.154, allocations: 56.16 kB / 0.5035 GB, free: 62.2 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/1.154, allocations: 87.73 kB / 0.5036 GB, free: 62.1 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/1.155, allocations: 63.92 kB / 0.5036 GB, free: 62.04 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.155, allocations: 0 / 0.5036 GB, free: 62.04 MB / 234.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005677/1.155, allocations: 236.6 kB / 0.5039 GB, free: 61.8 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/1.155, allocations: 4 kB / 0.5039 GB, free: 61.8 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/1.155, allocations: 7.984 kB / 0.5039 GB, free: 61.79 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002467/1.156, allocations: 48.83 kB / 0.5039 GB, free: 61.74 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003629/1.156, allocations: 51.91 kB / 0.504 GB, free: 61.69 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004239/1.156, allocations: 0.5642 MB / 0.5045 GB, free: 61.1 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/1.157, allocations: 4.031 kB / 0.5045 GB, free: 61.1 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-05/1.157, allocations: 31.97 kB / 0.5045 GB, free: 61.07 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" fixed = true 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" fixed = true 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 () * 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.0002395/1.157, allocations: 137.5 kB / 0.5047 GB, free: 60.92 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.502e-05/1.157, allocations: 11.91 kB / 0.5047 GB, free: 60.91 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/1.158, allocations: 324 kB / 0.505 GB, free: 60.59 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/1.158, allocations: 3.984 kB / 0.505 GB, free: 60.59 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.158, allocations: 4 kB / 0.505 GB, free: 60.58 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/1.158, allocations: 0 / 0.505 GB, free: 60.58 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/1.159, allocations: 0.5735 MB / 0.5056 GB, free: 59.94 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/1.159, allocations: 4 kB / 0.5056 GB, free: 59.94 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004064/1.159, allocations: 55.97 kB / 0.5056 GB, free: 59.88 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001103/1.16, allocations: 28.88 kB / 0.5056 GB, free: 59.85 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.318e-05/1.16, allocations: 11.98 kB / 0.5057 GB, free: 59.84 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008743/1.161, allocations: 1.28 MB / 0.5069 GB, free: 58.43 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/1.161, allocations: 0 / 0.5069 GB, free: 58.43 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007283/1.161, allocations: 422.9 kB / 0.5073 GB, free: 57.97 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.286e-05/1.161, allocations: 88.95 kB / 0.5074 GB, free: 57.87 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/1.161, allocations: 8 kB / 0.5074 GB, free: 57.86 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/1.162, allocations: 11.94 kB / 0.5074 GB, free: 57.85 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.608e-05/1.162, allocations: 23.97 kB / 0.5074 GB, free: 57.82 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.314e-05/1.162, allocations: 23.98 kB / 0.5075 GB, free: 57.8 MB / 234.7 MB Notification: Performance of sorting global known variables: time 5.185e-05/1.162, allocations: 99.62 kB / 0.5076 GB, free: 57.7 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.162, allocations: 0 / 0.5076 GB, free: 57.7 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0008928/1.163, allocations: 139.9 kB / 0.5077 GB, free: 57.57 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 () * Number of clocked 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.002267/1.165, allocations: 1.658 MB / 0.5093 GB, free: 55.85 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0005676/1.166, allocations: 184.4 kB / 0.5095 GB, free: 55.67 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/1.166, allocations: 3.938 kB / 0.5095 GB, free: 55.67 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003394/1.166, allocations: 194.6 kB / 0.5097 GB, free: 55.46 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005773/1.167, allocations: 52.02 kB / 0.5097 GB, free: 55.41 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/1.169, allocations: 1.546 MB / 0.5112 GB, free: 53.79 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001691/1.169, allocations: 0.7166 MB / 0.5119 GB, free: 53.04 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003197/1.169, allocations: 67.41 kB / 0.512 GB, free: 52.98 MB / 234.7 MB Notification: Performance of SimCode: time 1.072e-06/1.169, allocations: 0 / 0.512 GB, free: 52.98 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.957/4.126, allocations: 7.723 MB / 0.5195 GB, free: 45.25 MB / 234.7 MB