Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",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.79/1.79, allocations: 194.9 MB / 202.6 MB, free: 6.887 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2301/2.02, allocations: 46.83 MB / 249.4 MB, free: 5.309 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09525/2.116, allocations: 44.5 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.073/3.189, allocations: 433.1 MB / 0.71 GB, free: 94.56 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/3.189, allocations: 85.88 kB / 0.71 GB, free: 94.51 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.6541/3.843, allocations: 142.9 MB / 0.8496 GB, free: 93.37 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/3.843, allocations: 11.41 kB / 0.8496 GB, free: 93.37 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000426/3.844, allocations: 38.48 kB / 0.8496 GB, free: 93.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004852/3.844, allocations: 277.4 kB / 0.8499 GB, free: 93.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/3.844, allocations: 11.73 kB / 0.8499 GB, free: 93.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.958e-05/3.845, allocations: 20.38 kB / 0.8499 GB, free: 93.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000526/3.845, allocations: 176.7 kB / 0.8501 GB, free: 93.15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006308/3.846, allocations: 274.4 kB / 0.8504 GB, free: 93.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/3.846, allocations: 0 / 0.8504 GB, free: 93.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.596e-05/3.846, allocations: 6.891 kB / 0.8504 GB, free: 93.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/3.846, allocations: 7.094 kB / 0.8504 GB, free: 93.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002387/3.848, allocations: 1.576 MB / 0.8519 GB, free: 91.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/3.849, allocations: 105.4 kB / 0.852 GB, free: 91.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/3.849, allocations: 79.84 kB / 0.8521 GB, free: 91.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.023e-05/3.849, allocations: 6.656 kB / 0.8521 GB, free: 91.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/3.849, allocations: 43.84 kB / 0.8522 GB, free: 91.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.745e-06/3.849, allocations: 0 / 0.8522 GB, free: 91.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.007993/3.857, allocations: 0.9633 MB / 0.8531 GB, free: 91.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/3.857, allocations: 54.16 kB / 0.8531 GB, free: 91.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003101/3.857, allocations: 210.1 kB / 0.8533 GB, free: 91.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/3.857, allocations: 25.7 kB / 0.8534 GB, free: 91.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.265e-05/3.857, allocations: 174.3 kB / 0.8535 GB, free: 91.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.73e-05/3.857, allocations: 81.48 kB / 0.8536 GB, free: 91.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/3.858, allocations: 0 / 0.8536 GB, free: 91.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.621e-05/3.858, allocations: 343.6 kB / 0.8539 GB, free: 90.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/3.858, allocations: 74.22 kB / 0.854 GB, free: 90.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/3.858, allocations: 173 kB / 0.8542 GB, free: 90.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003144/3.859, allocations: 114.9 kB / 0.8543 GB, free: 90.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/3.859, allocations: 0 / 0.8543 GB, free: 90.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001003/3.86, allocations: 350.2 kB / 0.8546 GB, free: 90.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/3.86, allocations: 5.688 kB / 0.8546 GB, free: 90.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/3.86, allocations: 3.531 kB / 0.8546 GB, free: 90.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003119/3.86, allocations: 68.27 kB / 0.8547 GB, free: 90.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006889/3.861, allocations: 84.08 kB / 0.8548 GB, free: 90.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001981/3.863, allocations: 1.813 MB / 0.8565 GB, free: 88.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005007/3.863, allocations: 12 kB / 0.8566 GB, free: 88.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.814e-05/3.863, allocations: 45.98 kB / 0.8566 GB, free: 88.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001604/3.863, allocations: 113.1 kB / 0.8567 GB, free: 88.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/3.864, allocations: 24.06 kB / 0.8567 GB, free: 88.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001605/3.865, allocations: 392.3 kB / 0.8571 GB, free: 88.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/3.865, allocations: 3.156 kB / 0.8571 GB, free: 88.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/3.865, allocations: 0 / 0.8571 GB, free: 88.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006696/3.866, allocations: 0.5377 MB / 0.8576 GB, free: 88.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/3.867, allocations: 0.6559 MB / 0.8583 GB, free: 87.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/3.867, allocations: 0 / 0.8583 GB, free: 87.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000657/3.868, allocations: 78.03 kB / 0.8583 GB, free: 87.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001265/3.868, allocations: 17.69 kB / 0.8584 GB, free: 87.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.159e-05/3.868, allocations: 14.95 kB / 0.8584 GB, free: 87.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009598/3.869, allocations: 1.224 MB / 0.8596 GB, free: 86.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/3.869, allocations: 4.297 kB / 0.8596 GB, free: 86.66 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000984/3.87, allocations: 476.7 kB / 0.86 GB, free: 86.46 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001416/3.872, allocations: 0.9627 MB / 0.861 GB, free: 85.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/3.872, allocations: 102.5 kB / 0.8611 GB, free: 85.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.499e-05/3.872, allocations: 0 / 0.8611 GB, free: 85.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005315/3.872, allocations: 15.77 kB / 0.8611 GB, free: 85.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.248e-05/3.873, allocations: 21.95 kB / 0.8611 GB, free: 85.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.941e-05/3.873, allocations: 34.16 kB / 0.8611 GB, free: 85.76 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002119/3.873, allocations: 156.5 kB / 0.8613 GB, free: 85.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002247/3.875, allocations: 232.1 kB / 0.8615 GB, free: 85.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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.001667/3.877, allocations: 0.9185 MB / 0.8624 GB, free: 85.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009623/3.878, allocations: 336.9 kB / 0.8627 GB, free: 85.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/3.878, allocations: 0 / 0.8627 GB, free: 85.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003816/3.878, allocations: 210.5 kB / 0.8629 GB, free: 85.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/3.88, allocations: 124.7 kB / 0.863 GB, free: 85.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/3.881, allocations: 488.6 kB / 0.8635 GB, free: 85.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009287/3.882, allocations: 0.869 MB / 0.8644 GB, free: 84.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/3.882, allocations: 0 / 0.8644 GB, free: 84.4 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat does not exist to compare? outputFormat=mat