Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_2_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 2.147/2.147, allocations: 235 MB / 241.9 MB, free: 9.789 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1892/2.337, allocations: 57.21 MB / 299.1 MB, free: 480 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/2.64, allocations: 54.85 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.427/4.067, allocations: 0.6074 GB / 0.9531 GB, free: 5.078 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003094/4.067, allocations: 97.38 kB / 0.9532 GB, free: 5.023 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 1.342/5.409, allocations: 229.9 MB / 1.178 GB, free: 94.42 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.921e-05/5.41, allocations: 9.562 kB / 1.178 GB, free: 94.42 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003899/5.413, allocations: 146.2 kB / 1.178 GB, free: 94.39 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002998/5.417, allocations: 0.5358 MB / 1.178 GB, free: 94.16 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.945e-05/5.417, allocations: 18.25 kB / 1.178 GB, free: 94.16 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001903/5.417, allocations: 23.09 kB / 1.178 GB, free: 94.16 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002323/5.419, allocations: 391.3 kB / 1.179 GB, free: 94.16 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/5.422, allocations: 497.9 kB / 1.179 GB, free: 94.02 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.039e-05/5.422, allocations: 0 / 1.179 GB, free: 94.02 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001637/5.422, allocations: 3.938 kB / 1.179 GB, free: 94.02 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/5.422, allocations: 13.09 kB / 1.179 GB, free: 94.02 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007566/5.429, allocations: 2.619 MB / 1.182 GB, free: 92.29 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008475/5.43, allocations: 226.2 kB / 1.182 GB, free: 92.27 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000429/5.431, allocations: 130 kB / 1.182 GB, free: 92.26 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000663/5.432, allocations: 328.6 kB / 1.182 GB, free: 91.97 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.676e-05/5.432, allocations: 41.91 kB / 1.183 GB, free: 91.93 MB / 474.7 MB Notification: Performance of pre-optimization done (n=30): time 6.742e-06/5.432, allocations: 0 / 1.183 GB, free: 91.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=30): time 0.007657/5.439, allocations: 0.8188 MB / 1.183 GB, free: 91.86 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/5.439, allocations: 132.3 kB / 1.183 GB, free: 91.7 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006999/5.44, allocations: 388.4 kB / 1.184 GB, free: 91.59 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000106/5.44, allocations: 25.7 kB / 1.184 GB, free: 91.56 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/5.441, allocations: 256 kB / 1.184 GB, free: 91.41 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/5.441, allocations: 105.8 kB / 1.184 GB, free: 91.36 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.562e-05/5.441, allocations: 0 / 1.184 GB, free: 91.36 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/5.441, allocations: 354 kB / 1.185 GB, free: 91.05 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004172/5.441, allocations: 156.5 kB / 1.185 GB, free: 91.05 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005004/5.442, allocations: 338.3 kB / 1.185 GB, free: 90.84 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004137/5.446, allocations: 0.6935 MB / 1.186 GB, free: 90.83 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.504e-05/5.446, allocations: 0 / 1.186 GB, free: 90.83 MB / 474.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.005355/5.452, allocations: 1.08 MB / 1.187 GB, free: 90.75 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/5.452, allocations: 4.469 kB / 1.187 GB, free: 90.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/5.452, allocations: 6.719 kB / 1.187 GB, free: 90.75 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003323/5.452, allocations: 53.25 kB / 1.187 GB, free: 90.74 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/5.453, allocations: 160.7 kB / 1.187 GB, free: 90.74 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006325/5.459, allocations: 13.47 MB / 1.2 GB, free: 76.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009439/5.46, allocations: 67.98 kB / 1.2 GB, free: 76.94 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/5.461, allocations: 49.45 kB / 1.2 GB, free: 76.94 MB / 474.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.000372/5.461, allocations: 160.3 kB / 1.2 GB, free: 76.83 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/5.461, allocations: 45.09 kB / 1.2 GB, free: 76.81 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003406/5.465, allocations: 0.7098 MB / 1.201 GB, free: 76.71 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/5.465, allocations: 1.969 kB / 1.201 GB, free: 76.71 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/5.465, allocations: 0 / 1.201 GB, free: 76.71 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/5.465, allocations: 5.625 kB / 1.201 GB, free: 76.71 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003413/5.468, allocations: 1.116 MB / 1.202 GB, free: 76.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/5.468, allocations: 0 / 1.202 GB, free: 76.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004229/5.469, allocations: 55.28 kB / 1.202 GB, free: 76.18 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002499/5.469, allocations: 44.28 kB / 1.202 GB, free: 76.18 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.234e-05/5.469, allocations: 6.406 kB / 1.202 GB, free: 76.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007982/5.47, allocations: 0.618 MB / 1.203 GB, free: 75.66 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/5.47, allocations: 8.156 kB / 1.203 GB, free: 75.66 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002047/5.472, allocations: 0.6367 MB / 1.204 GB, free: 75.31 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002213/5.474, allocations: 1.039 MB / 1.205 GB, free: 74.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003268/5.474, allocations: 151.2 kB / 1.205 GB, free: 74.48 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/5.475, allocations: 3.75 kB / 1.205 GB, free: 74.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005951/5.475, allocations: 24.02 kB / 1.205 GB, free: 74.48 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.106e-05/5.475, allocations: 25.66 kB / 1.205 GB, free: 74.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-05/5.475, allocations: 10.73 kB / 1.205 GB, free: 74.48 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0005575/5.476, allocations: 315.1 kB / 1.205 GB, free: 74.39 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003977/5.48, allocations: 497.3 kB / 1.206 GB, free: 74.34 MB / 474.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.004365/5.484, allocations: 1.343 MB / 1.207 GB, free: 74.12 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001377/5.486, allocations: 365.5 kB / 1.207 GB, free: 74.12 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/5.486, allocations: 0 / 1.207 GB, free: 74.12 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004113/5.486, allocations: 125.5 kB / 1.207 GB, free: 74.12 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/5.488, allocations: 204.3 kB / 1.207 GB, free: 74.11 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/5.499, allocations: 2.29 MB / 1.21 GB, free: 73.84 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/5.5, allocations: 0.9767 MB / 1.211 GB, free: 73.13 MB / 474.7 MB Notification: Performance of SimCode: time 1.193e-06/5.5, allocations: 0 / 1.211 GB, free: 73.13 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat does not exist to compare? outputFormat=mat