Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.NonCircularPipes,fileNamePrefix="Modelica_3_2_2_Modelica_Fluid_Examples_NonCircularPipes",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.647/1.647, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2129/1.86, allocations: 46.82 MB / 249.3 MB, free: 5.332 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09414/1.954, allocations: 44.51 MB / 293.8 MB, free: 10.94 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.799/7.753, allocations: 2.627 GB / 2.914 GB, free: 85.38 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/7.753, allocations: 73.83 kB / 2.914 GB, free: 85.38 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 391 * Number of variables: 391 Notification: Performance of Generate backend data structure: time 2.541/10.29, allocations: 0.5453 GB / 3.459 GB, free: 25.92 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/10.29, allocations: 10.94 kB / 3.459 GB, free: 25.92 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007566/10.3, allocations: 0.6317 MB / 3.46 GB, free: 25.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006038/10.31, allocations: 1.461 MB / 3.461 GB, free: 25.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002372/10.31, allocations: 78.69 kB / 3.461 GB, free: 25.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006373/10.31, allocations: 93.47 kB / 3.462 GB, free: 25.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005917/10.31, allocations: 2.031 MB / 3.464 GB, free: 25.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006631/10.32, allocations: 2.199 MB / 3.466 GB, free: 24.94 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.711e-05/10.32, allocations: 10.41 kB / 3.466 GB, free: 24.94 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003148/10.32, allocations: 3.938 kB / 3.466 GB, free: 24.94 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002198/10.32, allocations: 136.6 kB / 3.466 GB, free: 24.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4979/10.82, allocations: 76.64 MB / 3.541 GB, free: 76.88 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001994/10.82, allocations: 0.7852 MB / 3.541 GB, free: 76.86 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00153/10.82, allocations: 0.6858 MB / 3.542 GB, free: 76.85 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01171/10.84, allocations: 4.365 MB / 3.546 GB, free: 73.66 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.345e-05/10.84, allocations: 50.56 kB / 3.546 GB, free: 73.62 MB / 442.7 MB Notification: Performance of pre-optimization done (n=102): time 4.248e-06/10.84, allocations: 5.203 kB / 3.546 GB, free: 73.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=118): time 0.02153/10.86, allocations: 5.016 MB / 3.551 GB, free: 73.12 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.462e-05/10.86, allocations: 141.4 kB / 3.551 GB, free: 72.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001952/10.86, allocations: 0.8571 MB / 3.552 GB, free: 72.81 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003721/10.86, allocations: 29.36 kB / 3.552 GB, free: 72.78 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004157/10.86, allocations: 0.6426 MB / 3.553 GB, free: 72.46 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004879/10.86, allocations: 401.7 kB / 3.553 GB, free: 72.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/10.86, allocations: 3.594 kB / 3.553 GB, free: 72.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/10.86, allocations: 370.2 kB / 3.554 GB, free: 71.95 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002011/10.86, allocations: 0.8203 MB / 3.555 GB, free: 71.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002264/10.87, allocations: 1.259 MB / 3.556 GB, free: 71.45 MB / 442.7 MB Notification: The following equation is consistent and got removed from the initialization problem: circular_pipe.mediums[1].p = 1000000.0 Notification: The following equation is consistent and got removed from the initialization problem: annulus_pipe.mediums[1].p = 1000000.0 Notification: Performance of analyzeInitialSystem (initialization): time 0.03194/10.9, allocations: 4.256 MB / 3.56 GB, free: 71.23 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/10.9, allocations: 3.281 kB / 3.56 GB, free: 71.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=206) (initialization): time 0.0275/10.92, allocations: 4.757 MB / 3.565 GB, free: 71.08 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001044/10.93, allocations: 5.128 MB / 3.57 GB, free: 65.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.601e-05/10.93, allocations: 13.81 kB / 3.57 GB, free: 65.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002661/10.93, allocations: 0.4959 MB / 3.57 GB, free: 65.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003198/10.93, allocations: 403.6 kB / 3.57 GB, free: 65.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003575/10.94, allocations: 2.991 MB / 3.573 GB, free: 63.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003276/10.94, allocations: 194.8 kB / 3.574 GB, free: 63.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003155/10.94, allocations: 82.58 kB / 3.574 GB, free: 63.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/10.94, allocations: 3.562 kB / 3.574 GB, free: 63.61 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02586/10.96, allocations: 4.074 MB / 3.578 GB, free: 63.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.07e-05/10.96, allocations: 12.62 kB / 3.578 GB, free: 63.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002423/10.97, allocations: 0.4947 MB / 3.578 GB, free: 63.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003101/10.97, allocations: 398.5 kB / 3.578 GB, free: 63.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003464/10.97, allocations: 3.008 MB / 3.581 GB, free: 61.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002924/10.98, allocations: 181.7 kB / 3.582 GB, free: 61.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002654/10.98, allocations: 78.78 kB / 3.582 GB, free: 61.43 MB / 442.7 MB Warning: Assuming redundant initial conditions for the following 2 initial equations: circular_pipe.mediums[1].p = 1000000.0 annulus_pipe.mediums[1].p = 1000000.0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 11 (massflowsink1.medium.phase,massflowsink2.medium.phase,circular_pipe.statesFM[1].phase,circular_pipe.statesFM[2].phase,annulus_pipe.statesFM[1].phase,annulus_pipe.statesFM[2].phase,boundary.medium.phase,annulus_pipe.state_b.phase,annulus_pipe.state_a.phase,circular_pipe.state_b.phase,circular_pipe.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 182 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,1 1,2 8,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005763/10.98, allocations: 160 kB / 3.582 GB, free: 61.32 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002117/10.98, allocations: 495 kB / 3.582 GB, free: 61.26 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01007/10.99, allocations: 4.738 MB / 3.587 GB, free: 60.92 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.278e-05/10.99, allocations: 41.27 kB / 3.587 GB, free: 60.92 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/10.99, allocations: 0 / 3.587 GB, free: 60.92 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007492/11, allocations: 4.221 MB / 3.591 GB, free: 60.24 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01521/11.01, allocations: 6.808 MB / 3.598 GB, free: 59.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/11.01, allocations: 2.438 kB / 3.598 GB, free: 59.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002088/11.02, allocations: 228.7 kB / 3.598 GB, free: 59.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002885/11.02, allocations: 0.5391 MB / 3.598 GB, free: 59.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000322/11.02, allocations: 31.14 kB / 3.599 GB, free: 59.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003442/11.02, allocations: 3.162 MB / 3.602 GB, free: 57.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/11.02, allocations: 0 / 3.602 GB, free: 57.5 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01313/11.04, allocations: 5.485 MB / 3.607 GB, free: 57.03 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01678/11.05, allocations: 7.504 MB / 3.614 GB, free: 56.18 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001584/11.05, allocations: 474.8 kB / 3.615 GB, free: 55.99 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005916/11.05, allocations: 12.03 kB / 3.615 GB, free: 55.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00237/11.06, allocations: 134.1 kB / 3.615 GB, free: 55.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003937/11.06, allocations: 112.5 kB / 3.615 GB, free: 55.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001737/11.06, allocations: 49.78 kB / 3.615 GB, free: 55.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.001427/11.06, allocations: 0.658 MB / 3.616 GB, free: 55.87 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01291/11.07, allocations: 2.471 MB / 3.618 GB, free: 55.81 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (circular_pipe.mediums[1].h,circular_pipe.mediums[2].p,circular_pipe.mediums[2].h,annulus_pipe.mediums[1].h,annulus_pipe.mediums[2].p,annulus_pipe.mediums[2].h) * Number of discrete variables: 26 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,massflowsink1.medium.phase,massflowsink2.medium.phase,circular_pipe.statesFM[1].phase,circular_pipe.statesFM[2].phase,annulus_pipe.statesFM[1].phase,annulus_pipe.statesFM[2].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,2 8,2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.01397/11.09, allocations: 2.411 MB / 3.62 GB, free: 55.59 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00935/11.1, allocations: 4.02 MB / 3.624 GB, free: 55.53 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/11.1, allocations: 3.906 kB / 3.624 GB, free: 55.53 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004198/11.1, allocations: 2.115 MB / 3.626 GB, free: 55.52 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005451/11.1, allocations: 0.5358 MB / 3.627 GB, free: 55.51 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07966/11.18, allocations: 17.63 MB / 3.644 GB, free: 54.18 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002549/11.19, allocations: 1.869 MB / 3.646 GB, free: 53.41 MB / 442.7 MB Notification: Performance of SimCode: time 1.543e-06/11.19, allocations: 0 / 3.646 GB, free: 53.41 MB / 442.7 MB