Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Valves_TestValveIncompressible",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.547/2.547, allocations: 235 MB / 242 MB, free: 9.758 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2093/2.757, allocations: 57.2 MB / 299.2 MB, free: 444 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/3.041, allocations: 54.86 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.331/10.37, allocations: 2.607 GB / 2.952 GB, free: 88.29 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/10.37, allocations: 83.14 kB / 2.953 GB, free: 88.25 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 3.012/13.38, allocations: 0.4962 GB / 3.449 GB, free: 44.55 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/13.38, allocations: 10.81 kB / 3.449 GB, free: 44.55 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01196/13.4, allocations: 0.7632 MB / 3.45 GB, free: 44.48 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003239/13.4, allocations: 0.8605 MB / 3.45 GB, free: 44.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/13.4, allocations: 39.62 kB / 3.45 GB, free: 44.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000248/13.4, allocations: 52.34 kB / 3.45 GB, free: 44.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003325/13.4, allocations: 0.9063 MB / 3.451 GB, free: 44.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003285/13.41, allocations: 1.09 MB / 3.452 GB, free: 43.85 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.701e-05/13.41, allocations: 5.875 kB / 3.452 GB, free: 43.85 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002377/13.41, allocations: 7.875 kB / 3.452 GB, free: 43.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.219e-05/13.41, allocations: 24.66 kB / 3.452 GB, free: 43.84 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.34/14.75, allocations: 202.4 MB / 3.65 GB, free: 96.77 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/14.75, allocations: 414.6 kB / 3.65 GB, free: 96.75 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005558/14.75, allocations: 204.7 kB / 3.651 GB, free: 96.73 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08804/14.84, allocations: 16.37 MB / 3.667 GB, free: 87.94 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/14.84, allocations: 39.94 kB / 3.667 GB, free: 87.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=43): time 3.606e-06/14.84, allocations: 1.125 kB / 3.667 GB, free: 87.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=43): time 0.008003/14.85, allocations: 1.208 MB / 3.668 GB, free: 87.86 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/14.85, allocations: 216.5 kB / 3.668 GB, free: 87.61 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/14.85, allocations: 0.6743 MB / 3.669 GB, free: 87.49 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001512/14.85, allocations: 32.64 kB / 3.669 GB, free: 87.46 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003931/14.85, allocations: 495.7 kB / 3.669 GB, free: 87.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/14.85, allocations: 155.7 kB / 3.669 GB, free: 87.12 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.008e-05/14.85, allocations: 0 / 3.669 GB, free: 87.12 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001709/14.85, allocations: 391.9 kB / 3.67 GB, free: 86.81 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008909/14.85, allocations: 285.1 kB / 3.67 GB, free: 86.81 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/14.85, allocations: 0.6867 MB / 3.671 GB, free: 86.29 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00487/14.86, allocations: 0.625 MB / 3.671 GB, free: 86.27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.198e-05/14.86, allocations: 13.28 kB / 3.671 GB, free: 86.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01174/14.87, allocations: 1.976 MB / 3.673 GB, free: 86.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001316/14.87, allocations: 5.049 MB / 3.678 GB, free: 80.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.548e-05/14.87, allocations: 14.25 kB / 3.678 GB, free: 80.87 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.559e-05/14.87, allocations: 18.22 kB / 3.678 GB, free: 80.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002566/14.87, allocations: 318.6 kB / 3.678 GB, free: 80.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.451e-05/14.87, allocations: 24.34 kB / 3.679 GB, free: 80.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003195/14.87, allocations: 260.5 kB / 3.679 GB, free: 80.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003039/14.88, allocations: 62.16 kB / 3.679 GB, free: 80.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/14.88, allocations: 5.578 kB / 3.679 GB, free: 80.8 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005884/14.88, allocations: 1.044 MB / 3.68 GB, free: 80.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.291e-05/14.88, allocations: 13.16 kB / 3.68 GB, free: 80.78 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.219e-05/14.88, allocations: 20.59 kB / 3.68 GB, free: 80.78 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002257/14.88, allocations: 303.1 kB / 3.68 GB, free: 80.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-05/14.88, allocations: 28.36 kB / 3.68 GB, free: 80.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002379/14.89, allocations: 183.8 kB / 3.68 GB, free: 80.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002044/14.89, allocations: 67.5 kB / 3.68 GB, free: 80.73 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.0004021/14.89, allocations: 144.4 kB / 3.681 GB, free: 80.62 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002781/14.89, allocations: 0.5399 MB / 3.681 GB, free: 80.58 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005245/14.89, allocations: 1.464 MB / 3.683 GB, free: 80.27 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/14.89, allocations: 4.281 kB / 3.683 GB, free: 80.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.046e-06/14.89, allocations: 3.75 kB / 3.683 GB, free: 80.27 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/14.89, allocations: 8.734 kB / 3.683 GB, free: 80.27 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007008/14.9, allocations: 2.806 MB / 3.685 GB, free: 79.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/14.9, allocations: 3.625 kB / 3.685 GB, free: 79.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000805/14.9, allocations: 98.08 kB / 3.685 GB, free: 79.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.627e-05/14.9, allocations: 7.203 kB / 3.685 GB, free: 79.77 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.717e-05/14.9, allocations: 12.73 kB / 3.685 GB, free: 79.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.033e-05/14.9, allocations: 5.469 kB / 3.685 GB, free: 79.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/14.9, allocations: 6.375 kB / 3.685 GB, free: 79.77 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00509/14.91, allocations: 1.486 MB / 3.687 GB, free: 79.03 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005146/14.91, allocations: 1.869 MB / 3.689 GB, free: 77.91 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001538/14.91, allocations: 0.5502 MB / 3.689 GB, free: 77.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000548/14.92, allocations: 7.406 kB / 3.689 GB, free: 77.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001692/14.92, allocations: 86.28 kB / 3.689 GB, free: 77.69 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/14.92, allocations: 29.55 kB / 3.689 GB, free: 77.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.549e-05/14.92, allocations: 21.48 kB / 3.689 GB, free: 77.69 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.002805/14.92, allocations: 1.141 MB / 3.69 GB, free: 77.57 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01385/14.93, allocations: 1.879 MB / 3.692 GB, free: 77.47 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.01309/14.95, allocations: 1.977 MB / 3.694 GB, free: 77.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003765/14.95, allocations: 1.159 MB / 3.695 GB, free: 77.16 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-05/14.95, allocations: 0 / 3.695 GB, free: 77.16 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006507/14.95, allocations: 222.6 kB / 3.696 GB, free: 77.16 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004413/14.96, allocations: 357.2 kB / 3.696 GB, free: 77.14 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08992/15.05, allocations: 20.35 MB / 3.716 GB, free: 75.75 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001427/15.05, allocations: 1.322 MB / 3.717 GB, free: 75.01 MB / 0.5261 GB Notification: Performance of SimCode: time 3.527e-06/15.05, allocations: 0 / 3.717 GB, free: 75.01 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible_res.mat does not exist to compare? outputFormat=mat