Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="cs",version="2.0",platforms={"dynamic"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica): time 1.737/1.737, allocations: 194.9 MB / 202.6 MB, free: 6.895 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2316/1.969, allocations: 46.83 MB / 249.4 MB, free: 5.332 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09323/2.062, allocations: 44.51 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.577/3.639, allocations: 0.6352 GB / 0.9223 GB, free: 90.38 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/3.639, allocations: 80.97 kB / 0.9223 GB, free: 90.38 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.6481/4.287, allocations: 149.6 MB / 1.068 GB, free: 80.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/4.287, allocations: 12.91 kB / 1.068 GB, free: 80.16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009118/4.288, allocations: 79.97 kB / 1.069 GB, free: 80.14 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006058/4.289, allocations: 340.6 kB / 1.069 GB, free: 79.93 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/4.289, allocations: 11.75 kB / 1.069 GB, free: 79.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.178e-05/4.289, allocations: 23.38 kB / 1.069 GB, free: 79.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007293/4.29, allocations: 261.7 kB / 1.069 GB, free: 79.92 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000893/4.291, allocations: 395.6 kB / 1.069 GB, free: 79.78 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.027e-05/4.291, allocations: 9.625 kB / 1.069 GB, free: 79.78 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.309e-05/4.291, allocations: 0 / 1.069 GB, free: 79.78 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/4.291, allocations: 11.12 kB / 1.07 GB, free: 79.78 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02119/4.312, allocations: 6.278 MB / 1.076 GB, free: 76.04 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005477/4.313, allocations: 163.2 kB / 1.076 GB, free: 76.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003486/4.313, allocations: 144.8 kB / 1.076 GB, free: 76.01 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01718/4.33, allocations: 3.523 MB / 1.079 GB, free: 74.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/4.33, allocations: 45.22 kB / 1.079 GB, free: 74.46 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 3.397e-06/4.33, allocations: 0 / 1.079 GB, free: 74.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=45): time 0.006998/4.337, allocations: 1.417 MB / 1.081 GB, free: 74.1 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/4.337, allocations: 55.34 kB / 1.081 GB, free: 74.04 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003704/4.338, allocations: 234.4 kB / 1.081 GB, free: 73.95 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.658e-05/4.338, allocations: 25.7 kB / 1.081 GB, free: 73.92 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/4.338, allocations: 207.7 kB / 1.081 GB, free: 73.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/4.338, allocations: 158.3 kB / 1.081 GB, free: 73.67 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/4.338, allocations: 3.938 kB / 1.081 GB, free: 73.67 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/4.338, allocations: 342.1 kB / 1.082 GB, free: 73.36 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004053/4.339, allocations: 135.3 kB / 1.082 GB, free: 73.35 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004704/4.339, allocations: 253.4 kB / 1.082 GB, free: 73.22 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/4.34, allocations: 259.5 kB / 1.082 GB, free: 73.22 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/4.34, allocations: 0 / 1.082 GB, free: 73.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002509/4.343, allocations: 0.6071 MB / 1.083 GB, free: 73.13 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/4.343, allocations: 3.531 kB / 1.083 GB, free: 73.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/4.343, allocations: 7.156 kB / 1.083 GB, free: 73.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006658/4.344, allocations: 109.2 kB / 1.083 GB, free: 73.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008487/4.345, allocations: 109.9 kB / 1.083 GB, free: 73.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002718/4.347, allocations: 2.477 MB / 1.086 GB, free: 70.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006738/4.348, allocations: 33.38 kB / 1.086 GB, free: 70.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.432e-05/4.348, allocations: 18.25 kB / 1.086 GB, free: 70.88 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001641/4.348, allocations: 124.6 kB / 1.086 GB, free: 70.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/4.348, allocations: 35.19 kB / 1.086 GB, free: 70.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002705/4.351, allocations: 0.8312 MB / 1.087 GB, free: 70.65 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/4.351, allocations: 5.531 kB / 1.087 GB, free: 70.65 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/4.351, allocations: 1.875 kB / 1.087 GB, free: 70.65 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002038/4.353, allocations: 0.9495 MB / 1.088 GB, free: 70.26 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003595/4.357, allocations: 1.392 MB / 1.089 GB, free: 69.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/4.357, allocations: 2.625 kB / 1.089 GB, free: 69.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006774/4.358, allocations: 82.66 kB / 1.089 GB, free: 69.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009298/4.358, allocations: 181.8 kB / 1.089 GB, free: 69.92 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.025e-05/4.359, allocations: 9.75 kB / 1.089 GB, free: 69.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/4.36, allocations: 1.376 MB / 1.091 GB, free: 68.88 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/4.36, allocations: 6.781 kB / 1.091 GB, free: 68.87 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002939/4.363, allocations: 1.198 MB / 1.092 GB, free: 68.66 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003653/4.367, allocations: 1.943 MB / 1.094 GB, free: 68.06 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/4.367, allocations: 111.3 kB / 1.094 GB, free: 67.95 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/4.367, allocations: 3.906 kB / 1.094 GB, free: 67.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005855/4.368, allocations: 18.34 kB / 1.094 GB, free: 67.95 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.086e-05/4.368, allocations: 26.3 kB / 1.094 GB, free: 67.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-05/4.368, allocations: 19.8 kB / 1.094 GB, free: 67.95 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002612/4.368, allocations: 179.5 kB / 1.094 GB, free: 67.86 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002548/4.371, allocations: 249.6 kB / 1.094 GB, free: 67.84 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002222/4.373, allocations: 0.524 MB / 1.095 GB, free: 67.72 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001838/4.375, allocations: 0.6459 MB / 1.095 GB, free: 67.61 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/4.375, allocations: 0 / 1.095 GB, free: 67.61 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001051/4.376, allocations: 394.4 kB / 1.096 GB, free: 67.6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/4.378, allocations: 173.7 kB / 1.096 GB, free: 67.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002442/4.381, allocations: 0.9349 MB / 1.097 GB, free: 67.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005416/4.381, allocations: 0.8978 MB / 1.098 GB, free: 66.59 MB / 394.7 MB Notification: Performance of SimCode: time 9.81e-07/4.381, allocations: 0 / 1.098 GB, free: 66.59 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat does not exist to compare? outputFormat=mat