Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing",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 2.498/2.498, allocations: 235 MB / 242 MB, free: 9.656 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1787/2.676, allocations: 57.2 MB / 299.2 MB, free: 344 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/2.968, allocations: 54.86 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.033/10, allocations: 2.634 GB / 2.98 GB, free: 60.62 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005016/10, allocations: 79.08 kB / 2.98 GB, free: 60.59 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 1.394/11.4, allocations: 233.6 MB / 3.208 GB, free: 17.53 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/11.4, allocations: 8 kB / 3.208 GB, free: 17.52 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004022/11.4, allocations: 279 kB / 3.208 GB, free: 17.25 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/11.4, allocations: 439.1 kB / 3.209 GB, free: 16.79 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.05e-05/11.4, allocations: 12 kB / 3.209 GB, free: 16.77 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.373e-05/11.4, allocations: 20 kB / 3.209 GB, free: 16.75 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001107/11.4, allocations: 353.4 kB / 3.209 GB, free: 16.41 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000986/11.4, allocations: 421.6 kB / 3.209 GB, free: 15.95 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/11.4, allocations: 4 kB / 3.209 GB, free: 15.95 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.9e-05/11.4, allocations: 0 / 3.209 GB, free: 15.95 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/11.4, allocations: 8 kB / 3.21 GB, free: 15.94 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01078/11.41, allocations: 4.186 MB / 3.214 GB, free: 11.38 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006872/11.42, allocations: 222.8 kB / 3.214 GB, free: 11.15 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003302/11.42, allocations: 132.9 kB / 3.214 GB, free: 11.02 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4572/11.87, allocations: 50.52 MB / 3.263 GB, free: 77.93 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/11.87, allocations: 34.44 kB / 3.263 GB, free: 77.89 MB / 474.7 MB Notification: Performance of pre-optimization done (n=26): time 2.835e-06/11.87, allocations: 4 kB / 3.263 GB, free: 77.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=26): time 0.003376/11.88, allocations: 0.5358 MB / 3.264 GB, free: 77.86 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/11.88, allocations: 110.7 kB / 3.264 GB, free: 77.73 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004845/11.88, allocations: 271.8 kB / 3.264 GB, free: 77.63 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.719e-05/11.88, allocations: 25.7 kB / 3.264 GB, free: 77.6 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/11.88, allocations: 213.6 kB / 3.264 GB, free: 77.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.99e-05/11.88, allocations: 83.3 kB / 3.264 GB, free: 77.46 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/11.88, allocations: 0 / 3.264 GB, free: 77.46 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.851e-05/11.88, allocations: 352 kB / 3.265 GB, free: 77.14 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003511/11.88, allocations: 119.8 kB / 3.265 GB, free: 77.14 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004554/11.88, allocations: 243.1 kB / 3.265 GB, free: 76.98 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001723/11.88, allocations: 227.3 kB / 3.265 GB, free: 76.97 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/11.88, allocations: 3.094 kB / 3.265 GB, free: 76.97 MB / 474.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.003404/11.88, allocations: 0.6433 MB / 3.266 GB, free: 76.91 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003465/11.88, allocations: 1.482 MB / 3.267 GB, free: 75.36 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/11.88, allocations: 3.938 kB / 3.267 GB, free: 75.36 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.209e-05/11.88, allocations: 11.62 kB / 3.267 GB, free: 75.36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/11.88, allocations: 128.4 kB / 3.268 GB, free: 75.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/11.88, allocations: 6.75 kB / 3.268 GB, free: 75.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/11.89, allocations: 88.08 kB / 3.268 GB, free: 75.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.281e-05/11.89, allocations: 20.69 kB / 3.268 GB, free: 75.34 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/11.89, allocations: 10.86 kB / 3.268 GB, free: 75.34 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002018/11.89, allocations: 394.7 kB / 3.268 GB, free: 75.33 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/11.89, allocations: 4.312 kB / 3.268 GB, free: 75.33 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/11.89, allocations: 8.469 kB / 3.268 GB, free: 75.33 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/11.89, allocations: 127.3 kB / 3.268 GB, free: 75.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/11.89, allocations: 10.38 kB / 3.268 GB, free: 75.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009101/11.89, allocations: 71.41 kB / 3.268 GB, free: 75.31 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.53e-05/11.89, allocations: 26.03 kB / 3.268 GB, free: 75.31 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (44): * Single equations (assignments): 44 * 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.0001602/11.89, allocations: 120 kB / 3.268 GB, free: 75.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009016/11.89, allocations: 186.3 kB / 3.269 GB, free: 75.18 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003951/11.9, allocations: 1.74 MB / 3.27 GB, free: 75.03 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.934e-05/11.9, allocations: 20.09 kB / 3.27 GB, free: 75.03 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/11.9, allocations: 0 / 3.27 GB, free: 75.03 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/11.9, allocations: 2.859 kB / 3.27 GB, free: 75.03 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004662/11.9, allocations: 2.441 MB / 3.273 GB, free: 74.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/11.9, allocations: 0 / 3.273 GB, free: 74.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008322/11.9, allocations: 92.67 kB / 3.273 GB, free: 74.58 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-05/11.9, allocations: 7.844 kB / 3.273 GB, free: 74.58 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.999e-05/11.9, allocations: 7.734 kB / 3.273 GB, free: 74.58 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/11.9, allocations: 4.844 kB / 3.273 GB, free: 74.58 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/11.9, allocations: 0 / 3.273 GB, free: 74.58 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003428/11.9, allocations: 1.474 MB / 3.274 GB, free: 74.28 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003935/11.91, allocations: 1.887 MB / 3.276 GB, free: 73.61 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004721/11.91, allocations: 212.5 kB / 3.276 GB, free: 73.48 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/11.91, allocations: 3.844 kB / 3.276 GB, free: 73.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009567/11.91, allocations: 54.45 kB / 3.276 GB, free: 73.47 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/11.91, allocations: 37.77 kB / 3.276 GB, free: 73.47 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.594e-05/11.91, allocations: 20.91 kB / 3.276 GB, free: 73.47 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0004529/11.91, allocations: 246.2 kB / 3.277 GB, free: 73.38 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009456/11.92, allocations: 1.367 MB / 3.278 GB, free: 73.37 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,SinkP1.medium.phase,SourceP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * 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.01398/11.93, allocations: 1.579 MB / 3.28 GB, free: 73.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003303/11.94, allocations: 0.9274 MB / 3.28 GB, free: 73.19 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/11.94, allocations: 0 / 3.28 GB, free: 73.19 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001101/11.94, allocations: 0.6974 MB / 3.281 GB, free: 73.19 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002346/11.94, allocations: 166.9 kB / 3.281 GB, free: 73.18 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07236/12.01, allocations: 14.48 MB / 3.295 GB, free: 72.32 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007726/12.01, allocations: 0.997 MB / 3.296 GB, free: 71.61 MB / 474.7 MB Notification: Performance of SimCode: time 1.252e-06/12.01, allocations: 0 / 3.296 GB, free: 71.61 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat does not exist to compare? outputFormat=mat