Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Valves_TestValvesCompressibleReverse",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.122/2.122, allocations: 235 MB / 241.9 MB, free: 9.785 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1837/2.306, allocations: 57.22 MB / 299.1 MB, free: 464 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/2.601, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.74/9.342, allocations: 2.607 GB / 2.953 GB, free: 87.76 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004071/9.342, allocations: 84.02 kB / 2.953 GB, free: 87.72 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: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 2.967/12.31, allocations: 0.5717 GB / 3.524 GB, free: 36.45 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/12.31, allocations: 7.406 kB / 3.524 GB, free: 36.45 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01129/12.32, allocations: 0.9171 MB / 3.525 GB, free: 36.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003659/12.32, allocations: 1.077 MB / 3.526 GB, free: 35.69 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/12.32, allocations: 48.34 kB / 3.526 GB, free: 35.68 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002801/12.33, allocations: 71.56 kB / 3.526 GB, free: 35.68 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003958/12.33, allocations: 1.354 MB / 3.528 GB, free: 35.19 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003133/12.33, allocations: 1.356 MB / 3.529 GB, free: 34.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.037e-05/12.33, allocations: 6.719 kB / 3.529 GB, free: 34.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002019/12.33, allocations: 7.156 kB / 3.529 GB, free: 34.46 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.231e-05/12.33, allocations: 31.38 kB / 3.529 GB, free: 34.46 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.664/14, allocations: 232 MB / 3.756 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004627/14, allocations: 0.8757 MB / 3.757 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/14, allocations: 378.7 kB / 3.757 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2451/14.25, allocations: 48.12 MB / 3.804 GB, free: 74.86 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.874e-05/14.25, allocations: 43.03 kB / 3.804 GB, free: 74.82 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=82): time 5.931e-06/14.25, allocations: 1.125 kB / 3.804 GB, free: 74.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=82): time 0.0182/14.27, allocations: 1.964 MB / 3.806 GB, free: 74.77 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/14.27, allocations: 199.3 kB / 3.806 GB, free: 74.55 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002631/14.27, allocations: 0.8415 MB / 3.807 GB, free: 74.41 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003466/14.27, allocations: 27.67 kB / 3.807 GB, free: 74.38 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005997/14.27, allocations: 0.5388 MB / 3.807 GB, free: 74.11 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000528/14.27, allocations: 282.1 kB / 3.808 GB, free: 73.97 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/14.27, allocations: 0 / 3.808 GB, free: 73.97 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001564/14.27, allocations: 359.1 kB / 3.808 GB, free: 73.66 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002093/14.27, allocations: 477.4 kB / 3.808 GB, free: 73.66 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002468/14.28, allocations: 0.8898 MB / 3.809 GB, free: 73.15 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01198/14.29, allocations: 1.059 MB / 3.81 GB, free: 73.12 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.599e-05/14.29, allocations: 4.125 kB / 3.81 GB, free: 73.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.02457/14.31, allocations: 2.909 MB / 3.813 GB, free: 72.97 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001536/14.31, allocations: 4.965 MB / 3.818 GB, free: 67.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.244e-05/14.31, allocations: 12.84 kB / 3.818 GB, free: 67.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009071/14.32, allocations: 0.6975 MB / 3.819 GB, free: 67.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005044/14.33, allocations: 452.1 kB / 3.819 GB, free: 67.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006167/14.33, allocations: 1.212 MB / 3.82 GB, free: 67.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005763/14.34, allocations: 327.2 kB / 3.821 GB, free: 67.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007063/14.34, allocations: 92.19 kB / 3.821 GB, free: 67.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/14.34, allocations: 5.938 kB / 3.821 GB, free: 67.11 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01512/14.36, allocations: 1.701 MB / 3.822 GB, free: 67.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.683e-05/14.36, allocations: 11.59 kB / 3.822 GB, free: 67.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005837/14.36, allocations: 91.73 kB / 3.823 GB, free: 67.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004166/14.36, allocations: 491.6 kB / 3.823 GB, free: 67.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003343/14.36, allocations: 1.689 MB / 3.825 GB, free: 65.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003166/14.37, allocations: 245.5 kB / 3.825 GB, free: 65.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003391/14.37, allocations: 87.23 kB / 3.825 GB, free: 65.67 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 15 (SourceP1.medium.phase,SourceP2.medium.phase,SinkP1.medium.phase,SinkP2.medium.phase,SinkP3.medium.phase,V5.state_b.phase,V5.state_a.phase,V4.state_b.phase,V4.state_a.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 (163): * Single equations (assignments): 162 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 22} Notification: Performance of prepare postOptimizeDAE: time 0.000505/14.37, allocations: 152.2 kB / 3.825 GB, free: 65.56 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00289/14.37, allocations: 0.648 MB / 3.826 GB, free: 65.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01188/14.38, allocations: 4.433 MB / 3.83 GB, free: 65.08 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.737e-05/14.38, allocations: 35.7 kB / 3.83 GB, free: 65.08 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/14.38, allocations: 3.75 kB / 3.83 GB, free: 65.08 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.296e-05/14.38, allocations: 3.516 kB / 3.83 GB, free: 65.08 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01269/14.4, allocations: 5.839 MB / 3.836 GB, free: 64.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/14.4, allocations: 3.406 kB / 3.836 GB, free: 64.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/14.4, allocations: 186.5 kB / 3.836 GB, free: 64.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005627/14.4, allocations: 1.673 MB / 3.838 GB, free: 64.42 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002563/14.4, allocations: 25.84 kB / 3.838 GB, free: 64.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00423/14.41, allocations: 1.85 MB / 3.839 GB, free: 63.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.105e-05/14.41, allocations: 9.781 kB / 3.839 GB, free: 63.86 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01021/14.42, allocations: 3.664 MB / 3.843 GB, free: 63.03 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0105/14.43, allocations: 4.095 MB / 3.847 GB, free: 61.84 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001582/14.43, allocations: 0.6087 MB / 3.848 GB, free: 61.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000678/14.43, allocations: 7.953 kB / 3.848 GB, free: 61.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00211/14.43, allocations: 102.9 kB / 3.848 GB, free: 61.59 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002235/14.43, allocations: 82.16 kB / 3.848 GB, free: 61.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/14.43, allocations: 45.05 kB / 3.848 GB, free: 61.58 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.002369/14.44, allocations: 1.08 MB / 3.849 GB, free: 61.47 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01285/14.45, allocations: 2.105 MB / 3.851 GB, free: 61.35 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 ($cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse27.phase,$cse27.region,$cse30.phase,$cse30.region,$cse32.phase,$cse32.region,$cse38.phase,$cse38.region,$cse50.phase,$cse50.region,$cse52.phase,$cse52.region,$cse57.phase,$cse57.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 34} Notification: Performance of Backend phase and start with SimCode phase: time 0.01169/14.46, allocations: 2.107 MB / 3.853 GB, free: 61.04 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00685/14.47, allocations: 2.67 MB / 3.856 GB, free: 60.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/14.47, allocations: 6.297 kB / 3.856 GB, free: 60.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002741/14.47, allocations: 1.286 MB / 3.857 GB, free: 60.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004946/14.48, allocations: 472.6 kB / 3.857 GB, free: 60.85 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08137/14.56, allocations: 20.67 MB / 3.878 GB, free: 59.31 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002169/14.56, allocations: 1.645 MB / 3.879 GB, free: 58.55 MB / 0.5105 GB Notification: Performance of SimCode: time 1.643e-06/14.56, allocations: 0 / 3.879 GB, free: 58.55 MB / 0.5105 GB