Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",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(ModelicaTest): time 2.543/2.543, allocations: 234.9 MB / 241.9 MB, free: 9.781 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1648/2.708, allocations: 57.22 MB / 299.1 MB, free: 468 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/3.019, allocations: 54.84 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.432/12.45, allocations: 3.659 GB / 4.005 GB, free: 107.2 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/12.45, allocations: 88.41 kB / 4.005 GB, free: 107.2 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 2.304/14.75, allocations: 473 MB / 4.467 GB, free: 2.812 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/14.75, allocations: 15.94 kB / 4.467 GB, free: 2.797 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/14.76, allocations: 118.7 kB / 4.467 GB, free: 2.68 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002866/14.76, allocations: 0.7759 MB / 4.467 GB, free: 1.879 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.781e-05/14.76, allocations: 24 kB / 4.467 GB, free: 1.855 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002386/14.76, allocations: 40 kB / 4.467 GB, free: 1.816 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003365/14.76, allocations: 1.238 MB / 4.469 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003364/14.77, allocations: 1.121 MB / 4.47 GB, free: 15.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.852e-05/14.77, allocations: 0 / 4.47 GB, free: 15.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000205/14.77, allocations: 3.984 kB / 4.47 GB, free: 15.43 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001477/14.77, allocations: 81.95 kB / 4.47 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01567/14.78, allocations: 4.531 MB / 4.474 GB, free: 10.53 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/14.78, allocations: 0.5498 MB / 4.475 GB, free: 9.969 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007867/14.79, allocations: 270.1 kB / 4.475 GB, free: 9.703 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001124/14.79, allocations: 0.7498 MB / 4.476 GB, free: 8.809 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.94e-05/14.79, allocations: 39 kB / 4.476 GB, free: 8.762 MB / 490.7 MB Notification: Performance of pre-optimization done (n=52): time 6.121e-06/14.79, allocations: 4 kB / 4.476 GB, free: 8.758 MB / 490.7 MB Notification: Performance of matching and sorting (n=52): time 0.0041/14.79, allocations: 0.7402 MB / 4.477 GB, free: 8.012 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.286e-05/14.79, allocations: 111.2 kB / 4.477 GB, free: 7.879 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00144/14.79, allocations: 0.5776 MB / 4.477 GB, free: 7.297 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001919/14.79, allocations: 25.7 kB / 4.477 GB, free: 7.266 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003713/14.79, allocations: 409.9 kB / 4.478 GB, free: 6.852 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002867/14.79, allocations: 185.4 kB / 4.478 GB, free: 6.668 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.848e-05/14.79, allocations: 3.938 kB / 4.478 GB, free: 6.664 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002312/14.79, allocations: 386.7 kB / 4.478 GB, free: 6.277 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/14.79, allocations: 313.9 kB / 4.479 GB, free: 5.969 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/14.8, allocations: 0.5493 MB / 4.479 GB, free: 5.305 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0139/14.81, allocations: 1.533 MB / 4.481 GB, free: 3.77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.39e-05/14.81, allocations: 4 kB / 4.481 GB, free: 3.766 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01634/14.83, allocations: 2.11 MB / 4.483 GB, free: 1.652 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.2048/15.03, allocations: 2.867 MB / 4.485 GB, free: 88.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-05/15.03, allocations: 10.31 kB / 4.485 GB, free: 88.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.139e-05/15.03, allocations: 11.06 kB / 4.485 GB, free: 88.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002033/15.03, allocations: 234.5 kB / 4.486 GB, free: 88.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.543e-05/15.03, allocations: 17.7 kB / 4.486 GB, free: 88.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/15.03, allocations: 104.9 kB / 4.486 GB, free: 88.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002173/15.04, allocations: 68.19 kB / 4.486 GB, free: 88.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/15.04, allocations: 4.344 kB / 4.486 GB, free: 88.04 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01711/15.05, allocations: 1.912 MB / 4.488 GB, free: 88.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/15.05, allocations: 10.77 kB / 4.488 GB, free: 88.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/15.05, allocations: 12.78 kB / 4.488 GB, free: 88.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001836/15.05, allocations: 224 kB / 4.488 GB, free: 88.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.131e-05/15.05, allocations: 20.16 kB / 4.488 GB, free: 88.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/15.06, allocations: 85.22 kB / 4.488 GB, free: 88.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000213/15.06, allocations: 64.62 kB / 4.488 GB, free: 88.04 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 110 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003311/15.06, allocations: 126 kB / 4.488 GB, free: 87.94 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002572/15.06, allocations: 77.38 kB / 4.488 GB, free: 87.94 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004864/15.06, allocations: 1.08 MB / 4.489 GB, free: 87.84 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/15.06, allocations: 3.719 kB / 4.489 GB, free: 87.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/15.06, allocations: 3.375 kB / 4.489 GB, free: 87.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/15.06, allocations: 3.891 kB / 4.489 GB, free: 87.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004858/15.07, allocations: 1.515 MB / 4.491 GB, free: 87.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/15.07, allocations: 11 kB / 4.491 GB, free: 87.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000983/15.07, allocations: 112 kB / 4.491 GB, free: 87.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.508e-05/15.07, allocations: 3.719 kB / 4.491 GB, free: 87.52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.594e-05/15.07, allocations: 14.53 kB / 4.491 GB, free: 87.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.528e-06/15.07, allocations: 4.594 kB / 4.491 GB, free: 87.52 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/15.07, allocations: 8.375 kB / 4.491 GB, free: 87.52 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003053/15.07, allocations: 0.9115 MB / 4.492 GB, free: 87.14 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003631/15.07, allocations: 1.377 MB / 4.493 GB, free: 86.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005227/15.07, allocations: 193.5 kB / 4.493 GB, free: 86.26 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003162/15.08, allocations: 3.562 kB / 4.493 GB, free: 86.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/15.08, allocations: 37.25 kB / 4.493 GB, free: 86.26 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/15.08, allocations: 34.31 kB / 4.493 GB, free: 86.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/15.08, allocations: 40.52 kB / 4.494 GB, free: 86.26 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0009899/15.08, allocations: 468.9 kB / 4.494 GB, free: 86.16 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009166/15.09, allocations: 1.669 MB / 4.496 GB, free: 86.13 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 55 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007594/15.09, allocations: 2.182 MB / 4.498 GB, free: 85.97 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003304/15.1, allocations: 1.187 MB / 4.499 GB, free: 85.96 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/15.1, allocations: 0 / 4.499 GB, free: 85.96 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007123/15.1, allocations: 283.4 kB / 4.499 GB, free: 85.96 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003084/15.1, allocations: 308.6 kB / 4.499 GB, free: 85.96 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005217/15.11, allocations: 1.368 MB / 4.501 GB, free: 85.61 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003027/15.11, allocations: 1.235 MB / 4.502 GB, free: 84.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.853e-06/15.11, allocations: 3.719 kB / 4.502 GB, free: 84.9 MB / 490.7 MB