Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,fileNamePrefix="Modelica_3_2_1_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.806/1.806, allocations: 171.2 MB / 178.1 MB, free: 0.7422 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1293/1.936, allocations: 41.09 MB / 219.2 MB, free: 7.586 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/2.152, allocations: 38.76 MB / 258 MB, free: 12.33 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.026/11.18, allocations: 3.659 GB / 3.911 GB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/11.18, allocations: 82.2 kB / 3.911 GB, free: 1.258 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 3.066/14.24, allocations: 0.5486 GB / 4.46 GB, free: 7.184 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/14.24, allocations: 12 kB / 4.46 GB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/14.25, allocations: 130.7 kB / 4.46 GB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003224/14.25, allocations: 0.7399 MB / 4.461 GB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000204/14.25, allocations: 97.41 kB / 4.461 GB, free: 6.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004916/14.25, allocations: 52 kB / 4.461 GB, free: 6.109 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004549/14.25, allocations: 1.312 MB / 4.462 GB, free: 4.797 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004892/14.26, allocations: 1.314 MB / 4.463 GB, free: 3.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.272e-05/14.26, allocations: 11.84 kB / 4.463 GB, free: 3.398 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000231/14.26, allocations: 4 kB / 4.463 GB, free: 3.395 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001268/14.26, allocations: 69.95 kB / 4.463 GB, free: 3.328 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1979/14.46, allocations: 6.148 MB / 4.469 GB, free: 54.49 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/14.46, allocations: 0.6008 MB / 4.47 GB, free: 54.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/14.46, allocations: 444.8 kB / 4.47 GB, free: 54.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001362/14.46, allocations: 1.235 MB / 4.472 GB, free: 53.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/14.46, allocations: 51.25 kB / 4.472 GB, free: 53.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=76): time 5.801e-06/14.46, allocations: 6.703 kB / 4.472 GB, free: 53.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=88): time 0.02658/14.49, allocations: 4.139 MB / 4.476 GB, free: 52.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/14.49, allocations: 111.3 kB / 4.476 GB, free: 52.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/14.49, allocations: 0.5688 MB / 4.476 GB, free: 52.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001421/14.49, allocations: 29.02 kB / 4.476 GB, free: 52.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/14.49, allocations: 435.6 kB / 4.477 GB, free: 52.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000323/14.49, allocations: 305.5 kB / 4.477 GB, free: 52.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/14.49, allocations: 3 kB / 4.477 GB, free: 52.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/14.49, allocations: 390.1 kB / 4.478 GB, free: 51.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/14.49, allocations: 0.5317 MB / 4.478 GB, free: 51.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001586/14.49, allocations: 0.9156 MB / 4.479 GB, free: 51.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008727/14.5, allocations: 1.341 MB / 4.48 GB, free: 51.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.421e-05/14.5, allocations: 4.969 kB / 4.48 GB, free: 51.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.01148/14.51, allocations: 2.296 MB / 4.483 GB, free: 51.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001084/14.51, allocations: 4.697 MB / 4.487 GB, free: 46.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.048e-05/14.51, allocations: 11.47 kB / 4.487 GB, free: 46.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001884/14.52, allocations: 250.3 kB / 4.487 GB, free: 46.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002391/14.52, allocations: 285.9 kB / 4.488 GB, free: 46.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001504/14.52, allocations: 0.8703 MB / 4.489 GB, free: 45.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002216/14.52, allocations: 91.88 kB / 4.489 GB, free: 45.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002321/14.52, allocations: 80.47 kB / 4.489 GB, free: 45.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/14.52, allocations: 5.469 kB / 4.489 GB, free: 45.75 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0111/14.53, allocations: 2.13 MB / 4.491 GB, free: 45.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.308e-05/14.53, allocations: 14.98 kB / 4.491 GB, free: 45.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001745/14.54, allocations: 250.5 kB / 4.491 GB, free: 45.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002215/14.54, allocations: 283 kB / 4.491 GB, free: 45.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/14.54, allocations: 0.8586 MB / 4.492 GB, free: 45.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002033/14.54, allocations: 87.09 kB / 4.492 GB, free: 45.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002249/14.54, allocations: 78.86 kB / 4.492 GB, free: 45.19 MB / 378.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.0005149/14.54, allocations: 150.9 kB / 4.492 GB, free: 45.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002746/14.54, allocations: 88.5 kB / 4.492 GB, free: 45.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007211/14.55, allocations: 1.809 MB / 4.494 GB, free: 44.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.633e-05/14.55, allocations: 11.25 kB / 4.494 GB, free: 44.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/14.55, allocations: 0 / 4.494 GB, free: 44.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/14.55, allocations: 5.859 kB / 4.494 GB, free: 44.94 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/14.56, allocations: 3.36 MB / 4.498 GB, free: 44.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/14.56, allocations: 3.094 kB / 4.498 GB, free: 44.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/14.56, allocations: 169.6 kB / 4.498 GB, free: 44.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002497/14.56, allocations: 317.5 kB / 4.498 GB, free: 44.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002776/14.57, allocations: 31.28 kB / 4.498 GB, free: 44.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/14.57, allocations: 0.8357 MB / 4.499 GB, free: 43.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-05/14.57, allocations: 8.609 kB / 4.499 GB, free: 43.62 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007404/14.57, allocations: 2.409 MB / 4.501 GB, free: 43.07 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009951/14.58, allocations: 3.689 MB / 4.505 GB, free: 42.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/14.59, allocations: 318.8 kB / 4.505 GB, free: 42.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003496/14.59, allocations: 15.34 kB / 4.505 GB, free: 42.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002017/14.59, allocations: 62.06 kB / 4.505 GB, free: 42.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002275/14.59, allocations: 64.7 kB / 4.505 GB, free: 42.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001952/14.59, allocations: 56.17 kB / 4.505 GB, free: 42.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0008655/14.59, allocations: 436.7 kB / 4.506 GB, free: 41.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01516/14.6, allocations: 1.702 MB / 4.507 GB, free: 41.93 MB / 378.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.008275/14.61, allocations: 2.217 MB / 4.51 GB, free: 41.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006384/14.62, allocations: 2.276 MB / 4.512 GB, free: 41.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-05/14.62, allocations: 1.656 kB / 4.512 GB, free: 41.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001801/14.62, allocations: 0.6235 MB / 4.512 GB, free: 41.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003769/14.62, allocations: 379.5 kB / 4.513 GB, free: 41.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008488/14.63, allocations: 2.046 MB / 4.515 GB, free: 41.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001832/14.64, allocations: 1.299 MB / 4.516 GB, free: 40.43 MB / 378.7 MB Notification: Performance of SimCode: time 1.553e-06/14.64, allocations: 0 / 4.516 GB, free: 40.43 MB / 378.7 MB