Running command: translateModel(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.CO2") Notification: Performance of loadModel(ModelicaTest): time 2.277/2.277, allocations: 270 MB / 282.6 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.927e-05/2.949e-05, allocations: 4 kB / 347 MB, free: 3.238 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3254, allocations: 61.88 MB / 408.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.17/1.496, allocations: 0.4901 GB / 0.8894 GB, free: 30.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002121/1.496, allocations: 74.28 kB / 0.8894 GB, free: 30.26 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.4474/1.944, allocations: 48.1 MB / 0.9364 GB, free: 184.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.126e-06/1.944, allocations: 0 / 0.9364 GB, free: 184.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.34e-05/1.944, allocations: 3.5 kB / 0.9364 GB, free: 184.9 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001465/1.945, allocations: 0.648 MB / 0.9371 GB, free: 184.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/1.945, allocations: 8.5 kB / 0.9371 GB, free: 184.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008129/1.953, allocations: 0.5871 MB / 0.9376 GB, free: 184.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004439/1.954, allocations: 260.5 kB / 0.9379 GB, free: 184.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/1.954, allocations: 121.7 kB / 0.938 GB, free: 184.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/1.954, allocations: 24.5 kB / 0.938 GB, free: 184.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/1.955, allocations: 0.5258 MB / 0.9385 GB, free: 184.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/1.955, allocations: 0 / 0.9385 GB, free: 184.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/1.955, allocations: 12.06 kB / 0.9385 GB, free: 184.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.686e-05/1.955, allocations: 13.62 kB / 0.9386 GB, free: 184 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/1.957, allocations: 0.562 MB / 0.9391 GB, free: 184 MB / 0.5261 GB 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.002163/1.959, allocations: 1.713 MB / 0.9408 GB, free: 182.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003351/1.959, allocations: 141 kB / 0.9409 GB, free: 182.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/1.959, allocations: 78.81 kB / 0.941 GB, free: 182.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001069/1.96, allocations: 1.245 MB / 0.9422 GB, free: 181.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/1.96, allocations: 33.58 kB / 0.9422 GB, free: 181.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=19): time 3.349e-06/1.961, allocations: 0 / 0.9422 GB, free: 181.4 MB / 0.5261 GB 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.001013/1.962, allocations: 277.3 kB / 0.9425 GB, free: 181.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/1.962, allocations: 55.12 kB / 0.9426 GB, free: 181.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/1.962, allocations: 161.5 kB / 0.9427 GB, free: 181.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/1.962, allocations: 31.45 kB / 0.9427 GB, free: 181.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.908e-05/1.962, allocations: 253.4 kB / 0.943 GB, free: 181 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.074e-05/1.962, allocations: 73.67 kB / 0.943 GB, free: 180.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/1.962, allocations: 9.688 kB / 0.9431 GB, free: 180.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.914e-05/1.962, allocations: 324.1 kB / 0.9434 GB, free: 180.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/1.962, allocations: 63.98 kB / 0.9434 GB, free: 180.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/1.962, allocations: 254.9 kB / 0.9437 GB, free: 180.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/1.963, allocations: 95.81 kB / 0.9438 GB, free: 180.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/1.963, allocations: 7.469 kB / 0.9438 GB, free: 180.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007289/1.963, allocations: 338 kB / 0.9441 GB, free: 180.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/1.964, allocations: 9.938 kB / 0.9441 GB, free: 180.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/1.964, allocations: 14.39 kB / 0.9441 GB, free: 180.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.791e-05/1.964, allocations: 13.09 kB / 0.9441 GB, free: 180.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005551/1.964, allocations: 125.6 kB / 0.9442 GB, free: 180.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003329/1.964, allocations: 0.6008 MB / 0.9448 GB, free: 179.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004124/1.965, allocations: 44.47 kB / 0.9449 GB, free: 179.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.928e-05/1.965, allocations: 40.44 kB / 0.9449 GB, free: 179.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001382/1.965, allocations: 133.2 kB / 0.945 GB, free: 179.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.263e-05/1.965, allocations: 20.66 kB / 0.9451 GB, free: 179.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/1.967, allocations: 451.4 kB / 0.9455 GB, free: 179.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.046e-06/1.967, allocations: 6.312 kB / 0.9455 GB, free: 179.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.967, allocations: 0 / 0.9455 GB, free: 179.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.504e-06/1.967, allocations: 3.938 kB / 0.9455 GB, free: 179.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/1.968, allocations: 0.7486 MB / 0.9462 GB, free: 178.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.964e-06/1.968, allocations: 2.969 kB / 0.9462 GB, free: 178.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003062/1.968, allocations: 66.8 kB / 0.9463 GB, free: 178.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.118e-06/1.968, allocations: 3.438 kB / 0.9463 GB, free: 178.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.989e-05/1.968, allocations: 14.23 kB / 0.9463 GB, free: 178.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002707/1.968, allocations: 0.5917 MB / 0.9469 GB, free: 178.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.763e-06/1.968, allocations: 6.156 kB / 0.9469 GB, free: 178.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004137/1.969, allocations: 426 kB / 0.9473 GB, free: 178 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/1.969, allocations: 108 kB / 0.9474 GB, free: 177.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.628e-05/1.969, allocations: 10.16 kB / 0.9474 GB, free: 177.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/1.969, allocations: 10.38 kB / 0.9474 GB, free: 177.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/1.969, allocations: 25.92 kB / 0.9475 GB, free: 177.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-05/1.969, allocations: 30.05 kB / 0.9475 GB, free: 177.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000115/1.97, allocations: 118.8 kB / 0.9476 GB, free: 177.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.83e-07/1.97, allocations: 3.375 kB / 0.9476 GB, free: 177.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00104/1.971, allocations: 211.6 kB / 0.9478 GB, free: 177.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001199/1.972, allocations: 0.6775 MB / 0.9485 GB, free: 177.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006017/1.972, allocations: 193.7 kB / 0.9486 GB, free: 177.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.486e-06/1.973, allocations: 2.438 kB / 0.9487 GB, free: 177.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002274/1.973, allocations: 77.12 kB / 0.9487 GB, free: 177.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005094/1.973, allocations: 54.81 kB / 0.9488 GB, free: 177.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06768/2.041, allocations: 22.28 MB / 0.9705 GB, free: 167.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/2.041, allocations: 0.7402 MB / 0.9713 GB, free: 166.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004301/2.042, allocations: 91.28 kB / 0.9713 GB, free: 166.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.783e-06/2.042, allocations: 0 / 0.9713 GB, free: 166.8 MB / 0.5261 GB [CodegenCppCommon.tpl:986:14-986:14:writable] Error: Template error: Unknown exp:.Modelica.Media.IdealGases.Common.DataRecord("CO2", #(0.0440095), #(-8941478.544405185), #(212805.6215135368), #(1000), #({49436.5054, -626.411601, 5.30172524, 0.002503813816, -2.127308728e-07, -7.68998878e-10, 2.849677801e-13}), #({-45281.9846, -7.04827944}), #({117696.2419, -1788.791477, 8.291523189999999, -9.22315678e-05, 4.86367688e-09, -1.891053312e-12, 6.330036589999999e-16}), #({-39083.5059, -26.52669281}), #(188.9244822140674)).