Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",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(ModelicaTest): time 2.272/2.272, allocations: 235 MB / 242 MB, free: 9.66 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1963/2.468, allocations: 57.2 MB / 299.2 MB, free: 344 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/2.743, allocations: 54.86 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.557/12.3, allocations: 3.659 GB / 4.005 GB, free: 106.7 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00033/12.3, allocations: 84.03 kB / 4.005 GB, free: 106.7 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.589/14.89, allocations: 473 MB / 4.467 GB, free: 3.156 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.253e-05/14.89, allocations: 8 kB / 4.467 GB, free: 3.148 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002481/14.89, allocations: 122.7 kB / 4.467 GB, free: 3.027 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003117/14.9, allocations: 0.7771 MB / 4.468 GB, free: 2.215 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.822e-05/14.9, allocations: 24 kB / 4.468 GB, free: 2.191 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002657/14.9, allocations: 44 kB / 4.468 GB, free: 2.148 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00374/14.9, allocations: 1.238 MB / 4.469 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003509/14.9, allocations: 1.117 MB / 4.47 GB, free: 15.76 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.684e-05/14.9, allocations: 3.938 kB / 4.47 GB, free: 15.76 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002056/14.9, allocations: 3.938 kB / 4.47 GB, free: 15.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00017/14.9, allocations: 81.94 kB / 4.47 GB, free: 15.67 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01754/14.92, allocations: 4.518 MB / 4.474 GB, free: 10.83 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002282/14.92, allocations: 0.5586 MB / 4.475 GB, free: 10.26 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009245/14.92, allocations: 274 kB / 4.475 GB, free: 9.988 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00129/14.93, allocations: 0.7446 MB / 4.476 GB, free: 9.094 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/14.93, allocations: 42.98 kB / 4.476 GB, free: 9.043 MB / 490.7 MB Notification: Performance of pre-optimization done (n=52): time 3.767e-06/14.93, allocations: 0 / 4.476 GB, free: 9.043 MB / 490.7 MB Notification: Performance of matching and sorting (n=52): time 0.004555/14.93, allocations: 0.744 MB / 4.477 GB, free: 8.293 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.547e-05/14.93, allocations: 111.2 kB / 4.477 GB, free: 8.16 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/14.93, allocations: 0.5776 MB / 4.477 GB, free: 7.578 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001071/14.93, allocations: 25.7 kB / 4.477 GB, free: 7.547 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004253/14.93, allocations: 414 kB / 4.478 GB, free: 7.133 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000298/14.93, allocations: 177.4 kB / 4.478 GB, free: 6.957 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.588e-05/14.93, allocations: 0 / 4.478 GB, free: 6.957 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002808/14.93, allocations: 382.8 kB / 4.478 GB, free: 6.574 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/14.93, allocations: 321.9 kB / 4.479 GB, free: 6.258 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/14.94, allocations: 0.5532 MB / 4.479 GB, free: 5.594 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01577/14.95, allocations: 1.529 MB / 4.481 GB, free: 4.062 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.96e-05/14.95, allocations: 0 / 4.481 GB, free: 4.062 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01883/14.97, allocations: 2.103 MB / 4.483 GB, free: 1.953 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.2396/15.21, allocations: 2.872 MB / 4.485 GB, free: 88.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.71e-05/15.21, allocations: 10.28 kB / 4.485 GB, free: 88.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.137e-05/15.21, allocations: 10.88 kB / 4.486 GB, free: 88.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002255/15.21, allocations: 235.7 kB / 4.486 GB, free: 88.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.119e-05/15.21, allocations: 19.05 kB / 4.486 GB, free: 88.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/15.21, allocations: 105.2 kB / 4.486 GB, free: 88.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001965/15.22, allocations: 66.36 kB / 4.486 GB, free: 88.69 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/15.22, allocations: 3.562 kB / 4.486 GB, free: 88.69 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01528/15.23, allocations: 1.914 MB / 4.488 GB, free: 88.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/15.23, allocations: 8.469 kB / 4.488 GB, free: 88.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/15.23, allocations: 15.53 kB / 4.488 GB, free: 88.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001975/15.23, allocations: 228.1 kB / 4.488 GB, free: 88.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.015e-05/15.23, allocations: 14.03 kB / 4.488 GB, free: 88.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/15.23, allocations: 85.09 kB / 4.488 GB, free: 88.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002047/15.23, allocations: 67.44 kB / 4.488 GB, free: 88.69 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.000333/15.23, allocations: 127 kB / 4.488 GB, free: 88.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002669/15.23, allocations: 77.25 kB / 4.488 GB, free: 88.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005019/15.24, allocations: 1.074 MB / 4.489 GB, free: 88.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/15.24, allocations: 9.25 kB / 4.489 GB, free: 88.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/15.24, allocations: 0 / 4.489 GB, free: 88.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/15.24, allocations: 3.844 kB / 4.489 GB, free: 88.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004838/15.24, allocations: 1.529 MB / 4.491 GB, free: 88.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/15.24, allocations: 3.812 kB / 4.491 GB, free: 88.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/15.25, allocations: 119.5 kB / 4.491 GB, free: 88.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.391e-05/15.25, allocations: 6.25 kB / 4.491 GB, free: 88.17 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.574e-05/15.25, allocations: 10.92 kB / 4.491 GB, free: 88.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.007e-05/15.25, allocations: 12.19 kB / 4.491 GB, free: 88.17 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/15.25, allocations: 0 / 4.491 GB, free: 88.17 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003767/15.25, allocations: 0.9148 MB / 4.492 GB, free: 87.79 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00485/15.25, allocations: 1.379 MB / 4.493 GB, free: 87.04 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005767/15.26, allocations: 189.2 kB / 4.494 GB, free: 86.91 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003577/15.26, allocations: 3.938 kB / 4.494 GB, free: 86.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001524/15.26, allocations: 39.69 kB / 4.494 GB, free: 86.91 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000198/15.26, allocations: 39.44 kB / 4.494 GB, free: 86.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/15.26, allocations: 33.34 kB / 4.494 GB, free: 86.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001263/15.26, allocations: 469.6 kB / 4.494 GB, free: 86.81 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.02886/15.29, allocations: 1.666 MB / 4.496 GB, free: 86.79 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.03775/15.33, allocations: 2.183 MB / 4.498 GB, free: 86.62 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003788/15.33, allocations: 1.19 MB / 4.499 GB, free: 86.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/15.33, allocations: 0 / 4.499 GB, free: 86.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008331/15.33, allocations: 276.4 kB / 4.499 GB, free: 86.61 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003684/15.33, allocations: 302.8 kB / 4.5 GB, free: 86.61 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005543/15.34, allocations: 1.363 MB / 4.501 GB, free: 86.26 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002177/15.34, allocations: 1.239 MB / 4.502 GB, free: 85.55 MB / 490.7 MB Notification: Performance of SimCode: time 1.823e-06/15.34, allocations: 0 / 4.502 GB, free: 85.55 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat does not exist to compare? outputFormat=mat