Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",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(ModelicaTest): time 2.457/2.457, allocations: 235 MB / 242 MB, free: 9.75 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.187/2.644, allocations: 57.21 MB / 299.2 MB, free: 424 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/2.997, allocations: 54.84 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.231/4.228, allocations: 423.8 MB / 0.7597 GB, free: 54.82 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000515/4.229, allocations: 95.69 kB / 0.7597 GB, free: 54.77 MB / 490.7 MB 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.8458/5.075, allocations: 132.5 MB / 0.8891 GB, free: 107.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/5.075, allocations: 10.5 kB / 0.8891 GB, free: 107.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008001/5.075, allocations: 91.84 kB / 0.8892 GB, free: 107.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/5.077, allocations: 0.5585 MB / 0.8898 GB, free: 107.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/5.077, allocations: 82.25 kB / 0.8898 GB, free: 107.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/5.078, allocations: 26.25 kB / 0.8899 GB, free: 107.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001764/5.079, allocations: 0.5648 MB / 0.8904 GB, free: 106.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/5.081, allocations: 0.7309 MB / 0.8911 GB, free: 106.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.341e-05/5.081, allocations: 7.938 kB / 0.8911 GB, free: 106.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/5.081, allocations: 3.75 kB / 0.8911 GB, free: 106.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.681e-05/5.082, allocations: 39.56 kB / 0.8912 GB, free: 106.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007414/5.089, allocations: 3.803 MB / 0.8949 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006215/5.09, allocations: 229.8 kB / 0.8951 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000426/5.09, allocations: 166.8 kB / 0.8953 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003247/5.093, allocations: 1.389 MB / 0.8966 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.378e-05/5.093, allocations: 34.8 kB / 0.8967 GB, free: 101.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 5.57e-06/5.094, allocations: 0 / 0.8967 GB, free: 101.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.006149/5.1, allocations: 1.152 MB / 0.8978 GB, free: 100.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/5.1, allocations: 132.5 kB / 0.8979 GB, free: 100.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/5.101, allocations: 488.2 kB / 0.8984 GB, free: 100.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001789/5.101, allocations: 29.69 kB / 0.8984 GB, free: 100.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003646/5.102, allocations: 349.8 kB / 0.8987 GB, free: 99.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002622/5.102, allocations: 117.9 kB / 0.8988 GB, free: 99.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.504e-05/5.102, allocations: 0 / 0.8988 GB, free: 99.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002283/5.102, allocations: 374.4 kB / 0.8992 GB, free: 99.45 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009506/5.103, allocations: 190.7 kB / 0.8994 GB, free: 99.36 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/5.104, allocations: 0.5179 MB / 0.8999 GB, free: 98.81 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002398/5.107, allocations: 319.7 kB / 0.9002 GB, free: 98.65 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.186e-05/5.107, allocations: 3.906 kB / 0.9002 GB, free: 98.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.005959/5.113, allocations: 0.8369 MB / 0.901 GB, free: 98.24 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/5.113, allocations: 4.062 kB / 0.901 GB, free: 98.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.851e-05/5.113, allocations: 15.72 kB / 0.901 GB, free: 98.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002932/5.116, allocations: 225.6 kB / 0.9012 GB, free: 98.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/5.117, allocations: 128.5 kB / 0.9014 GB, free: 98.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002052/5.119, allocations: 0.8979 MB / 0.9022 GB, free: 97.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/5.121, allocations: 39.31 kB / 0.9023 GB, free: 97.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/5.121, allocations: 39.23 kB / 0.9023 GB, free: 97.38 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (77): * Single equations (assignments): 76 * 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 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003156/5.121, allocations: 136.3 kB / 0.9025 GB, free: 97.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/5.121, allocations: 58.59 kB / 0.9025 GB, free: 97.21 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002141/5.124, allocations: 0.5708 MB / 0.9031 GB, free: 96.84 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/5.124, allocations: 4.047 kB / 0.9031 GB, free: 96.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/5.124, allocations: 0 / 0.9031 GB, free: 96.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/5.124, allocations: 3.984 kB / 0.9031 GB, free: 96.83 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00305/5.127, allocations: 1.075 MB / 0.9041 GB, free: 96.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/5.127, allocations: 4 kB / 0.9041 GB, free: 96.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002443/5.129, allocations: 168.4 kB / 0.9043 GB, free: 95.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001949/5.13, allocations: 20.66 kB / 0.9043 GB, free: 95.97 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.418e-05/5.13, allocations: 11.89 kB / 0.9043 GB, free: 95.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002553/5.132, allocations: 2.565 MB / 0.9068 GB, free: 93.34 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/5.132, allocations: 4.219 kB / 0.9068 GB, free: 93.34 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002178/5.135, allocations: 0.7556 MB / 0.9076 GB, free: 92.84 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002693/5.137, allocations: 1.336 MB / 0.9089 GB, free: 91.85 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005525/5.138, allocations: 191.4 kB / 0.9091 GB, free: 91.67 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00018/5.138, allocations: 3.906 kB / 0.9091 GB, free: 91.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009569/5.139, allocations: 15.78 kB / 0.9091 GB, free: 91.66 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/5.139, allocations: 19.69 kB / 0.9091 GB, free: 91.65 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-05/5.139, allocations: 19.8 kB / 0.9091 GB, free: 91.64 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007643/5.14, allocations: 373.8 kB / 0.9095 GB, free: 91.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002916/5.143, allocations: 245.3 kB / 0.9097 GB, free: 91.37 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001139/5.144, allocations: 367.1 kB / 0.91 GB, free: 91.17 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002125/5.146, allocations: 0.5089 MB / 0.9105 GB, free: 90.96 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/5.146, allocations: 5.469 kB / 0.9105 GB, free: 90.96 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002508/5.149, allocations: 395.2 kB / 0.9109 GB, free: 90.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002757/5.152, allocations: 227.8 kB / 0.9111 GB, free: 90.64 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003904/5.156, allocations: 0.886 MB / 0.912 GB, free: 90.12 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001112/5.157, allocations: 1.009 MB / 0.913 GB, free: 89.28 MB / 490.7 MB Notification: Performance of SimCode: time 1.673e-06/5.157, allocations: 1.594 kB / 0.913 GB, free: 89.28 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat