Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse,fileNamePrefix="ModelicaTest_3_2_1_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 1.856/1.856, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2336/2.089, allocations: 51.04 MB / 267.3 MB, free: 5.137 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/2.208, allocations: 48.69 MB / 316 MB, free: 4.348 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.49/8.698, allocations: 2.496 GB / 2.805 GB, free: 102.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004294/8.699, allocations: 86.45 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: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 3.115/11.81, allocations: 0.5595 GB / 3.365 GB, free: 27.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/11.81, allocations: 8.469 kB / 3.365 GB, free: 27.43 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01366/11.83, allocations: 0.868 MB / 3.365 GB, free: 27.28 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004444/11.83, allocations: 1.064 MB / 3.366 GB, free: 26.69 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001834/11.83, allocations: 43.88 kB / 3.367 GB, free: 26.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006312/11.83, allocations: 75.44 kB / 3.367 GB, free: 26.68 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005507/11.84, allocations: 1.357 MB / 3.368 GB, free: 26.18 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00463/11.84, allocations: 1.364 MB / 3.369 GB, free: 25.45 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.666e-05/11.84, allocations: 6.438 kB / 3.369 GB, free: 25.45 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000273/11.84, allocations: 3.469 kB / 3.369 GB, free: 25.45 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-05/11.84, allocations: 29.41 kB / 3.369 GB, free: 25.45 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.525/13.37, allocations: 231.9 MB / 3.596 GB, free: 105.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00519/13.37, allocations: 0.8676 MB / 3.597 GB, free: 105.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00172/13.38, allocations: 376.8 kB / 3.597 GB, free: 105.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2102/13.59, allocations: 48.12 MB / 3.644 GB, free: 77.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.891e-05/13.59, allocations: 42.16 kB / 3.644 GB, free: 77.87 MB / 490.7 MB Notification: Performance of pre-optimization done (n=82): time 3.968e-06/13.59, allocations: 3.75 kB / 3.644 GB, free: 77.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=82): time 0.01139/13.6, allocations: 1.963 MB / 3.646 GB, free: 77.81 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.259e-05/13.6, allocations: 191.3 kB / 3.646 GB, free: 77.59 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/13.6, allocations: 0.8438 MB / 3.647 GB, free: 77.44 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003218/13.6, allocations: 25.7 kB / 3.647 GB, free: 77.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004466/13.6, allocations: 0.5427 MB / 3.647 GB, free: 77.14 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004274/13.6, allocations: 283.1 kB / 3.648 GB, free: 76.99 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/13.6, allocations: 0 / 3.648 GB, free: 76.99 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/13.6, allocations: 364.3 kB / 3.648 GB, free: 76.69 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/13.6, allocations: 477.3 kB / 3.648 GB, free: 76.69 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001737/13.6, allocations: 0.8866 MB / 3.649 GB, free: 76.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0122/13.62, allocations: 1.058 MB / 3.65 GB, free: 76.14 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.991e-05/13.62, allocations: 3.906 kB / 3.65 GB, free: 76.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.0169/13.63, allocations: 2.914 MB / 3.653 GB, free: 76 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001064/13.63, allocations: 4.962 MB / 3.658 GB, free: 70.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.098e-05/13.63, allocations: 10.31 kB / 3.658 GB, free: 70.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007176/13.64, allocations: 0.6956 MB / 3.659 GB, free: 70.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003496/13.65, allocations: 455 kB / 3.659 GB, free: 70.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005904/13.65, allocations: 1.218 MB / 3.66 GB, free: 70.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004653/13.66, allocations: 323.4 kB / 3.661 GB, free: 70.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005222/13.66, allocations: 90.69 kB / 3.661 GB, free: 70.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/13.66, allocations: 3.969 kB / 3.661 GB, free: 70.14 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009442/13.67, allocations: 1.699 MB / 3.662 GB, free: 70.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.139e-05/13.67, allocations: 15.53 kB / 3.662 GB, free: 70.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005871/13.67, allocations: 96.59 kB / 3.663 GB, free: 70.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003756/13.67, allocations: 486.9 kB / 3.663 GB, free: 70.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00388/13.67, allocations: 1.682 MB / 3.665 GB, free: 68.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003308/13.68, allocations: 244.8 kB / 3.665 GB, free: 68.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004053/13.68, allocations: 98.83 kB / 3.665 GB, free: 68.7 MB / 490.7 MB 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.0005063/13.68, allocations: 148.6 kB / 3.665 GB, free: 68.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002893/13.68, allocations: 0.6493 MB / 3.666 GB, free: 68.53 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01711/13.7, allocations: 4.435 MB / 3.67 GB, free: 68.11 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.634e-05/13.7, allocations: 36.83 kB / 3.67 GB, free: 68.11 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/13.7, allocations: 3.375 kB / 3.67 GB, free: 68.11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.647e-05/13.7, allocations: 7.609 kB / 3.67 GB, free: 68.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02032/13.72, allocations: 5.837 MB / 3.676 GB, free: 67.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-05/13.72, allocations: 5.812 kB / 3.676 GB, free: 67.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002163/13.72, allocations: 181.3 kB / 3.676 GB, free: 67.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008772/13.73, allocations: 1.674 MB / 3.678 GB, free: 67.45 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003952/13.73, allocations: 29.47 kB / 3.678 GB, free: 67.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006307/13.74, allocations: 1.845 MB / 3.679 GB, free: 66.89 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.581e-05/13.74, allocations: 3.594 kB / 3.679 GB, free: 66.89 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01725/13.75, allocations: 3.666 MB / 3.683 GB, free: 66.07 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01703/13.77, allocations: 4.098 MB / 3.687 GB, free: 64.88 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002375/13.77, allocations: 0.607 MB / 3.688 GB, free: 64.64 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009677/13.78, allocations: 3.75 kB / 3.688 GB, free: 64.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00325/13.78, allocations: 114.1 kB / 3.688 GB, free: 64.62 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003673/13.78, allocations: 81.95 kB / 3.688 GB, free: 64.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001761/13.78, allocations: 49.27 kB / 3.688 GB, free: 64.61 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.003427/13.78, allocations: 1.08 MB / 3.689 GB, free: 64.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.02052/13.8, allocations: 2.086 MB / 3.691 GB, free: 64.39 MB / 490.7 MB 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.01732/13.82, allocations: 2.094 MB / 3.693 GB, free: 64.07 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01008/13.83, allocations: 2.679 MB / 3.696 GB, free: 63.92 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.545e-05/13.83, allocations: 1.875 kB / 3.696 GB, free: 63.92 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003705/13.83, allocations: 1.293 MB / 3.697 GB, free: 63.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00779/13.84, allocations: 474.1 kB / 3.697 GB, free: 63.87 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.108/13.95, allocations: 20.04 MB / 3.717 GB, free: 62.34 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003071/13.95, allocations: 1.649 MB / 3.719 GB, free: 61.57 MB / 490.7 MB Notification: Performance of SimCode: time 2.585e-06/13.95, allocations: 0 / 3.719 GB, free: 61.57 MB / 490.7 MB