Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.585/2.585, allocations: 270 MB / 282.6 MB, free: 1.812 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.649e-05/3.655e-05, allocations: 0 / 347.1 MB, free: 3.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.3925, allocations: 61.88 MB / 408.9 MB, free: 10.63 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.481/1.874, allocations: 0.5052 GB / 0.9045 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003352/1.874, allocations: 83.64 kB / 0.9046 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.195/4.069, allocations: 385.2 MB / 1.281 GB, free: 45.54 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.904e-06/4.069, allocations: 7.938 kB / 1.281 GB, free: 45.53 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001255/4.07, allocations: 31.98 kB / 1.281 GB, free: 45.5 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.007034/4.077, allocations: 1.73 MB / 1.283 GB, free: 43.72 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/4.077, allocations: 12.02 kB / 1.283 GB, free: 43.71 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005289/4.077, allocations: 122.6 kB / 1.283 GB, free: 43.58 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002138/4.079, allocations: 213.2 kB / 1.283 GB, free: 43.37 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003324/4.083, allocations: 0.8636 MB / 1.284 GB, free: 42.46 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.92e-05/4.083, allocations: 61.97 kB / 1.284 GB, free: 42.41 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003186/4.083, allocations: 71.8 kB / 1.284 GB, free: 42.34 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00311/4.086, allocations: 1.211 MB / 1.285 GB, free: 41.07 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.315e-05/4.086, allocations: 0 / 1.285 GB, free: 41.07 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002168/4.087, allocations: 31.98 kB / 1.285 GB, free: 41.04 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001807/4.087, allocations: 85.88 kB / 1.285 GB, free: 40.95 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003378/4.09, allocations: 1.171 MB / 1.286 GB, free: 39.78 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.01318/4.104, allocations: 4.862 MB / 1.291 GB, free: 34.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/4.106, allocations: 0.6886 MB / 1.292 GB, free: 33.97 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008911/4.106, allocations: 354.5 kB / 1.292 GB, free: 33.62 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004318/4.107, allocations: 353 kB / 1.292 GB, free: 33.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/4.107, allocations: 43.12 kB / 1.292 GB, free: 33.15 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=68): time 4.499e-06/4.107, allocations: 0 / 1.292 GB, free: 33.15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=73): time 0.01203/4.119, allocations: 2.416 MB / 1.295 GB, free: 30.65 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.451e-05/4.119, allocations: 218.4 kB / 1.295 GB, free: 30.39 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/4.121, allocations: 0.8171 MB / 1.296 GB, free: 29.55 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002932/4.121, allocations: 41.7 kB / 1.296 GB, free: 29.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003319/4.121, allocations: 474.1 kB / 1.296 GB, free: 29.04 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003157/4.122, allocations: 264.3 kB / 1.297 GB, free: 28.77 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/4.122, allocations: 16 kB / 1.297 GB, free: 28.76 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.605e-05/4.122, allocations: 346.8 kB / 1.297 GB, free: 28.41 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/4.123, allocations: 385.9 kB / 1.297 GB, free: 28.04 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/4.124, allocations: 0.6125 MB / 1.298 GB, free: 27.33 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/4.126, allocations: 477.8 kB / 1.298 GB, free: 26.86 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.415e-06/4.126, allocations: 7.984 kB / 1.298 GB, free: 26.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003446/4.129, allocations: 1.274 MB / 1.3 GB, free: 25.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000486/4.13, allocations: 2.187 MB / 1.302 GB, free: 23.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/4.13, allocations: 7.938 kB / 1.302 GB, free: 23.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005599/4.135, allocations: 0.6947 MB / 1.302 GB, free: 22.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/4.137, allocations: 179.7 kB / 1.303 GB, free: 22.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/4.139, allocations: 1.271 MB / 1.304 GB, free: 21.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/4.141, allocations: 72 kB / 1.304 GB, free: 20.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002695/4.142, allocations: 87.98 kB / 1.304 GB, free: 20.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/4.142, allocations: 4.625 kB / 1.304 GB, free: 20.87 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003038/4.145, allocations: 1.104 MB / 1.305 GB, free: 19.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/4.145, allocations: 8.75 kB / 1.305 GB, free: 19.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002436/4.147, allocations: 324.6 kB / 1.305 GB, free: 19.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/4.149, allocations: 211.7 kB / 1.306 GB, free: 19.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/4.15, allocations: 0.9369 MB / 1.306 GB, free: 18.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/4.152, allocations: 79.84 kB / 1.307 GB, free: 18.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002212/4.152, allocations: 87.98 kB / 1.307 GB, free: 18.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.0004157/4.152, allocations: 160.7 kB / 1.307 GB, free: 17.94 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003771/4.153, allocations: 114.7 kB / 1.307 GB, free: 17.82 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005147/4.158, allocations: 1.838 MB / 1.309 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/4.158, allocations: 8 kB / 1.309 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/4.158, allocations: 7.984 kB / 1.309 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/4.158, allocations: 4 kB / 1.309 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005527/4.164, allocations: 2.422 MB / 1.311 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-06/4.164, allocations: 4 kB / 1.311 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001498/4.165, allocations: 183.8 kB / 1.311 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000137/4.165, allocations: 20.84 kB / 1.311 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/4.166, allocations: 40.27 kB / 1.311 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009396/4.166, allocations: 1.28 MB / 1.313 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/4.166, allocations: 4.188 kB / 1.313 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003648/4.17, allocations: 1.692 MB / 1.314 GB, free: 9.906 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005142/4.171, allocations: 195.8 kB / 1.314 GB, free: 9.695 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002866/4.171, allocations: 16 kB / 1.314 GB, free: 9.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/4.172, allocations: 64 kB / 1.314 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002133/4.173, allocations: 72.38 kB / 1.315 GB, free: 9.547 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001751/4.173, allocations: 75.98 kB / 1.315 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001212/4.174, allocations: 0.6384 MB / 1.315 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.11e-07/4.174, allocations: 0 / 1.315 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005861/4.18, allocations: 1.194 MB / 1.316 GB, free: 7.625 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (junction.medium.p,junction.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 73 * 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.009945/4.19, allocations: 4.714 MB / 1.321 GB, free: 2.812 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004346/4.194, allocations: 1.476 MB / 1.322 GB, free: 1.34 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.415e-05/4.195, allocations: 4 kB / 1.322 GB, free: 1.336 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001294/4.196, allocations: 0.5387 MB / 1.323 GB, free: 0.7891 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005189/4.201, allocations: 0.5777 MB / 1.324 GB, free: 220 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4199/4.621, allocations: 2.118 MB / 1.326 GB, free: 73.27 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009319/4.622, allocations: 1.103 MB / 1.327 GB, free: 72.56 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002053/4.624, allocations: 0.5154 MB / 1.327 GB, free: 72.55 MB / 0.5261 GB Notification: Performance of SimCode: time 2.384e-06/4.624, allocations: 0 / 1.327 GB, free: 72.55 MB / 0.5261 GB [CodegenCppCommon.tpl:986:14-986:14:writable] Error: Template error: Unknown exp:.Modelica.Media.IdealGases.Common.DataRecord("Air", #(0.0289651159), #(-4333.833858403446), #(298609.6803431054), #(1000), #({10099.5016, -196.827561, 5.00915511, -0.00576101373, 1.06685993e-05, -7.94029797e-09, 2.18523191e-12}), #({-176.796731, -3.921504225}), #({241521.443, -1257.8746, 5.14455867, -0.000213854179, 7.06522784e-08, -1.07148349e-11, 6.57780015e-16}), #({6462.26319, -8.147411905}), #(287.0512249529787)).