Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.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) Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.022/2.022, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003577, allocations: 12 kB / 264 MB, free: 13.5 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1044, allocations: 44.51 MB / 308.5 MB, free: 0.918 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.47/1.574, allocations: 447.1 MB / 0.738 GB, free: 90.47 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/1.575, allocations: 80.14 kB / 0.738 GB, free: 90.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09744/1.672, allocations: 29.85 MB / 0.7672 GB, free: 65.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.954e-06/1.672, allocations: 0 / 0.7672 GB, free: 65.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.318e-05/1.672, allocations: 0 / 0.7672 GB, free: 65.41 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.0005094/1.673, allocations: 406.3 kB / 0.7676 GB, free: 64.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/1.673, allocations: 8.031 kB / 0.7676 GB, free: 64.96 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.466e-05/1.673, allocations: 37.62 kB / 0.7676 GB, free: 64.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002659/1.676, allocations: 189.4 kB / 0.7678 GB, free: 64.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/1.676, allocations: 200.5 kB / 0.768 GB, free: 64.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/1.676, allocations: 6.562 kB / 0.768 GB, free: 64.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.505e-05/1.676, allocations: 10.33 kB / 0.768 GB, free: 64.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000737/1.677, allocations: 222.6 kB / 0.7682 GB, free: 64.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/1.677, allocations: 0 / 0.7682 GB, free: 64.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.935e-05/1.677, allocations: 0 / 0.7682 GB, free: 64.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/1.677, allocations: 8 kB / 0.7682 GB, free: 64.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007384/1.678, allocations: 173 kB / 0.7684 GB, free: 64.22 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.001313/1.679, allocations: 0.5783 MB / 0.769 GB, free: 63.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004905/1.679, allocations: 140.9 kB / 0.7691 GB, free: 63.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.353e-05/1.679, allocations: 4 kB / 0.7691 GB, free: 63.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/1.68, allocations: 34.5 kB / 0.7691 GB, free: 63.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.555e-06/1.68, allocations: 0 / 0.7691 GB, free: 63.49 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.008572/1.688, allocations: 1.312 MB / 0.7704 GB, free: 62.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/1.688, allocations: 55.41 kB / 0.7705 GB, free: 62.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.513e-05/1.688, allocations: 104.9 kB / 0.7706 GB, free: 62.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.916e-05/1.688, allocations: 29.52 kB / 0.7706 GB, free: 62.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.647e-05/1.688, allocations: 162.3 kB / 0.7708 GB, free: 61.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.197e-05/1.688, allocations: 70.72 kB / 0.7708 GB, free: 61.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.7e-05/1.689, allocations: 4 kB / 0.7708 GB, free: 61.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.843e-05/1.689, allocations: 318.7 kB / 0.7711 GB, free: 61.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/1.689, allocations: 67.09 kB / 0.7712 GB, free: 61.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002645/1.689, allocations: 102.4 kB / 0.7713 GB, free: 61.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/1.689, allocations: 83.73 kB / 0.7714 GB, free: 61.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.689, allocations: 0 / 0.7714 GB, free: 61.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007467/1.69, allocations: 263.9 kB / 0.7716 GB, free: 61.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/1.69, allocations: 4 kB / 0.7716 GB, free: 61.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/1.69, allocations: 8.047 kB / 0.7716 GB, free: 61.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002722/1.691, allocations: 48.52 kB / 0.7717 GB, free: 61.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005202/1.691, allocations: 51.91 kB / 0.7717 GB, free: 61.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004367/1.692, allocations: 0.5635 MB / 0.7723 GB, free: 60.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002805/1.692, allocations: 11.78 kB / 0.7723 GB, free: 60.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.874e-05/1.692, allocations: 28.08 kB / 0.7723 GB, free: 60.45 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.0001561/1.692, allocations: 125.8 kB / 0.7724 GB, free: 60.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.233e-05/1.692, allocations: 11.91 kB / 0.7724 GB, free: 60.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/1.693, allocations: 351.7 kB / 0.7728 GB, free: 60.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/1.693, allocations: 4 kB / 0.7728 GB, free: 60.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.693, allocations: 0 / 0.7728 GB, free: 60.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/1.693, allocations: 3.938 kB / 0.7728 GB, free: 60.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/1.695, allocations: 0.6089 MB / 0.7734 GB, free: 59.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/1.695, allocations: 4 kB / 0.7734 GB, free: 59.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005614/1.695, allocations: 55.95 kB / 0.7734 GB, free: 59.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001191/1.695, allocations: 20.59 kB / 0.7735 GB, free: 59.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.019e-05/1.696, allocations: 15.86 kB / 0.7735 GB, free: 59.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000888/1.696, allocations: 1.278 MB / 0.7747 GB, free: 58.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/1.696, allocations: 0 / 0.7747 GB, free: 58.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/1.698, allocations: 471.8 kB / 0.7752 GB, free: 57.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.562e-05/1.698, allocations: 85.05 kB / 0.7753 GB, free: 57.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.158e-05/1.698, allocations: 15.36 kB / 0.7753 GB, free: 57.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003358/1.698, allocations: 11.56 kB / 0.7753 GB, free: 57.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.44e-05/1.698, allocations: 31.48 kB / 0.7753 GB, free: 57.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-05/1.698, allocations: 31.98 kB / 0.7753 GB, free: 57.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.104e-05/1.698, allocations: 82.66 kB / 0.7754 GB, free: 57.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.9e-07/1.698, allocations: 0 / 0.7754 GB, free: 57.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007198/1.699, allocations: 116.7 kB / 0.7755 GB, free: 57.24 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.002215/1.701, allocations: 1.617 MB / 0.7771 GB, free: 55.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007694/1.702, allocations: 204.8 kB / 0.7773 GB, free: 55.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.702, allocations: 0 / 0.7773 GB, free: 55.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004547/1.702, allocations: 226.5 kB / 0.7775 GB, free: 55.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005695/1.703, allocations: 50.7 kB / 0.7776 GB, free: 55.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002516/1.706, allocations: 1.588 MB / 0.7791 GB, free: 53.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001861/1.706, allocations: 0.7166 MB / 0.7798 GB, free: 52.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004068/1.706, allocations: 72.64 kB / 0.7799 GB, free: 52.93 MB / 410.7 MB Notification: Performance of SimCode: time 1.422e-06/1.706, allocations: 0 / 0.7799 GB, free: 52.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.06/4.766, allocations: 6.925 MB / 0.7867 GB, free: 46.02 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat