Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",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.389/2.389, allocations: 235.1 MB / 242 MB, free: 9.742 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1754/2.565, allocations: 57.21 MB / 299.2 MB, free: 420 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/2.891, allocations: 54.85 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.666/4.557, allocations: 0.6074 GB / 0.9532 GB, free: 4.609 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003501/4.557, allocations: 91.19 kB / 0.9533 GB, free: 4.559 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.524/6.081, allocations: 229.9 MB / 1.178 GB, free: 96.96 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/6.081, allocations: 11.75 kB / 1.178 GB, free: 96.96 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002168/6.084, allocations: 143.1 kB / 1.178 GB, free: 96.93 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/6.085, allocations: 0.5354 MB / 1.178 GB, free: 96.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/6.086, allocations: 23.38 kB / 1.178 GB, free: 96.7 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/6.086, allocations: 21.66 kB / 1.178 GB, free: 96.7 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001375/6.087, allocations: 398 kB / 1.179 GB, free: 96.69 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/6.089, allocations: 489.8 kB / 1.179 GB, free: 96.55 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/6.089, allocations: 2.812 kB / 1.179 GB, free: 96.55 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.843e-05/6.089, allocations: 7.469 kB / 1.179 GB, free: 96.55 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/6.089, allocations: 10.62 kB / 1.179 GB, free: 96.55 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005047/6.094, allocations: 2.631 MB / 1.182 GB, free: 94.82 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006435/6.094, allocations: 215.5 kB / 1.182 GB, free: 94.8 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003287/6.095, allocations: 136.2 kB / 1.182 GB, free: 94.79 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004582/6.095, allocations: 323.2 kB / 1.183 GB, free: 94.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/6.095, allocations: 43.53 kB / 1.183 GB, free: 94.46 MB / 474.7 MB Notification: Performance of pre-optimization done (n=30): time 3.416e-06/6.095, allocations: 0 / 1.183 GB, free: 94.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=30): time 0.004953/6.1, allocations: 0.8185 MB / 1.183 GB, free: 94.39 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/6.1, allocations: 134.5 kB / 1.184 GB, free: 94.23 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007189/6.101, allocations: 382 kB / 1.184 GB, free: 94.12 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.276e-05/6.101, allocations: 29.48 kB / 1.184 GB, free: 94.09 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/6.101, allocations: 260.1 kB / 1.184 GB, free: 93.94 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/6.102, allocations: 102.7 kB / 1.184 GB, free: 93.89 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.4e-05/6.102, allocations: 0 / 1.184 GB, free: 93.89 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000185/6.102, allocations: 356.4 kB / 1.185 GB, free: 93.58 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007151/6.103, allocations: 159.1 kB / 1.185 GB, free: 93.58 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000688/6.103, allocations: 330.1 kB / 1.185 GB, free: 93.37 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00459/6.108, allocations: 0.6978 MB / 1.186 GB, free: 93.36 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.24e-05/6.108, allocations: 0 / 1.186 GB, free: 93.36 MB / 474.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.005853/6.114, allocations: 1.068 MB / 1.187 GB, free: 93.29 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/6.114, allocations: 4.562 kB / 1.187 GB, free: 93.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/6.114, allocations: 6.688 kB / 1.187 GB, free: 93.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003327/6.114, allocations: 63.83 kB / 1.187 GB, free: 93.28 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/6.115, allocations: 157.6 kB / 1.187 GB, free: 93.28 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006714/6.122, allocations: 13.46 MB / 1.2 GB, free: 79.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/6.123, allocations: 65.69 kB / 1.2 GB, free: 79.47 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/6.123, allocations: 55.64 kB / 1.2 GB, free: 79.47 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.0003595/6.124, allocations: 157.9 kB / 1.2 GB, free: 79.36 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/6.124, allocations: 49.69 kB / 1.2 GB, free: 79.34 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004046/6.128, allocations: 0.7043 MB / 1.201 GB, free: 79.23 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/6.128, allocations: 11.22 kB / 1.201 GB, free: 79.23 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/6.128, allocations: 0 / 1.201 GB, free: 79.23 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/6.128, allocations: 3.891 kB / 1.201 GB, free: 79.23 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003213/6.131, allocations: 1.105 MB / 1.202 GB, free: 78.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/6.131, allocations: 7.25 kB / 1.202 GB, free: 78.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004767/6.132, allocations: 50.72 kB / 1.202 GB, free: 78.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003728/6.132, allocations: 50.83 kB / 1.202 GB, free: 78.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.724e-05/6.132, allocations: 7.531 kB / 1.202 GB, free: 78.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001001/6.133, allocations: 0.6172 MB / 1.203 GB, free: 78.18 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/6.133, allocations: 0 / 1.203 GB, free: 78.18 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002131/6.136, allocations: 0.6384 MB / 1.204 GB, free: 77.83 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00229/6.138, allocations: 1.045 MB / 1.205 GB, free: 77.12 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002818/6.138, allocations: 149.3 kB / 1.205 GB, free: 77 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/6.138, allocations: 7.875 kB / 1.205 GB, free: 77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006641/6.139, allocations: 31.27 kB / 1.205 GB, free: 77 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.473e-05/6.139, allocations: 18.55 kB / 1.205 GB, free: 77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.597e-05/6.139, allocations: 15.66 kB / 1.205 GB, free: 77 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0005978/6.14, allocations: 307.7 kB / 1.205 GB, free: 76.91 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00404/6.144, allocations: 492.2 kB / 1.206 GB, free: 76.86 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.003391/6.147, allocations: 1.346 MB / 1.207 GB, free: 76.64 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001433/6.149, allocations: 370 kB / 1.207 GB, free: 76.64 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/6.149, allocations: 0 / 1.207 GB, free: 76.64 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004751/6.149, allocations: 120.4 kB / 1.207 GB, free: 76.64 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003652/6.153, allocations: 210 kB / 1.208 GB, free: 76.63 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01735/6.17, allocations: 2.286 MB / 1.21 GB, free: 76.36 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001173/6.172, allocations: 0.9773 MB / 1.211 GB, free: 75.65 MB / 474.7 MB Notification: Performance of SimCode: time 1.433e-06/6.172, allocations: 2.5 kB / 1.211 GB, free: 75.65 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat does not exist to compare? outputFormat=mat