Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible",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 3.028/3.028, allocations: 235.1 MB / 242 MB, free: 9.762 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1869/3.215, allocations: 57.2 MB / 299.2 MB, free: 448 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/3.501, allocations: 54.85 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.344/10.84, allocations: 2.606 GB / 2.952 GB, free: 87.77 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/10.85, allocations: 83.5 kB / 2.952 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 1.371/12.22, allocations: 233.5 MB / 3.18 GB, free: 41.69 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/12.22, allocations: 8 kB / 3.18 GB, free: 41.68 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003718/12.22, allocations: 271 kB / 3.18 GB, free: 41.42 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/12.22, allocations: 426.9 kB / 3.181 GB, free: 40.96 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.548e-05/12.22, allocations: 16 kB / 3.181 GB, free: 40.95 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.779e-05/12.22, allocations: 20 kB / 3.181 GB, free: 40.93 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001196/12.22, allocations: 353.1 kB / 3.181 GB, free: 40.59 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/12.22, allocations: 416.3 kB / 3.182 GB, free: 40.14 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/12.22, allocations: 7.938 kB / 3.182 GB, free: 40.13 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/12.22, allocations: 0 / 3.182 GB, free: 40.13 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/12.22, allocations: 8 kB / 3.182 GB, free: 40.12 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01321/12.24, allocations: 4.051 MB / 3.186 GB, free: 35.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/12.24, allocations: 282.8 kB / 3.186 GB, free: 35.41 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005334/12.24, allocations: 128.8 kB / 3.186 GB, free: 35.28 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5657/12.81, allocations: 53.85 MB / 3.239 GB, free: 112.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/12.81, allocations: 37.91 kB / 3.239 GB, free: 112.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 3.817e-06/12.81, allocations: 0 / 3.239 GB, free: 112.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=27): time 0.00342/12.81, allocations: 0.5585 MB / 3.239 GB, free: 112.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/12.81, allocations: 106.2 kB / 3.239 GB, free: 112.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005391/12.81, allocations: 281.9 kB / 3.24 GB, free: 112.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.014e-05/12.81, allocations: 29.45 kB / 3.24 GB, free: 112.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/12.81, allocations: 209.9 kB / 3.24 GB, free: 112.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/12.81, allocations: 87.47 kB / 3.24 GB, free: 112 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/12.81, allocations: 3.938 kB / 3.24 GB, free: 112 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/12.81, allocations: 345.1 kB / 3.24 GB, free: 111.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003905/12.81, allocations: 120.9 kB / 3.24 GB, free: 111.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004506/12.81, allocations: 269.1 kB / 3.241 GB, free: 111.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001826/12.81, allocations: 251.6 kB / 3.241 GB, free: 111.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/12.81, allocations: 0 / 3.241 GB, free: 111.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003539/12.82, allocations: 0.6815 MB / 3.241 GB, free: 111.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004059/12.82, allocations: 1.825 MB / 3.243 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/12.82, allocations: 7.656 kB / 3.243 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.494e-05/12.82, allocations: 11.22 kB / 3.243 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/12.82, allocations: 113 kB / 3.243 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/12.82, allocations: 13.45 kB / 3.243 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009027/12.82, allocations: 77.48 kB / 3.243 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.29e-05/12.82, allocations: 24.11 kB / 3.244 GB, free: 109.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/12.82, allocations: 5.375 kB / 3.244 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0021/12.82, allocations: 415.3 kB / 3.244 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/12.82, allocations: 5.438 kB / 3.244 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/12.82, allocations: 6.969 kB / 3.244 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009151/12.82, allocations: 123.5 kB / 3.244 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/12.82, allocations: 4.531 kB / 3.244 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008097/12.82, allocations: 54.81 kB / 3.244 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.062e-05/12.82, allocations: 28.67 kB / 3.244 GB, free: 109.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.0002069/12.82, allocations: 130.1 kB / 3.244 GB, free: 109.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009595/12.82, allocations: 192 kB / 3.244 GB, free: 109.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004411/12.83, allocations: 1.771 MB / 3.246 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.174e-05/12.83, allocations: 25.5 kB / 3.246 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/12.83, allocations: 0 / 3.246 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/12.83, allocations: 0 / 3.246 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004967/12.83, allocations: 2.313 MB / 3.248 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/12.83, allocations: 0 / 3.248 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007448/12.83, allocations: 77.3 kB / 3.249 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.821e-05/12.83, allocations: 3.812 kB / 3.249 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.267e-05/12.83, allocations: 11 kB / 3.249 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.027e-05/12.83, allocations: 5.594 kB / 3.249 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/12.83, allocations: 0 / 3.249 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004195/12.84, allocations: 1.455 MB / 3.25 GB, free: 108.7 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003921/12.84, allocations: 1.875 MB / 3.252 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004799/12.84, allocations: 207.3 kB / 3.252 GB, free: 107.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/12.84, allocations: 7.766 kB / 3.252 GB, free: 107.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007494/12.84, allocations: 38.42 kB / 3.252 GB, free: 107.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/12.84, allocations: 40.36 kB / 3.252 GB, free: 107.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.449e-05/12.84, allocations: 16.84 kB / 3.252 GB, free: 107.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0004813/12.85, allocations: 262.4 kB / 3.252 GB, free: 107.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009645/12.85, allocations: 1.359 MB / 3.254 GB, free: 107.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,SinkP1.medium.phase,SourceP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01193/12.87, allocations: 1.57 MB / 3.255 GB, free: 107.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002141/12.87, allocations: 0.9578 MB / 3.256 GB, free: 107.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/12.87, allocations: 3.281 kB / 3.256 GB, free: 107.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001042/12.87, allocations: 0.6842 MB / 3.257 GB, free: 107.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/12.87, allocations: 173.9 kB / 3.257 GB, free: 107.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1209/12.99, allocations: 21.29 MB / 3.278 GB, free: 107.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007454/12.99, allocations: 1.004 MB / 3.279 GB, free: 106.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.182e-06/12.99, allocations: 0 / 3.279 GB, free: 106.5 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat does not exist to compare? outputFormat=mat