Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Fluid_Examples_TraceSubstances_RoomCO2",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.796/1.796, allocations: 194.9 MB / 202.6 MB, free: 6.891 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2324/2.029, allocations: 46.83 MB / 249.4 MB, free: 5.355 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09677/2.125, allocations: 44.5 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.66/10.79, allocations: 3.665 GB / 3.952 GB, free: 42.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/10.79, allocations: 83.7 kB / 3.952 GB, free: 42.39 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 3.189/13.98, allocations: 0.5523 GB / 4.504 GB, free: 37.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/13.98, allocations: 8.344 kB / 4.504 GB, free: 37.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/13.98, allocations: 129.9 kB / 4.504 GB, free: 37.74 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002659/13.98, allocations: 0.733 MB / 4.505 GB, free: 37.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/13.98, allocations: 101.7 kB / 4.505 GB, free: 37.44 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002655/13.98, allocations: 56.28 kB / 4.505 GB, free: 37.44 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003844/13.98, allocations: 1.313 MB / 4.507 GB, free: 37.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003471/13.99, allocations: 1.32 MB / 4.508 GB, free: 37.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.532e-05/13.99, allocations: 4.594 kB / 4.508 GB, free: 37.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002052/13.99, allocations: 3.844 kB / 4.508 GB, free: 37.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001076/13.99, allocations: 67.44 kB / 4.508 GB, free: 37.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0148/14, allocations: 6.422 MB / 4.514 GB, free: 33.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002035/14, allocations: 0.5887 MB / 4.515 GB, free: 33.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/14.01, allocations: 443.9 kB / 4.515 GB, free: 33.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001375/14.01, allocations: 1.24 MB / 4.516 GB, free: 32.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/14.01, allocations: 52.09 kB / 4.516 GB, free: 32.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=76): time 5.671e-06/14.01, allocations: 0 / 4.516 GB, free: 32.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=88): time 0.03044/14.04, allocations: 4.142 MB / 4.521 GB, free: 31.81 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/14.04, allocations: 112.9 kB / 4.521 GB, free: 31.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/14.04, allocations: 0.5774 MB / 4.521 GB, free: 31.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003685/14.04, allocations: 27.86 kB / 4.521 GB, free: 31.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003045/14.04, allocations: 426.9 kB / 4.522 GB, free: 31.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004038/14.04, allocations: 313.3 kB / 4.522 GB, free: 31.03 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/14.04, allocations: 0 / 4.522 GB, free: 31.03 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001745/14.04, allocations: 392.5 kB / 4.522 GB, free: 30.72 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001653/14.04, allocations: 0.5316 MB / 4.523 GB, free: 30.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001873/14.04, allocations: 0.9129 MB / 4.524 GB, free: 30.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01006/14.05, allocations: 1.344 MB / 4.525 GB, free: 30.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.016e-05/14.05, allocations: 3.125 kB / 4.525 GB, free: 30.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.01367/14.07, allocations: 2.295 MB / 4.527 GB, free: 30.15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009869/14.07, allocations: 4.695 MB / 4.532 GB, free: 25.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.551e-05/14.07, allocations: 12.25 kB / 4.532 GB, free: 25.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002241/14.07, allocations: 250 kB / 4.532 GB, free: 25.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002839/14.07, allocations: 287.6 kB / 4.532 GB, free: 25.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/14.08, allocations: 0.8612 MB / 4.533 GB, free: 24.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002673/14.08, allocations: 98.02 kB / 4.533 GB, free: 24.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002734/14.08, allocations: 80.61 kB / 4.533 GB, free: 24.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/14.08, allocations: 3.969 kB / 4.533 GB, free: 24.72 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01327/14.09, allocations: 2.14 MB / 4.535 GB, free: 24.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.338e-05/14.09, allocations: 11.31 kB / 4.535 GB, free: 24.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002099/14.09, allocations: 245.6 kB / 4.536 GB, free: 24.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002675/14.1, allocations: 282.8 kB / 4.536 GB, free: 24.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001653/14.1, allocations: 0.8708 MB / 4.537 GB, free: 24.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002427/14.1, allocations: 84.75 kB / 4.537 GB, free: 24.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002606/14.1, allocations: 86.02 kB / 4.537 GB, free: 24.15 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.0005295/14.1, allocations: 147.7 kB / 4.537 GB, free: 24.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003044/14.1, allocations: 88.25 kB / 4.537 GB, free: 23.99 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008233/14.11, allocations: 1.801 MB / 4.539 GB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.253e-05/14.11, allocations: 13.12 kB / 4.539 GB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/14.11, allocations: 0 / 4.539 GB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.796e-05/14.11, allocations: 8.625 kB / 4.539 GB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01094/14.12, allocations: 3.359 MB / 4.542 GB, free: 23.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/14.12, allocations: 5.188 kB / 4.542 GB, free: 23.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001855/14.12, allocations: 175.3 kB / 4.542 GB, free: 23.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002921/14.13, allocations: 313.5 kB / 4.543 GB, free: 23.06 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000168/14.13, allocations: 32.33 kB / 4.543 GB, free: 23.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/14.13, allocations: 0.835 MB / 4.544 GB, free: 22.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/14.13, allocations: 4.344 kB / 4.544 GB, free: 22.54 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007796/14.14, allocations: 2.42 MB / 4.546 GB, free: 22 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01021/14.15, allocations: 3.679 MB / 4.55 GB, free: 21.08 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/14.15, allocations: 312.9 kB / 4.55 GB, free: 20.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003337/14.15, allocations: 13.92 kB / 4.55 GB, free: 20.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001942/14.15, allocations: 65.75 kB / 4.55 GB, free: 20.94 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001866/14.15, allocations: 63.02 kB / 4.55 GB, free: 20.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001976/14.15, allocations: 57.31 kB / 4.55 GB, free: 20.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0008783/14.15, allocations: 431.4 kB / 4.55 GB, free: 20.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009707/14.16, allocations: 1.703 MB / 4.552 GB, free: 20.61 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.007488/14.17, allocations: 2.236 MB / 4.554 GB, free: 20.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006695/14.17, allocations: 2.276 MB / 4.557 GB, free: 20.01 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/14.17, allocations: 5 kB / 4.557 GB, free: 20.01 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002022/14.18, allocations: 0.6189 MB / 4.557 GB, free: 20.01 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004245/14.18, allocations: 377 kB / 4.557 GB, free: 19.99 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008866/14.19, allocations: 2.034 MB / 4.559 GB, free: 19.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001913/14.19, allocations: 1.301 MB / 4.561 GB, free: 18.83 MB / 426.7 MB Notification: Performance of SimCode: time 1.392e-06/14.19, allocations: 0 / 4.561 GB, free: 18.83 MB / 426.7 MB