Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_TestOnly_IdealGasN2",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.703/1.703, allocations: 171.2 MB / 178.1 MB, free: 8.289 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1885/1.892, allocations: 41.1 MB / 219.2 MB, free: 11.19 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09297/1.985, allocations: 38.77 MB / 258 MB, free: 4.363 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.279/3.264, allocations: 440.9 MB / 0.6825 GB, free: 92.95 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/3.264, allocations: 70.45 kB / 0.6826 GB, free: 92.95 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.1206/3.385, allocations: 29.55 MB / 0.7114 GB, free: 80.01 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/3.385, allocations: 12.16 kB / 0.7114 GB, free: 80 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003134/3.388, allocations: 225.6 kB / 0.7117 GB, free: 79.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/3.389, allocations: 205.2 kB / 0.7118 GB, free: 79.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/3.389, allocations: 4 kB / 0.7119 GB, free: 79.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.014e-05/3.389, allocations: 4 kB / 0.7119 GB, free: 79.56 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000549/3.389, allocations: 149.5 kB / 0.712 GB, free: 79.47 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003112/3.39, allocations: 140.9 kB / 0.7121 GB, free: 79.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/3.39, allocations: 0 / 0.7121 GB, free: 79.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.593e-05/3.39, allocations: 0 / 0.7121 GB, free: 79.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/3.39, allocations: 4 kB / 0.7121 GB, free: 79.34 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/3.391, allocations: 0.5587 MB / 0.7127 GB, free: 78.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003763/3.392, allocations: 117.8 kB / 0.7128 GB, free: 78.7 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/3.392, allocations: 59.59 kB / 0.7129 GB, free: 78.65 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.509e-05/3.392, allocations: 0 / 0.7129 GB, free: 78.65 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/3.392, allocations: 46.11 kB / 0.7129 GB, free: 78.6 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 3.076e-06/3.392, allocations: 4 kB / 0.7129 GB, free: 78.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.008228/3.4, allocations: 0.863 MB / 0.7137 GB, free: 77.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/3.4, allocations: 59.41 kB / 0.7138 GB, free: 77.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/3.401, allocations: 100.8 kB / 0.7139 GB, free: 77.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/3.401, allocations: 25.7 kB / 0.7139 GB, free: 77.56 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.443e-05/3.401, allocations: 103.2 kB / 0.714 GB, free: 77.46 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.498e-05/3.401, allocations: 57.98 kB / 0.7141 GB, free: 77.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/3.401, allocations: 0 / 0.7141 GB, free: 77.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.381e-05/3.401, allocations: 325.5 kB / 0.7144 GB, free: 77.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/3.401, allocations: 61.73 kB / 0.7144 GB, free: 77.05 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/3.401, allocations: 92.36 kB / 0.7145 GB, free: 76.97 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/3.401, allocations: 70.16 kB / 0.7146 GB, free: 76.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/3.401, allocations: 0 / 0.7146 GB, free: 76.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006444/3.402, allocations: 230.6 kB / 0.7148 GB, free: 76.74 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/3.402, allocations: 4 kB / 0.7148 GB, free: 76.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/3.402, allocations: 4 kB / 0.7148 GB, free: 76.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002484/3.402, allocations: 48.55 kB / 0.7149 GB, free: 76.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006341/3.403, allocations: 51.59 kB / 0.7149 GB, free: 76.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005446/3.404, allocations: 0.5826 MB / 0.7155 GB, free: 76.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003374/3.404, allocations: 8.094 kB / 0.7155 GB, free: 76.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.389e-05/3.404, allocations: 27.69 kB / 0.7155 GB, free: 76.01 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001463/3.404, allocations: 104.9 kB / 0.7156 GB, free: 75.9 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.452e-05/3.404, allocations: 19.8 kB / 0.7156 GB, free: 75.88 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/3.406, allocations: 347.7 kB / 0.716 GB, free: 75.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/3.406, allocations: 4 kB / 0.716 GB, free: 75.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/3.406, allocations: 0 / 0.716 GB, free: 75.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/3.406, allocations: 3.984 kB / 0.716 GB, free: 75.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/3.407, allocations: 0.5499 MB / 0.7165 GB, free: 75.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/3.407, allocations: 0 / 0.7165 GB, free: 75.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006579/3.408, allocations: 61.89 kB / 0.7166 GB, free: 75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001352/3.408, allocations: 23.53 kB / 0.7166 GB, free: 74.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.851e-05/3.408, allocations: 13.11 kB / 0.7166 GB, free: 74.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009929/3.409, allocations: 1.217 MB / 0.7178 GB, free: 73.67 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/3.409, allocations: 7.969 kB / 0.7178 GB, free: 73.66 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008959/3.41, allocations: 433.8 kB / 0.7182 GB, free: 73.26 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001286/3.411, allocations: 0.9011 MB / 0.7191 GB, free: 72.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.617e-05/3.411, allocations: 85.73 kB / 0.7192 GB, free: 72.33 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.225e-05/3.411, allocations: 8 kB / 0.7192 GB, free: 72.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004109/3.412, allocations: 4 kB / 0.7192 GB, free: 72.32 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.665e-05/3.412, allocations: 22.16 kB / 0.7192 GB, free: 72.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.268e-05/3.412, allocations: 29.98 kB / 0.7192 GB, free: 72.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.495e-05/3.412, allocations: 82.59 kB / 0.7193 GB, free: 72.2 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001724/3.414, allocations: 149.2 kB / 0.7195 GB, free: 72.11 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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.001285/3.415, allocations: 0.6214 MB / 0.7201 GB, free: 71.49 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007521/3.416, allocations: 186.9 kB / 0.7203 GB, free: 71.36 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/3.416, allocations: 0.75 kB / 0.7203 GB, free: 71.36 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004378/3.416, allocations: 200.2 kB / 0.7204 GB, free: 71.17 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006364/3.417, allocations: 44.5 kB / 0.7205 GB, free: 71.13 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/3.418, allocations: 317.2 kB / 0.7208 GB, free: 70.79 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007296/3.419, allocations: 0.7862 MB / 0.7216 GB, free: 69.97 MB / 346.7 MB Notification: Performance of SimCode: time 1.142e-06/3.419, allocations: 4 kB / 0.7216 GB, free: 69.97 MB / 346.7 MB