Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.524/2.524, allocations: 270 MB / 282.6 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.626e-05/4.63e-05, allocations: 4 kB / 347.1 MB, free: 3.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.4207, allocations: 61.87 MB / 408.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.452/1.872, allocations: 0.5099 GB / 0.9093 GB, free: 5.742 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003513/1.873, allocations: 94.06 kB / 0.9094 GB, free: 5.691 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.112/2.985, allocations: 203.6 MB / 1.108 GB, free: 21.34 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.214e-06/2.985, allocations: 0 / 1.108 GB, free: 21.34 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.046e-05/2.985, allocations: 16 kB / 1.108 GB, free: 21.32 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003373/2.989, allocations: 1.033 MB / 1.109 GB, free: 20.25 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/2.989, allocations: 8.031 kB / 1.109 GB, free: 20.24 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002028/2.989, allocations: 98.45 kB / 1.109 GB, free: 20.13 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/2.99, allocations: 146.9 kB / 1.109 GB, free: 19.99 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/2.992, allocations: 0.5288 MB / 1.11 GB, free: 19.42 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/2.992, allocations: 112.3 kB / 1.11 GB, free: 19.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/2.992, allocations: 44 kB / 1.11 GB, free: 19.25 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/2.994, allocations: 0.7939 MB / 1.111 GB, free: 18.38 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.17e-05/2.994, allocations: 7.938 kB / 1.111 GB, free: 18.38 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/2.994, allocations: 27.98 kB / 1.111 GB, free: 18.35 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.49e-05/2.994, allocations: 40.94 kB / 1.111 GB, free: 18.31 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001501/2.996, allocations: 0.5836 MB / 1.112 GB, free: 17.72 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.006245/3.002, allocations: 3.95 MB / 1.115 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007585/3.003, allocations: 319.4 kB / 1.116 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003791/3.003, allocations: 161.4 kB / 1.116 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001419/3.003, allocations: 89.39 kB / 1.116 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/3.003, allocations: 46.77 kB / 1.116 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 3.707e-06/3.003, allocations: 4 kB / 1.116 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.008754/3.012, allocations: 1.505 MB / 1.117 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/3.012, allocations: 132.5 kB / 1.118 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000884/3.013, allocations: 0.5384 MB / 1.118 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.63e-05/3.013, allocations: 29.7 kB / 1.118 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/3.013, allocations: 397.4 kB / 1.119 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/3.014, allocations: 146 kB / 1.119 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.096e-05/3.014, allocations: 16 kB / 1.119 GB, free: 9.992 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.685e-05/3.014, allocations: 346.7 kB / 1.119 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005079/3.014, allocations: 189.5 kB / 1.119 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006554/3.015, allocations: 0.4893 MB / 1.12 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006537/3.016, allocations: 291.3 kB / 1.12 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/3.016, allocations: 0 / 1.12 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001953/3.018, allocations: 0.7874 MB / 1.121 GB, free: 7.738 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.082e-05/3.018, allocations: 15.92 kB / 1.121 GB, free: 7.723 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/3.018, allocations: 16.12 kB / 1.121 GB, free: 7.707 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002221/3.02, allocations: 307.2 kB / 1.121 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000808/3.021, allocations: 119.8 kB / 1.121 GB, free: 7.289 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/3.022, allocations: 0.9195 MB / 1.122 GB, free: 6.344 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/3.023, allocations: 52.02 kB / 1.122 GB, free: 6.293 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/3.024, allocations: 71.97 kB / 1.122 GB, free: 6.223 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002477/3.024, allocations: 152.7 kB / 1.122 GB, free: 6.066 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/3.024, allocations: 75.16 kB / 1.122 GB, free: 5.992 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002561/3.027, allocations: 0.846 MB / 1.123 GB, free: 5.129 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/3.027, allocations: 4 kB / 1.123 GB, free: 5.125 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/3.027, allocations: 0 / 1.123 GB, free: 5.125 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/3.027, allocations: 4 kB / 1.123 GB, free: 5.121 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002901/3.03, allocations: 1.43 MB / 1.125 GB, free: 3.559 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/3.03, allocations: 4.188 kB / 1.125 GB, free: 3.555 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002051/3.032, allocations: 219.7 kB / 1.125 GB, free: 3.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001582/3.032, allocations: 20.84 kB / 1.125 GB, free: 3.316 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.767e-05/3.032, allocations: 20 kB / 1.125 GB, free: 3.297 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002114/3.034, allocations: 2.68 MB / 1.127 GB, free: 364 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/3.034, allocations: 0 / 1.127 GB, free: 364 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3964/3.431, allocations: 0.8624 MB / 1.128 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005959/3.431, allocations: 184.3 kB / 1.128 GB, free: 112 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001836/3.431, allocations: 7.688 kB / 1.129 GB, free: 112 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008566/3.432, allocations: 27.16 kB / 1.129 GB, free: 112 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/3.433, allocations: 47.98 kB / 1.129 GB, free: 112 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/3.433, allocations: 42.16 kB / 1.129 GB, free: 112 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001064/3.434, allocations: 423.3 kB / 1.129 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.31e-07/3.434, allocations: 2.812 kB / 1.129 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002221/3.436, allocations: 328.3 kB / 1.129 GB, free: 111.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * 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: 1 * 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: 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.004846/3.441, allocations: 2.666 MB / 1.132 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001864/3.443, allocations: 0.5175 MB / 1.132 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/3.443, allocations: 0 / 1.132 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001498/3.444, allocations: 385.8 kB / 1.133 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002925/3.447, allocations: 335.3 kB / 1.133 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003646/3.451, allocations: 1.183 MB / 1.134 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004756/3.452, allocations: 0.9442 MB / 1.135 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009582/3.453, allocations: 301.1 kB / 1.135 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.663e-06/3.453, allocations: 0 / 1.135 GB, free: 109.5 MB / 0.5261 GB [CodegenCppCommon.tpl:986:14-986:14:writable] Error: Template error: Unknown exp:.Modelica.Media.IdealGases.Common.DataRecord("N2", #(0.0280134), #(0), #(309498.4543111511), #(1000), #({22103.71497, -381.846182, 6.08273836, -0.00853091441, 1.384646189e-05, -9.62579362e-09, 2.519705809e-12}), #({710.846086, -10.76003744}), #({587712.406, -2239.249073, 6.06694922, -0.00061396855, 1.491806679e-07, -1.923105485e-11, 1.061954386e-15}), #({12832.10415, -15.86640027}), #(296.8033869505308)).