Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,fileNamePrefix="Modelica_3_2_2_Modelica_Fluid_Examples_TraceSubstances_RoomCO2",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.622/1.622, allocations: 194.9 MB / 202.5 MB, free: 6.938 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.236/1.858, allocations: 46.83 MB / 249.3 MB, free: 5.355 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08984/1.947, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.449/9.396, allocations: 3.665 GB / 3.952 GB, free: 43.81 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/9.396, allocations: 80.02 kB / 3.952 GB, free: 43.77 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 2.758/12.15, allocations: 0.5523 GB / 4.504 GB, free: 37.22 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/12.15, allocations: 6.875 kB / 4.504 GB, free: 37.22 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/12.16, allocations: 131.2 kB / 4.504 GB, free: 37.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002532/12.16, allocations: 0.7375 MB / 4.505 GB, free: 36.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/12.16, allocations: 99.64 kB / 4.505 GB, free: 36.85 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002459/12.16, allocations: 51.91 kB / 4.505 GB, free: 36.85 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003489/12.16, allocations: 1.31 MB / 4.506 GB, free: 36.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00315/12.17, allocations: 1.328 MB / 4.508 GB, free: 36.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.778e-05/12.17, allocations: 0 / 4.508 GB, free: 36.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000181/12.17, allocations: 3.906 kB / 4.508 GB, free: 36.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.535e-05/12.17, allocations: 69.94 kB / 4.508 GB, free: 36.62 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01356/12.18, allocations: 6.426 MB / 4.514 GB, free: 33.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/12.18, allocations: 0.5851 MB / 4.515 GB, free: 33.05 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/12.18, allocations: 449.3 kB / 4.515 GB, free: 33.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001218/12.18, allocations: 1.247 MB / 4.516 GB, free: 31.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/12.18, allocations: 46.5 kB / 4.516 GB, free: 31.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=76): time 2.996e-06/12.18, allocations: 0 / 4.516 GB, free: 31.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=88): time 0.02668/12.21, allocations: 4.149 MB / 4.52 GB, free: 31.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/12.21, allocations: 115.9 kB / 4.521 GB, free: 31.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/12.21, allocations: 0.5731 MB / 4.521 GB, free: 30.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002326/12.21, allocations: 25.7 kB / 4.521 GB, free: 30.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002499/12.21, allocations: 431.9 kB / 4.522 GB, free: 30.63 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003186/12.21, allocations: 304.4 kB / 4.522 GB, free: 30.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/12.21, allocations: 2.562 kB / 4.522 GB, free: 30.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/12.21, allocations: 390.7 kB / 4.522 GB, free: 30.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/12.21, allocations: 0.5348 MB / 4.523 GB, free: 30.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001545/12.22, allocations: 0.9102 MB / 4.524 GB, free: 29.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008765/12.22, allocations: 1.347 MB / 4.525 GB, free: 29.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-05/12.22, allocations: 4.344 kB / 4.525 GB, free: 29.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.01184/12.24, allocations: 2.292 MB / 4.527 GB, free: 29.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008951/12.24, allocations: 4.703 MB / 4.532 GB, free: 24.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.063e-05/12.24, allocations: 11.41 kB / 4.532 GB, free: 24.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001846/12.24, allocations: 249.3 kB / 4.532 GB, free: 24.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002405/12.24, allocations: 281.8 kB / 4.532 GB, free: 24.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/12.24, allocations: 0.862 MB / 4.533 GB, free: 24.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002358/12.25, allocations: 99.55 kB / 4.533 GB, free: 24.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002553/12.25, allocations: 80.25 kB / 4.533 GB, free: 24.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/12.25, allocations: 6.25 kB / 4.533 GB, free: 24.12 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01119/12.26, allocations: 2.135 MB / 4.535 GB, free: 24.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.897e-05/12.26, allocations: 10.88 kB / 4.535 GB, free: 24.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001738/12.26, allocations: 254.4 kB / 4.536 GB, free: 24.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002313/12.26, allocations: 281.7 kB / 4.536 GB, free: 24.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/12.26, allocations: 0.8679 MB / 4.537 GB, free: 23.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002164/12.26, allocations: 82.95 kB / 4.537 GB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002488/12.26, allocations: 82.62 kB / 4.537 GB, free: 23.55 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 6 (traceVolume.ind,traceSource.ind,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 (153): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 2 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004934/12.27, allocations: 148.3 kB / 4.537 GB, free: 23.44 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002784/12.27, allocations: 87.25 kB / 4.537 GB, free: 23.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007078/12.27, allocations: 1.802 MB / 4.539 GB, free: 23.28 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.213e-05/12.27, allocations: 15.27 kB / 4.539 GB, free: 23.28 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/12.27, allocations: 0 / 4.539 GB, free: 23.28 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/12.27, allocations: 4.406 kB / 4.539 GB, free: 23.28 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009409/12.28, allocations: 3.357 MB / 4.542 GB, free: 22.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/12.28, allocations: 3.469 kB / 4.542 GB, free: 22.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001546/12.28, allocations: 176 kB / 4.542 GB, free: 22.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002475/12.29, allocations: 312.5 kB / 4.543 GB, free: 22.47 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002101/12.29, allocations: 31.33 kB / 4.543 GB, free: 22.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001346/12.29, allocations: 0.8369 MB / 4.544 GB, free: 21.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/12.29, allocations: 7.031 kB / 4.544 GB, free: 21.95 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006826/12.29, allocations: 2.417 MB / 4.546 GB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009081/12.3, allocations: 3.679 MB / 4.549 GB, free: 20.49 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009882/12.3, allocations: 317.3 kB / 4.55 GB, free: 20.35 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003122/12.31, allocations: 11.59 kB / 4.55 GB, free: 20.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001688/12.31, allocations: 63.28 kB / 4.55 GB, free: 20.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/12.31, allocations: 69.12 kB / 4.55 GB, free: 20.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001715/12.31, allocations: 55.41 kB / 4.55 GB, free: 20.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0008123/12.31, allocations: 432.2 kB / 4.55 GB, free: 20.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00887/12.32, allocations: 1.699 MB / 4.552 GB, free: 20.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume.mC_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 89 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.007231/12.32, allocations: 2.236 MB / 4.554 GB, free: 19.56 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006005/12.33, allocations: 2.273 MB / 4.556 GB, free: 19.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/12.33, allocations: 2.656 kB / 4.556 GB, free: 19.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001695/12.33, allocations: 0.6241 MB / 4.557 GB, free: 19.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003489/12.34, allocations: 371.9 kB / 4.557 GB, free: 19.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007896/12.34, allocations: 2.039 MB / 4.559 GB, free: 18.95 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001712/12.35, allocations: 1.304 MB / 4.561 GB, free: 18.23 MB / 426.7 MB Notification: Performance of SimCode: time 1.353e-06/12.35, allocations: 0 / 4.561 GB, free: 18.23 MB / 426.7 MB