Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible,fileNamePrefix="ModelicaTest_3_2_2_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.379/2.379, allocations: 235 MB / 241.9 MB, free: 9.773 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1869/2.566, allocations: 57.21 MB / 299.1 MB, free: 460 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/2.823, allocations: 54.84 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.48/9.303, allocations: 2.607 GB / 2.952 GB, free: 88.42 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003795/9.304, allocations: 84.2 kB / 2.952 GB, free: 88.38 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 2.733/12.04, allocations: 0.4962 GB / 3.449 GB, free: 44.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/12.04, allocations: 7.344 kB / 3.449 GB, free: 44.52 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01613/12.05, allocations: 0.7678 MB / 3.449 GB, free: 44.46 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004262/12.06, allocations: 0.858 MB / 3.45 GB, free: 44.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002025/12.06, allocations: 41.03 kB / 3.45 GB, free: 44.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003719/12.06, allocations: 51.81 kB / 3.45 GB, free: 44.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004194/12.06, allocations: 0.912 MB / 3.451 GB, free: 44.15 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0041/12.07, allocations: 1.083 MB / 3.452 GB, free: 43.82 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.627e-05/12.07, allocations: 6.281 kB / 3.452 GB, free: 43.82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002706/12.07, allocations: 7.844 kB / 3.452 GB, free: 43.82 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.04e-05/12.07, allocations: 23.31 kB / 3.452 GB, free: 43.82 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.253/13.32, allocations: 202.4 MB / 3.65 GB, free: 97.06 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/13.32, allocations: 422.9 kB / 3.65 GB, free: 97.04 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006936/13.32, allocations: 196.6 kB / 3.651 GB, free: 97.03 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07461/13.4, allocations: 16.36 MB / 3.667 GB, free: 88.23 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/13.4, allocations: 42.97 kB / 3.667 GB, free: 88.19 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=43): time 2.865e-06/13.4, allocations: 0 / 3.667 GB, free: 88.19 MB / 0.5261 GB Notification: Performance of matching and sorting (n=43): time 0.006628/13.4, allocations: 1.211 MB / 3.668 GB, free: 88.14 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.682e-05/13.4, allocations: 217.9 kB / 3.668 GB, free: 87.89 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/13.4, allocations: 0.6719 MB / 3.669 GB, free: 87.78 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001589/13.4, allocations: 25.7 kB / 3.669 GB, free: 87.75 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000371/13.41, allocations: 0.4926 MB / 3.669 GB, free: 87.49 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/13.41, allocations: 150.8 kB / 3.669 GB, free: 87.41 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.219e-05/13.41, allocations: 3.094 kB / 3.669 GB, free: 87.41 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001602/13.41, allocations: 395.7 kB / 3.67 GB, free: 87.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007623/13.41, allocations: 285.6 kB / 3.67 GB, free: 87.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009849/13.41, allocations: 0.6834 MB / 3.671 GB, free: 86.57 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004138/13.41, allocations: 0.6273 MB / 3.671 GB, free: 86.55 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.808e-05/13.41, allocations: 7.469 kB / 3.671 GB, free: 86.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01771/13.43, allocations: 1.976 MB / 3.673 GB, free: 86.45 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001203/13.43, allocations: 5.046 MB / 3.678 GB, free: 81.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.008e-05/13.43, allocations: 13.56 kB / 3.678 GB, free: 81.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.794e-05/13.43, allocations: 20.47 kB / 3.678 GB, free: 81.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002156/13.43, allocations: 311.2 kB / 3.678 GB, free: 81.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.302e-05/13.43, allocations: 27.75 kB / 3.678 GB, free: 81.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002776/13.44, allocations: 265.7 kB / 3.679 GB, free: 81.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002446/13.44, allocations: 62.33 kB / 3.679 GB, free: 81.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/13.44, allocations: 3.906 kB / 3.679 GB, free: 81.09 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005105/13.44, allocations: 1.037 MB / 3.68 GB, free: 81.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.197e-05/13.44, allocations: 13.62 kB / 3.68 GB, free: 81.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.028e-05/13.44, allocations: 28.12 kB / 3.68 GB, free: 81.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001931/13.44, allocations: 304.6 kB / 3.68 GB, free: 81.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.667e-05/13.44, allocations: 28.64 kB / 3.68 GB, free: 81.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002024/13.45, allocations: 183.9 kB / 3.68 GB, free: 81.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/13.45, allocations: 66.02 kB / 3.68 GB, free: 81.02 MB / 0.5261 GB 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.0003488/13.45, allocations: 150.6 kB / 3.68 GB, free: 80.91 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002428/13.45, allocations: 0.5348 MB / 3.681 GB, free: 80.87 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00584/13.45, allocations: 1.467 MB / 3.682 GB, free: 80.57 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/13.45, allocations: 3.938 kB / 3.682 GB, free: 80.57 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.499e-05/13.45, allocations: 4 kB / 3.682 GB, free: 80.56 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.138e-05/13.45, allocations: 0 / 3.682 GB, free: 80.56 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006295/13.46, allocations: 2.808 MB / 3.685 GB, free: 80.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/13.46, allocations: 7.188 kB / 3.685 GB, free: 80.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006531/13.46, allocations: 97.62 kB / 3.685 GB, free: 80.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.298e-05/13.46, allocations: 10.72 kB / 3.685 GB, free: 80.06 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.866e-05/13.46, allocations: 10.25 kB / 3.685 GB, free: 80.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.307e-06/13.46, allocations: 9.688 kB / 3.685 GB, free: 80.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.678e-06/13.46, allocations: 7.75 kB / 3.685 GB, free: 80.06 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004482/13.47, allocations: 1.486 MB / 3.687 GB, free: 79.32 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004405/13.47, allocations: 1.879 MB / 3.689 GB, free: 78.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/13.47, allocations: 0.5436 MB / 3.689 GB, free: 78 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004616/13.47, allocations: 6.438 kB / 3.689 GB, free: 78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/13.47, allocations: 79.67 kB / 3.689 GB, free: 77.98 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/13.47, allocations: 34.38 kB / 3.689 GB, free: 77.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.31e-05/13.47, allocations: 21.12 kB / 3.689 GB, free: 77.98 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.002474/13.48, allocations: 1.138 MB / 3.69 GB, free: 77.87 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01199/13.49, allocations: 1.886 MB / 3.692 GB, free: 77.76 MB / 0.5261 GB 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.01261/13.5, allocations: 1.968 MB / 3.694 GB, free: 77.47 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002986/13.5, allocations: 1.157 MB / 3.695 GB, free: 77.46 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/13.5, allocations: 3.562 kB / 3.695 GB, free: 77.46 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005279/13.5, allocations: 223.5 kB / 3.695 GB, free: 77.45 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003658/13.51, allocations: 346 kB / 3.696 GB, free: 77.43 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07957/13.59, allocations: 20.35 MB / 3.716 GB, free: 76.04 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001347/13.59, allocations: 1.32 MB / 3.717 GB, free: 75.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.372e-06/13.59, allocations: 7.594 kB / 3.717 GB, free: 75.3 MB / 0.5261 GB