Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Valves_TestValveIncompressible",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.09/2.09, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2329/2.323, allocations: 51.04 MB / 267.3 MB, free: 5.145 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/2.434, allocations: 48.69 MB / 316 MB, free: 4.355 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.57/9.004, allocations: 2.496 GB / 2.805 GB, free: 102.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004889/9.004, allocations: 89.16 kB / 2.805 GB, free: 102.7 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 2.759/11.76, allocations: 497.2 MB / 3.29 GB, free: 35.15 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/11.76, allocations: 9.375 kB / 3.29 GB, free: 35.15 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009231/11.77, allocations: 0.7197 MB / 3.291 GB, free: 35.09 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002698/11.78, allocations: 0.8608 MB / 3.292 GB, free: 34.79 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/11.78, allocations: 37.59 kB / 3.292 GB, free: 34.79 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/11.78, allocations: 50 kB / 3.292 GB, free: 34.79 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002641/11.78, allocations: 0.9097 MB / 3.293 GB, free: 34.78 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002464/11.78, allocations: 1.085 MB / 3.294 GB, free: 34.46 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.648e-05/11.78, allocations: 4.531 kB / 3.294 GB, free: 34.46 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001727/11.78, allocations: 3.188 kB / 3.294 GB, free: 34.46 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.311e-05/11.78, allocations: 23 kB / 3.294 GB, free: 34.46 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.228/13.01, allocations: 202.3 MB / 3.492 GB, free: 81.89 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/13.01, allocations: 417.9 kB / 3.492 GB, free: 81.86 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004701/13.01, allocations: 198.7 kB / 3.492 GB, free: 81.85 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08131/13.09, allocations: 16.36 MB / 3.508 GB, free: 73.05 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.648e-05/13.09, allocations: 41.59 kB / 3.508 GB, free: 73 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 5.38e-06/13.09, allocations: 0 / 3.508 GB, free: 73 MB / 490.7 MB Notification: Performance of matching and sorting (n=43): time 0.00657/13.1, allocations: 1.211 MB / 3.509 GB, free: 72.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.846e-05/13.1, allocations: 216.9 kB / 3.51 GB, free: 72.71 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/13.1, allocations: 0.6697 MB / 3.51 GB, free: 72.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.639e-05/13.1, allocations: 25.7 kB / 3.51 GB, free: 72.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003312/13.1, allocations: 0.4925 MB / 3.511 GB, free: 72.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/13.1, allocations: 158.5 kB / 3.511 GB, free: 72.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.082e-05/13.1, allocations: 6.438 kB / 3.511 GB, free: 72.23 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/13.1, allocations: 391.6 kB / 3.511 GB, free: 71.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007352/13.1, allocations: 280.1 kB / 3.512 GB, free: 71.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009987/13.1, allocations: 0.6882 MB / 3.512 GB, free: 71.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004393/13.11, allocations: 0.6199 MB / 3.513 GB, free: 71.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.153e-05/13.11, allocations: 3.938 kB / 3.513 GB, free: 71.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01053/13.12, allocations: 1.986 MB / 3.515 GB, free: 71.26 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001312/13.12, allocations: 5.044 MB / 3.52 GB, free: 65.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.765e-05/13.12, allocations: 15.75 kB / 3.52 GB, free: 65.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.513e-05/13.12, allocations: 20.69 kB / 3.52 GB, free: 65.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00223/13.12, allocations: 309.9 kB / 3.52 GB, free: 65.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.908e-05/13.12, allocations: 27.12 kB / 3.52 GB, free: 65.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002636/13.13, allocations: 261.6 kB / 3.52 GB, free: 65.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001748/13.13, allocations: 63 kB / 3.52 GB, free: 65.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/13.13, allocations: 5.438 kB / 3.52 GB, free: 65.9 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004881/13.13, allocations: 1.048 MB / 3.521 GB, free: 65.87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/13.13, allocations: 14.41 kB / 3.521 GB, free: 65.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.993e-05/13.13, allocations: 20.53 kB / 3.521 GB, free: 65.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00186/13.13, allocations: 310.5 kB / 3.522 GB, free: 65.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-05/13.13, allocations: 26.02 kB / 3.522 GB, free: 65.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001963/13.13, allocations: 175.2 kB / 3.522 GB, free: 65.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/13.13, allocations: 64.14 kB / 3.522 GB, free: 65.83 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 12 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,V3.state_b.phase,V3.state_a.phase,V2.state_b.phase,V2.state_a.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 127 * 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.0003518/13.13, allocations: 152.8 kB / 3.522 GB, free: 65.72 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002288/13.14, allocations: 0.5393 MB / 3.523 GB, free: 65.67 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004193/13.14, allocations: 1.471 MB / 3.524 GB, free: 65.36 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/13.14, allocations: 2.062 kB / 3.524 GB, free: 65.36 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/13.14, allocations: 0 / 3.524 GB, free: 65.36 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/13.14, allocations: 4.922 kB / 3.524 GB, free: 65.36 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005731/13.15, allocations: 2.805 MB / 3.527 GB, free: 64.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/13.15, allocations: 3.969 kB / 3.527 GB, free: 64.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006668/13.15, allocations: 92.28 kB / 3.527 GB, free: 64.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.578e-05/13.15, allocations: 7.531 kB / 3.527 GB, free: 64.86 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.173e-05/13.15, allocations: 21.22 kB / 3.527 GB, free: 64.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.19e-05/13.15, allocations: 12.92 kB / 3.527 GB, free: 64.86 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.089e-05/13.15, allocations: 8.688 kB / 3.527 GB, free: 64.86 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004423/13.15, allocations: 1.481 MB / 3.528 GB, free: 64.12 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004277/13.16, allocations: 1.868 MB / 3.53 GB, free: 63 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/13.16, allocations: 0.5429 MB / 3.531 GB, free: 62.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004635/13.16, allocations: 7.828 kB / 3.531 GB, free: 62.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001459/13.16, allocations: 79.52 kB / 3.531 GB, free: 62.79 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/13.16, allocations: 38.7 kB / 3.531 GB, free: 62.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-05/13.16, allocations: 21.92 kB / 3.531 GB, free: 62.78 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.002516/13.16, allocations: 1.136 MB / 3.532 GB, free: 62.67 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01349/13.18, allocations: 1.87 MB / 3.534 GB, free: 62.57 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 40 * 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.01224/13.19, allocations: 1.971 MB / 3.536 GB, free: 62.27 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003127/13.19, allocations: 1.158 MB / 3.537 GB, free: 62.26 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.624e-05/13.19, allocations: 4.125 kB / 3.537 GB, free: 62.26 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009386/13.19, allocations: 222 kB / 3.537 GB, free: 62.26 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00605/13.2, allocations: 349 kB / 3.537 GB, free: 62.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08808/13.29, allocations: 19.68 MB / 3.557 GB, free: 60.83 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001223/13.29, allocations: 1.32 MB / 3.558 GB, free: 60.09 MB / 490.7 MB Notification: Performance of SimCode: time 1.993e-06/13.29, allocations: 0 / 3.558 GB, free: 60.09 MB / 490.7 MB