Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.924/1.924, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004524/0.0004524, allocations: 16 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3613, allocations: 48.69 MB / 331.4 MB, free: 6.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.225/1.586, allocations: 449.7 MB / 0.7627 GB, free: 37.94 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/1.587, allocations: 72.33 kB / 0.7628 GB, free: 37.9 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09963/1.686, allocations: 29.88 MB / 0.792 GB, free: 12.86 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.064e-06/1.686, allocations: 0 / 0.792 GB, free: 12.86 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.335e-05/1.686, allocations: 0 / 0.792 GB, free: 12.86 MB / 442.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.0005308/1.687, allocations: 407.7 kB / 0.7924 GB, free: 12.42 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/1.687, allocations: 8.031 kB / 0.7924 GB, free: 12.41 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.427e-05/1.687, allocations: 42.55 kB / 0.7924 GB, free: 12.36 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002767/1.69, allocations: 184.1 kB / 0.7926 GB, free: 12.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/1.69, allocations: 206.9 kB / 0.7928 GB, free: 11.94 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/1.69, allocations: 8.219 kB / 0.7928 GB, free: 11.93 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.177e-05/1.69, allocations: 8 kB / 0.7928 GB, free: 11.93 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007644/1.691, allocations: 224 kB / 0.793 GB, free: 11.69 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/1.691, allocations: 0 / 0.793 GB, free: 11.69 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.783e-05/1.691, allocations: 4 kB / 0.793 GB, free: 11.69 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/1.691, allocations: 0 / 0.793 GB, free: 11.69 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000714/1.692, allocations: 183.7 kB / 0.7932 GB, free: 11.51 MB / 442.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.001253/1.693, allocations: 0.5645 MB / 0.7938 GB, free: 10.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004736/1.694, allocations: 138.5 kB / 0.7939 GB, free: 10.74 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/1.694, allocations: 0 / 0.7939 GB, free: 10.74 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/1.694, allocations: 43.09 kB / 0.7939 GB, free: 10.69 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.754e-06/1.694, allocations: 0 / 0.7939 GB, free: 10.69 MB / 442.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.008503/1.702, allocations: 1.306 MB / 0.7952 GB, free: 9.285 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/1.702, allocations: 59.34 kB / 0.7953 GB, free: 9.215 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.073e-05/1.702, allocations: 108.9 kB / 0.7954 GB, free: 9.102 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/1.703, allocations: 29.7 kB / 0.7954 GB, free: 9.066 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.019e-05/1.703, allocations: 162.5 kB / 0.7955 GB, free: 8.906 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.12e-05/1.703, allocations: 67.02 kB / 0.7956 GB, free: 8.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/1.703, allocations: 0 / 0.7956 GB, free: 8.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.493e-05/1.703, allocations: 322.8 kB / 0.7959 GB, free: 8.516 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/1.703, allocations: 67.97 kB / 0.796 GB, free: 8.449 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/1.703, allocations: 99.52 kB / 0.7961 GB, free: 8.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/1.704, allocations: 87.92 kB / 0.7962 GB, free: 8.258 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.704, allocations: 0 / 0.7962 GB, free: 8.258 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007242/1.704, allocations: 256.7 kB / 0.7964 GB, free: 8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/1.704, allocations: 4 kB / 0.7964 GB, free: 7.996 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/1.704, allocations: 4 kB / 0.7964 GB, free: 7.992 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002403/1.705, allocations: 60.81 kB / 0.7965 GB, free: 7.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005219/1.705, allocations: 55.95 kB / 0.7965 GB, free: 7.875 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004226/1.706, allocations: 0.5601 MB / 0.7971 GB, free: 7.289 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002742/1.706, allocations: 15.91 kB / 0.7971 GB, free: 7.273 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.727e-05/1.706, allocations: 24 kB / 0.7971 GB, free: 7.25 MB / 442.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.0001408/1.706, allocations: 125.9 kB / 0.7972 GB, free: 7.117 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.209e-05/1.706, allocations: 11.86 kB / 0.7972 GB, free: 7.105 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/1.707, allocations: 343 kB / 0.7976 GB, free: 6.766 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/1.707, allocations: 4 kB / 0.7976 GB, free: 6.762 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.707, allocations: 0 / 0.7976 GB, free: 6.762 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/1.707, allocations: 3.984 kB / 0.7976 GB, free: 6.758 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/1.709, allocations: 0.6217 MB / 0.7982 GB, free: 6.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/1.709, allocations: 0 / 0.7982 GB, free: 6.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005629/1.709, allocations: 67.89 kB / 0.7982 GB, free: 6.004 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001073/1.709, allocations: 16.84 kB / 0.7983 GB, free: 5.984 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/1.71, allocations: 12 kB / 0.7983 GB, free: 5.973 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008786/1.71, allocations: 1.276 MB / 0.7995 GB, free: 4.566 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.71, allocations: 3.953 kB / 0.7995 GB, free: 4.562 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009829/1.711, allocations: 471.5 kB / 0.8 GB, free: 4.059 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.738e-05/1.712, allocations: 88.95 kB / 0.8001 GB, free: 3.953 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.989e-05/1.712, allocations: 8 kB / 0.8001 GB, free: 3.945 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003374/1.712, allocations: 8.062 kB / 0.8001 GB, free: 3.938 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.987e-05/1.712, allocations: 27.92 kB / 0.8001 GB, free: 3.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-05/1.712, allocations: 27.98 kB / 0.8001 GB, free: 3.883 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.953e-05/1.712, allocations: 95.25 kB / 0.8002 GB, free: 3.789 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.712, allocations: 0 / 0.8002 GB, free: 3.789 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006987/1.713, allocations: 111.9 kB / 0.8003 GB, free: 3.68 MB / 442.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.002173/1.715, allocations: 1.639 MB / 0.8019 GB, free: 1.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000747/1.716, allocations: 204 kB / 0.8021 GB, free: 1.781 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.716, allocations: 0 / 0.8021 GB, free: 1.781 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004519/1.716, allocations: 226.5 kB / 0.8023 GB, free: 1.547 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005767/1.717, allocations: 40.78 kB / 0.8024 GB, free: 1.508 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2843/2.001, allocations: 1.574 MB / 0.8039 GB, free: 151 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/2.001, allocations: 0.7088 MB / 0.8046 GB, free: 150.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004775/2.002, allocations: 72.48 kB / 0.8047 GB, free: 150.3 MB / 442.7 MB Notification: Performance of SimCode: time 2.275e-06/2.002, allocations: 0 / 0.8047 GB, free: 150.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.93/4.932, allocations: 6.92 MB / 0.8114 GB, free: 150 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat