Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) [: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.689/1.689, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2682/1.957, allocations: 46.83 MB / 249.4 MB, free: 5.324 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09006/2.047, allocations: 44.51 MB / 293.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9661/3.013, allocations: 433.1 MB / 0.7099 GB, free: 68.13 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/3.014, allocations: 86.56 kB / 0.71 GB, free: 68.08 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.5981/3.612, allocations: 142.9 MB / 0.8495 GB, free: 85.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/3.612, allocations: 8 kB / 0.8495 GB, free: 85.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000392/3.612, allocations: 47.55 kB / 0.8496 GB, free: 85.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004529/3.613, allocations: 274.2 kB / 0.8499 GB, free: 84.88 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/3.613, allocations: 11.94 kB / 0.8499 GB, free: 84.86 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.511e-05/3.613, allocations: 12 kB / 0.8499 GB, free: 84.85 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004947/3.613, allocations: 188.9 kB / 0.8501 GB, free: 84.67 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005665/3.614, allocations: 265.9 kB / 0.8503 GB, free: 84.38 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/3.614, allocations: 7.984 kB / 0.8503 GB, free: 84.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.013e-05/3.614, allocations: 0 / 0.8503 GB, free: 84.38 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/3.614, allocations: 8 kB / 0.8503 GB, free: 84.36 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002111/3.616, allocations: 1.579 MB / 0.8519 GB, free: 82.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/3.616, allocations: 105.6 kB / 0.852 GB, free: 82.55 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/3.617, allocations: 76.91 kB / 0.852 GB, free: 82.47 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.501e-05/3.617, allocations: 4 kB / 0.852 GB, free: 82.47 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/3.617, allocations: 38.56 kB / 0.8521 GB, free: 82.42 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 2.796e-06/3.617, allocations: 4 kB / 0.8521 GB, free: 82.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.007064/3.624, allocations: 0.9584 MB / 0.853 GB, free: 81.38 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/3.624, allocations: 63.25 kB / 0.8531 GB, free: 81.31 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/3.624, allocations: 207.8 kB / 0.8533 GB, free: 81.1 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/3.624, allocations: 29.7 kB / 0.8533 GB, free: 81.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/3.624, allocations: 167.8 kB / 0.8535 GB, free: 80.9 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.696e-05/3.624, allocations: 86.75 kB / 0.8536 GB, free: 80.81 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/3.624, allocations: 0 / 0.8536 GB, free: 80.81 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.396e-05/3.624, allocations: 330.8 kB / 0.8539 GB, free: 80.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/3.625, allocations: 76 kB / 0.8539 GB, free: 80.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/3.625, allocations: 172 kB / 0.8541 GB, free: 80.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/3.625, allocations: 115.9 kB / 0.8542 GB, free: 80.08 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/3.625, allocations: 0 / 0.8542 GB, free: 80.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008673/3.626, allocations: 354.7 kB / 0.8546 GB, free: 79.72 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/3.626, allocations: 8 kB / 0.8546 GB, free: 79.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/3.626, allocations: 4 kB / 0.8546 GB, free: 79.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002699/3.626, allocations: 61.69 kB / 0.8546 GB, free: 79.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006115/3.627, allocations: 84.3 kB / 0.8547 GB, free: 79.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/3.628, allocations: 1.804 MB / 0.8565 GB, free: 77.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004334/3.629, allocations: 20.58 kB / 0.8565 GB, free: 77.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.401e-05/3.629, allocations: 43.94 kB / 0.8565 GB, free: 77.56 MB / 394.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.0001358/3.629, allocations: 113 kB / 0.8566 GB, free: 77.44 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.859e-05/3.629, allocations: 27.66 kB / 0.8567 GB, free: 77.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/3.631, allocations: 400.4 kB / 0.857 GB, free: 77.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/3.631, allocations: 0 / 0.857 GB, free: 77.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/3.631, allocations: 4 kB / 0.857 GB, free: 77.01 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005778/3.631, allocations: 0.5357 MB / 0.8576 GB, free: 76.39 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/3.633, allocations: 0.6605 MB / 0.8582 GB, free: 75.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/3.633, allocations: 0 / 0.8582 GB, free: 75.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005942/3.633, allocations: 71.95 kB / 0.8583 GB, free: 75.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001126/3.634, allocations: 16.84 kB / 0.8583 GB, free: 75.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.702e-05/3.634, allocations: 15.98 kB / 0.8583 GB, free: 75.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008181/3.634, allocations: 1.225 MB / 0.8595 GB, free: 74.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/3.634, allocations: 4.062 kB / 0.8595 GB, free: 74.23 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008187/3.635, allocations: 472.9 kB / 0.86 GB, free: 73.73 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001221/3.636, allocations: 0.9635 MB / 0.8609 GB, free: 72.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/3.637, allocations: 100.8 kB / 0.861 GB, free: 72.61 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.713e-05/3.637, allocations: 7.906 kB / 0.861 GB, free: 72.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004871/3.637, allocations: 12.05 kB / 0.861 GB, free: 72.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.673e-05/3.637, allocations: 19.97 kB / 0.861 GB, free: 72.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.62e-05/3.637, allocations: 31.98 kB / 0.8611 GB, free: 72.54 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001938/3.638, allocations: 156.5 kB / 0.8612 GB, free: 72.39 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001914/3.639, allocations: 227.9 kB / 0.8614 GB, free: 72.17 MB / 394.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.001477/3.641, allocations: 0.9194 MB / 0.8623 GB, free: 71.35 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008855/3.642, allocations: 338.1 kB / 0.8627 GB, free: 71.01 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/3.642, allocations: 0 / 0.8627 GB, free: 71.01 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003413/3.642, allocations: 217.5 kB / 0.8629 GB, free: 70.79 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/3.644, allocations: 125.2 kB / 0.863 GB, free: 70.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/3.645, allocations: 490.2 kB / 0.8635 GB, free: 70.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008293/3.646, allocations: 0.8651 MB / 0.8643 GB, free: 69.27 MB / 394.7 MB Notification: Performance of SimCode: time 1.143e-06/3.646, allocations: 0 / 0.8643 GB, free: 69.27 MB / 394.7 MB