Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",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.821/1.821, allocations: 209.3 MB / 216.3 MB, free: 6.805 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2603/2.082, allocations: 51.04 MB / 267.3 MB, free: 5.152 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/2.195, allocations: 48.68 MB / 316 MB, free: 4.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.52/3.715, allocations: 0.6009 GB / 0.9094 GB, free: 60.03 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003295/3.715, allocations: 91.52 kB / 0.9095 GB, free: 59.98 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 1.073/4.788, allocations: 229.8 MB / 1.134 GB, free: 2.055 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/4.788, allocations: 8 kB / 1.134 GB, free: 2.047 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001577/4.79, allocations: 139.1 kB / 1.134 GB, free: 1.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/4.791, allocations: 0.5444 MB / 1.135 GB, free: 1.324 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/4.791, allocations: 12 kB / 1.135 GB, free: 1.312 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.971e-05/4.791, allocations: 24 kB / 1.135 GB, free: 1.289 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001011/4.792, allocations: 393.9 kB / 1.135 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/4.793, allocations: 490 kB / 1.135 GB, free: 392 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/4.793, allocations: 0 / 1.135 GB, free: 392 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-05/4.793, allocations: 4 kB / 1.135 GB, free: 388 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/4.793, allocations: 11.91 kB / 1.135 GB, free: 376 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1726/4.966, allocations: 2.622 MB / 1.138 GB, free: 107.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009017/4.967, allocations: 223.9 kB / 1.138 GB, free: 107.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005746/4.968, allocations: 133.6 kB / 1.138 GB, free: 107.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006995/4.968, allocations: 321.7 kB / 1.139 GB, free: 106.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.936e-05/4.968, allocations: 41.31 kB / 1.139 GB, free: 106.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 4.729e-06/4.968, allocations: 0 / 1.139 GB, free: 106.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.0068/4.975, allocations: 0.8248 MB / 1.14 GB, free: 106.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/4.975, allocations: 132.3 kB / 1.14 GB, free: 106.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006448/4.976, allocations: 375.4 kB / 1.14 GB, free: 106.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.246e-05/4.976, allocations: 33.08 kB / 1.14 GB, free: 106.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/4.976, allocations: 252.2 kB / 1.14 GB, free: 106.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.555e-05/4.976, allocations: 110.6 kB / 1.14 GB, free: 106.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/4.976, allocations: 0 / 1.14 GB, free: 106.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.866e-05/4.977, allocations: 357.4 kB / 1.141 GB, free: 105.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004383/4.977, allocations: 155.6 kB / 1.141 GB, free: 105.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004767/4.977, allocations: 329.9 kB / 1.141 GB, free: 105.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004022/4.982, allocations: 0.6924 MB / 1.142 GB, free: 105.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/4.982, allocations: 2.156 kB / 1.142 GB, free: 105.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.005109/4.987, allocations: 1.063 MB / 1.143 GB, free: 105.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/4.987, allocations: 7.812 kB / 1.143 GB, free: 105.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/4.987, allocations: 3.312 kB / 1.143 GB, free: 105.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002961/4.987, allocations: 55.2 kB / 1.143 GB, free: 105.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/4.988, allocations: 156.8 kB / 1.143 GB, free: 105.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006249/4.994, allocations: 13.48 MB / 1.156 GB, free: 91.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009056/4.995, allocations: 64.53 kB / 1.156 GB, free: 91.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/4.995, allocations: 57.83 kB / 1.156 GB, free: 91.79 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting1.geometry.venaLength:VARIABLE(unit = "m" ) = fitting1.geometry.venaLength "Length of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting1.geometry.venaPerimeter:VARIABLE(unit = "m" ) = fitting1.geometry.venaPerimeter "Perimeter of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting1.geometry.venaCrossArea:VARIABLE(unit = "m2" ) = fitting1.geometry.venaCrossArea "Cross sectional area of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting1.geometry.perimeter:VARIABLE(unit = "m" ) = fitting1.geometry.perimeter "Inner perimeter" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting1.geometry.crossArea:VARIABLE(unit = "m2" ) = fitting1.geometry.crossArea "Inner cross sectional area" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting2.geometry.venaLength:VARIABLE(unit = "m" ) = fitting2.geometry.venaLength "Length of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting2.geometry.venaPerimeter:VARIABLE(unit = "m" ) = fitting2.geometry.venaPerimeter "Perimeter of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting2.geometry.venaCrossArea:VARIABLE(unit = "m2" ) = fitting2.geometry.venaCrossArea "Cross sectional area of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting2.geometry.perimeter:VARIABLE(unit = "m" ) = fitting2.geometry.perimeter "Inner perimeter" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting2.geometry.crossArea:VARIABLE(unit = "m2" ) = fitting2.geometry.crossArea "Inner cross sectional area" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003242/4.996, allocations: 151.6 kB / 1.157 GB, free: 91.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/4.996, allocations: 51.41 kB / 1.157 GB, free: 91.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003311/4.999, allocations: 0.7121 MB / 1.157 GB, free: 91.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.617e-06/4.999, allocations: 4.469 kB / 1.157 GB, free: 91.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/4.999, allocations: 0 / 1.157 GB, free: 91.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/4.999, allocations: 0 / 1.157 GB, free: 91.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002976/5.002, allocations: 1.111 MB / 1.158 GB, free: 91.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/5.002, allocations: 7.375 kB / 1.158 GB, free: 91.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003967/5.003, allocations: 50.59 kB / 1.158 GB, free: 91.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002422/5.003, allocations: 51.02 kB / 1.158 GB, free: 91.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/5.003, allocations: 3.969 kB / 1.158 GB, free: 91.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007342/5.004, allocations: 0.6167 MB / 1.159 GB, free: 90.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/5.004, allocations: 3.812 kB / 1.159 GB, free: 90.52 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001892/5.006, allocations: 0.6374 MB / 1.16 GB, free: 90.17 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001953/5.008, allocations: 1.039 MB / 1.161 GB, free: 89.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000227/5.008, allocations: 148.1 kB / 1.161 GB, free: 89.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/5.008, allocations: 7.688 kB / 1.161 GB, free: 89.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005692/5.009, allocations: 26.61 kB / 1.161 GB, free: 89.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.915e-05/5.009, allocations: 22.28 kB / 1.161 GB, free: 89.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.066e-05/5.009, allocations: 16 kB / 1.161 GB, free: 89.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0005197/5.009, allocations: 314.4 kB / 1.161 GB, free: 89.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00362/5.013, allocations: 488.3 kB / 1.162 GB, free: 89.24 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002817/5.016, allocations: 1.335 MB / 1.163 GB, free: 89.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001255/5.017, allocations: 368.8 kB / 1.163 GB, free: 89.08 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/5.017, allocations: 0 / 1.163 GB, free: 89.08 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003621/5.018, allocations: 123.2 kB / 1.163 GB, free: 89.08 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00204/5.02, allocations: 218.2 kB / 1.164 GB, free: 89.08 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/5.03, allocations: 2.288 MB / 1.166 GB, free: 88.83 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/5.031, allocations: 0.9796 MB / 1.167 GB, free: 88.12 MB / 426.7 MB Notification: Performance of SimCode: time 1.603e-06/5.031, allocations: 0 / 1.167 GB, free: 88.12 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat does not exist to compare? outputFormat=mat