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.292/2.292, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.534e-05/3.551e-05, allocations: 4 kB / 309.8 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4028, allocations: 54.85 MB / 364.6 MB, free: 5.414 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.263/1.666, allocations: 456.4 MB / 0.8018 GB, free: 95.61 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/1.666, allocations: 68.03 kB / 0.8019 GB, free: 95.57 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09915/1.765, allocations: 29.82 MB / 0.831 GB, free: 70.62 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.493e-06/1.766, allocations: 0 / 0.831 GB, free: 70.62 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.358e-05/1.766, allocations: 3.938 kB / 0.831 GB, free: 70.61 MB / 490.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.0005065/1.766, allocations: 384.6 kB / 0.8313 GB, free: 70.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/1.766, allocations: 8.031 kB / 0.8314 GB, free: 70.2 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.129e-05/1.766, allocations: 41.86 kB / 0.8314 GB, free: 70.15 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002639/1.769, allocations: 182.8 kB / 0.8316 GB, free: 69.99 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/1.769, allocations: 212.7 kB / 0.8318 GB, free: 69.76 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.639e-06/1.769, allocations: 4 kB / 0.8318 GB, free: 69.75 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.68e-05/1.769, allocations: 11.88 kB / 0.8318 GB, free: 69.75 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005368/1.77, allocations: 206 kB / 0.832 GB, free: 69.58 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/1.77, allocations: 0 / 0.832 GB, free: 69.58 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.835e-05/1.77, allocations: 0 / 0.832 GB, free: 69.58 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/1.77, allocations: 7.953 kB / 0.832 GB, free: 69.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004695/1.77, allocations: 152.8 kB / 0.8321 GB, free: 69.48 MB / 490.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.001216/1.772, allocations: 0.5956 MB / 0.8327 GB, free: 68.88 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003647/1.772, allocations: 122.3 kB / 0.8328 GB, free: 68.79 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/1.772, allocations: 62.34 kB / 0.8329 GB, free: 68.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/1.772, allocations: 11.98 kB / 0.8329 GB, free: 68.74 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/1.772, allocations: 34.5 kB / 0.8329 GB, free: 68.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 2.314e-06/1.772, allocations: 0 / 0.8329 GB, free: 68.7 MB / 490.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.007438/1.78, allocations: 1.093 MB / 0.834 GB, free: 67.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/1.78, allocations: 51.41 kB / 0.8341 GB, free: 67.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.692e-05/1.78, allocations: 100.9 kB / 0.8342 GB, free: 67.51 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/1.78, allocations: 33.14 kB / 0.8342 GB, free: 67.48 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.13e-05/1.78, allocations: 173.9 kB / 0.8344 GB, free: 67.31 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.558e-05/1.78, allocations: 65.44 kB / 0.8344 GB, free: 67.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/1.78, allocations: 0 / 0.8344 GB, free: 67.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.234e-05/1.78, allocations: 326.3 kB / 0.8347 GB, free: 66.93 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/1.78, allocations: 68.67 kB / 0.8348 GB, free: 66.89 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/1.78, allocations: 96.42 kB / 0.8349 GB, free: 66.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/1.781, allocations: 80.72 kB / 0.835 GB, free: 66.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/1.781, allocations: 0 / 0.835 GB, free: 66.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005907/1.781, allocations: 242.8 kB / 0.8352 GB, free: 66.56 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/1.781, allocations: 4 kB / 0.8352 GB, free: 66.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.781, allocations: 4 kB / 0.8352 GB, free: 66.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002291/1.782, allocations: 56.78 kB / 0.8353 GB, free: 66.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005486/1.782, allocations: 59.83 kB / 0.8353 GB, free: 66.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004086/1.783, allocations: 0.5632 MB / 0.8359 GB, free: 65.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002681/1.783, allocations: 11.33 kB / 0.8359 GB, free: 65.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.87e-05/1.783, allocations: 24 kB / 0.8359 GB, free: 65.84 MB / 490.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 () * 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.0001053/1.783, allocations: 116.5 kB / 0.836 GB, free: 65.72 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.863e-05/1.783, allocations: 11.91 kB / 0.836 GB, free: 65.71 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/1.784, allocations: 333.9 kB / 0.8363 GB, free: 65.45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/1.784, allocations: 7.953 kB / 0.8363 GB, free: 65.44 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.784, allocations: 0 / 0.8363 GB, free: 65.44 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/1.784, allocations: 3.984 kB / 0.8363 GB, free: 65.44 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/1.785, allocations: 0.5988 MB / 0.8369 GB, free: 64.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/1.785, allocations: 4 kB / 0.8369 GB, free: 64.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005904/1.786, allocations: 63.89 kB / 0.837 GB, free: 64.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.433e-05/1.786, allocations: 20.34 kB / 0.837 GB, free: 64.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.993e-05/1.786, allocations: 15.23 kB / 0.837 GB, free: 64.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008056/1.787, allocations: 1.262 MB / 0.8383 GB, free: 63.41 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.787, allocations: 4.031 kB / 0.8383 GB, free: 63.41 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007851/1.788, allocations: 463.1 kB / 0.8387 GB, free: 62.99 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.594e-05/1.788, allocations: 88.97 kB / 0.8388 GB, free: 62.89 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.523e-05/1.788, allocations: 3.562 kB / 0.8388 GB, free: 62.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003336/1.788, allocations: 11.67 kB / 0.8388 GB, free: 62.88 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.348e-05/1.788, allocations: 20.05 kB / 0.8388 GB, free: 62.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.757e-05/1.788, allocations: 35.48 kB / 0.8389 GB, free: 62.83 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.618e-05/1.788, allocations: 95.08 kB / 0.839 GB, free: 62.74 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.71e-07/1.788, allocations: 0 / 0.839 GB, free: 62.74 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006755/1.789, allocations: 113.3 kB / 0.8391 GB, free: 62.65 MB / 490.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 (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.001937/1.791, allocations: 1.629 MB / 0.8407 GB, free: 61.06 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005891/1.792, allocations: 187.9 kB / 0.8408 GB, free: 60.93 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.792, allocations: 0 / 0.8408 GB, free: 60.93 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003754/1.792, allocations: 220.2 kB / 0.841 GB, free: 60.73 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000535/1.793, allocations: 45.11 kB / 0.8411 GB, free: 60.69 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/1.794, allocations: 416.7 kB / 0.8415 GB, free: 60.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/1.794, allocations: 0.7088 MB / 0.8422 GB, free: 59.54 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000416/1.794, allocations: 73.47 kB / 0.8422 GB, free: 59.48 MB / 490.7 MB Notification: Performance of SimCode: time 1.813e-06/1.794, allocations: 0 / 0.8422 GB, free: 59.48 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.813/4.608, allocations: 6.893 MB / 0.849 GB, free: 52.61 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat