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.24/2.24, allocations: 234.9 MB / 250.5 MB, free: 9.684 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006197/0.0006196, allocations: 12 kB / 314.5 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3681, allocations: 54.86 MB / 369.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.251/1.619, allocations: 456.5 MB / 0.8065 GB, free: 61.39 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/1.619, allocations: 76.59 kB / 0.8066 GB, free: 61.35 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09707/1.716, allocations: 29.89 MB / 0.8358 GB, free: 36.29 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.284e-06/1.716, allocations: 4 kB / 0.8358 GB, free: 36.29 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.397e-05/1.716, allocations: 4 kB / 0.8358 GB, free: 36.28 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.0005/1.717, allocations: 392.4 kB / 0.8361 GB, free: 35.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/1.717, allocations: 8.031 kB / 0.8361 GB, free: 35.85 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.869e-05/1.717, allocations: 38 kB / 0.8362 GB, free: 35.81 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002683/1.72, allocations: 181.3 kB / 0.8364 GB, free: 35.65 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/1.72, allocations: 217 kB / 0.8366 GB, free: 35.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/1.72, allocations: 224 / 0.8366 GB, free: 35.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.418e-05/1.72, allocations: 15.56 kB / 0.8366 GB, free: 35.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007153/1.721, allocations: 223 kB / 0.8368 GB, free: 35.22 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/1.721, allocations: 0 / 0.8368 GB, free: 35.22 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.868e-05/1.721, allocations: 0 / 0.8368 GB, free: 35.22 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/1.721, allocations: 11.89 kB / 0.8368 GB, free: 35.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006801/1.722, allocations: 167.8 kB / 0.837 GB, free: 35.1 MB / 490.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.001218/1.723, allocations: 0.5739 MB / 0.8375 GB, free: 34.53 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000471/1.723, allocations: 143.5 kB / 0.8377 GB, free: 34.42 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.872e-05/1.723, allocations: 7.969 kB / 0.8377 GB, free: 34.41 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/1.724, allocations: 35.09 kB / 0.8377 GB, free: 34.37 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 1.874e-06/1.724, allocations: 4 kB / 0.8377 GB, free: 34.36 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.008365/1.732, allocations: 1.292 MB / 0.839 GB, free: 33.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/1.732, allocations: 55.41 kB / 0.839 GB, free: 33.12 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.864e-05/1.732, allocations: 111.8 kB / 0.8391 GB, free: 33.01 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/1.732, allocations: 29.7 kB / 0.8392 GB, free: 32.97 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.814e-05/1.732, allocations: 161.9 kB / 0.8393 GB, free: 32.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.354e-05/1.732, allocations: 74.05 kB / 0.8394 GB, free: 32.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/1.732, allocations: 0 / 0.8394 GB, free: 32.75 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.969e-05/1.732, allocations: 318.3 kB / 0.8397 GB, free: 32.44 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/1.733, allocations: 77.39 kB / 0.8398 GB, free: 32.39 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/1.733, allocations: 104.1 kB / 0.8399 GB, free: 32.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/1.733, allocations: 90.81 kB / 0.8399 GB, free: 32.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/1.733, allocations: 0 / 0.8399 GB, free: 32.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007114/1.734, allocations: 258.2 kB / 0.8402 GB, free: 32.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.734, allocations: 8 kB / 0.8402 GB, free: 32.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.734, allocations: 0 / 0.8402 GB, free: 32.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002327/1.734, allocations: 51.83 kB / 0.8402 GB, free: 31.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005319/1.735, allocations: 55.53 kB / 0.8403 GB, free: 31.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004056/1.735, allocations: 0.5633 MB / 0.8408 GB, free: 31.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/1.735, allocations: 23.72 kB / 0.8409 GB, free: 31.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-05/1.735, allocations: 31.42 kB / 0.8409 GB, free: 31.32 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 () * 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.0001356/1.736, allocations: 116.8 kB / 0.841 GB, free: 31.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.113e-05/1.736, allocations: 12 kB / 0.841 GB, free: 31.19 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/1.737, allocations: 349.6 kB / 0.8414 GB, free: 30.91 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/1.737, allocations: 0 / 0.8414 GB, free: 30.91 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/1.737, allocations: 3.953 kB / 0.8414 GB, free: 30.91 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/1.737, allocations: 4 kB / 0.8414 GB, free: 30.91 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/1.738, allocations: 0.5941 MB / 0.8419 GB, free: 30.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/1.738, allocations: 4.094 kB / 0.8419 GB, free: 30.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000584/1.739, allocations: 70.16 kB / 0.842 GB, free: 30.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001036/1.739, allocations: 19.34 kB / 0.842 GB, free: 30.25 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.27e-05/1.739, allocations: 16.98 kB / 0.8421 GB, free: 30.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00084/1.74, allocations: 1.28 MB / 0.8433 GB, free: 28.87 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.74, allocations: 0 / 0.8433 GB, free: 28.87 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009651/1.741, allocations: 463 kB / 0.8437 GB, free: 28.46 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/1.741, allocations: 85.05 kB / 0.8438 GB, free: 28.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.965e-05/1.741, allocations: 11.14 kB / 0.8438 GB, free: 28.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000336/1.741, allocations: 12.61 kB / 0.8438 GB, free: 28.34 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.942e-05/1.741, allocations: 27.09 kB / 0.8439 GB, free: 28.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.582e-05/1.741, allocations: 20 kB / 0.8439 GB, free: 28.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.004e-05/1.741, allocations: 91.95 kB / 0.844 GB, free: 28.21 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.41e-07/1.741, allocations: 0 / 0.844 GB, free: 28.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006928/1.742, allocations: 112.2 kB / 0.8441 GB, free: 28.12 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 () * 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.002111/1.744, allocations: 1.655 MB / 0.8457 GB, free: 26.52 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007115/1.745, allocations: 201.7 kB / 0.8459 GB, free: 26.37 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.745, allocations: 192 / 0.8459 GB, free: 26.37 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004338/1.746, allocations: 226.2 kB / 0.8461 GB, free: 26.17 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005493/1.746, allocations: 39.14 kB / 0.8461 GB, free: 26.14 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/1.748, allocations: 1.582 MB / 0.8477 GB, free: 24.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001609/1.749, allocations: 0.7049 MB / 0.8484 GB, free: 23.87 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004045/1.749, allocations: 74.95 kB / 0.8485 GB, free: 23.81 MB / 490.7 MB Notification: Performance of SimCode: time 2.735e-06/1.749, allocations: 0 / 0.8485 GB, free: 23.81 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.799/4.548, allocations: 6.913 MB / 0.8552 GB, free: 16.92 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