Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.528/2.528, allocations: 270 MB / 282.6 MB, free: 1.867 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.868e-05/4.872e-05, allocations: 4 kB / 347.1 MB, free: 3.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.4117, allocations: 61.87 MB / 408.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.542/1.954, allocations: 0.4901 GB / 0.8895 GB, free: 27.71 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/1.954, allocations: 72.47 kB / 0.8895 GB, free: 27.67 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.5761/2.53, allocations: 48.1 MB / 0.9365 GB, free: 186 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.084e-06/2.53, allocations: 0 / 0.9365 GB, free: 186 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.342e-05/2.53, allocations: 7.25 kB / 0.9365 GB, free: 186 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.001896/2.532, allocations: 0.6483 MB / 0.9371 GB, free: 185.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/2.532, allocations: 11.03 kB / 0.9371 GB, free: 185.6 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.708e-05/2.532, allocations: 59.06 kB / 0.9372 GB, free: 185.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01262/2.545, allocations: 0.5952 MB / 0.9378 GB, free: 185.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006486/2.546, allocations: 256.3 kB / 0.938 GB, free: 185.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/2.546, allocations: 124.8 kB / 0.9381 GB, free: 185.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/2.546, allocations: 25.34 kB / 0.9382 GB, free: 185.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/2.547, allocations: 0.5236 MB / 0.9387 GB, free: 185.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/2.547, allocations: 3 kB / 0.9387 GB, free: 185.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/2.548, allocations: 11.12 kB / 0.9387 GB, free: 185.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.793e-05/2.548, allocations: 6.781 kB / 0.9387 GB, free: 185.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001644/2.549, allocations: 0.5576 MB / 0.9392 GB, free: 185.1 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.002927/2.552, allocations: 1.715 MB / 0.9409 GB, free: 183.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004047/2.553, allocations: 144.9 kB / 0.9411 GB, free: 183.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/2.553, allocations: 68.22 kB / 0.9411 GB, free: 183.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001383/2.554, allocations: 1.255 MB / 0.9424 GB, free: 182.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/2.554, allocations: 33.27 kB / 0.9424 GB, free: 182.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=19): time 2.665e-06/2.554, allocations: 0 / 0.9424 GB, free: 182.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.001189/2.555, allocations: 276.2 kB / 0.9426 GB, free: 182.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/2.556, allocations: 54.81 kB / 0.9427 GB, free: 182.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/2.556, allocations: 162.5 kB / 0.9429 GB, free: 182.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.065e-05/2.556, allocations: 33.8 kB / 0.9429 GB, free: 182.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.958e-05/2.556, allocations: 249.2 kB / 0.9431 GB, free: 182 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.793e-05/2.556, allocations: 75.77 kB / 0.9432 GB, free: 181.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/2.556, allocations: 9.438 kB / 0.9432 GB, free: 181.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.529e-05/2.556, allocations: 324.6 kB / 0.9435 GB, free: 181.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/2.556, allocations: 63.09 kB / 0.9436 GB, free: 181.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/2.557, allocations: 253.5 kB / 0.9438 GB, free: 181.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/2.557, allocations: 103.4 kB / 0.9439 GB, free: 181.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/2.557, allocations: 1.812 kB / 0.9439 GB, free: 181.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000843/2.558, allocations: 336.5 kB / 0.9442 GB, free: 181.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/2.558, allocations: 16.7 kB / 0.9443 GB, free: 181.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/2.558, allocations: 7.688 kB / 0.9443 GB, free: 181.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.022e-05/2.558, allocations: 11 kB / 0.9443 GB, free: 181.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007523/2.559, allocations: 125 kB / 0.9444 GB, free: 181.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003518/2.559, allocations: 0.6049 MB / 0.945 GB, free: 180.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004453/2.559, allocations: 44.97 kB / 0.945 GB, free: 180.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.668e-05/2.559, allocations: 43 kB / 0.9451 GB, free: 180.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.000161/2.56, allocations: 137.4 kB / 0.9452 GB, free: 180.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.052e-05/2.56, allocations: 22.16 kB / 0.9452 GB, free: 180.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/2.561, allocations: 452 kB / 0.9456 GB, free: 180.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/2.561, allocations: 3.812 kB / 0.9457 GB, free: 180.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/2.561, allocations: 0 / 0.9457 GB, free: 180.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/2.561, allocations: 3.609 kB / 0.9457 GB, free: 180.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/2.563, allocations: 0.7364 MB / 0.9464 GB, free: 179.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/2.563, allocations: 2.375 kB / 0.9464 GB, free: 179.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004082/2.563, allocations: 65.11 kB / 0.9464 GB, free: 179.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.919e-06/2.563, allocations: 6.125 kB / 0.9464 GB, free: 179.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.063e-05/2.563, allocations: 11.33 kB / 0.9465 GB, free: 179.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002807/2.563, allocations: 0.594 MB / 0.947 GB, free: 179.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/2.563, allocations: 5.844 kB / 0.947 GB, free: 179.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005028/2.564, allocations: 421.7 kB / 0.9474 GB, free: 179 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/2.564, allocations: 120.3 kB / 0.9476 GB, free: 178.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.614e-05/2.564, allocations: 3.656 kB / 0.9476 GB, free: 178.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003992/2.565, allocations: 17.61 kB / 0.9476 GB, free: 178.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/2.565, allocations: 23 kB / 0.9476 GB, free: 178.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.638e-05/2.565, allocations: 23.91 kB / 0.9476 GB, free: 178.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001362/2.565, allocations: 125.3 kB / 0.9477 GB, free: 178.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.01e-07/2.565, allocations: 6.031 kB / 0.9477 GB, free: 178.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001257/2.566, allocations: 214 kB / 0.948 GB, free: 178.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.002279/2.568, allocations: 2.128 MB / 0.95 GB, free: 177.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007408/2.569, allocations: 205.9 kB / 0.9502 GB, free: 177.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/2.569, allocations: 2.438 kB / 0.9502 GB, free: 177.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002721/2.569, allocations: 70.23 kB / 0.9503 GB, free: 177.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007241/2.57, allocations: 60.44 kB / 0.9504 GB, free: 177.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07717/2.647, allocations: 22.41 MB / 0.9722 GB, free: 163.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/2.648, allocations: 0.7286 MB / 0.9729 GB, free: 162.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005207/2.648, allocations: 123.3 kB / 0.9731 GB, free: 162.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.143e-06/2.648, allocations: 0 / 0.9731 GB, free: 162.6 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)).