Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",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.551/2.551, allocations: 235 MB / 241.9 MB, free: 9.793 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1661/2.717, allocations: 57.23 MB / 299.2 MB, free: 460 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/3.053, allocations: 54.84 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1894/3.243, allocations: 87.06 MB / 441.1 MB, free: 6.246 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005729/3.243, allocations: 91.77 kB / 441.1 MB, free: 6.16 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5845:11-5846:124:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5858:11-5861:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5836:11-5843:48:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5849:11-5856:46:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.2772/3.52, allocations: 10.57 MB / 451.7 MB, free: 86.78 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/3.52, allocations: 7.844 kB / 451.7 MB, free: 86.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/3.521, allocations: 58.09 kB / 451.8 MB, free: 86.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005853/3.521, allocations: 326.2 kB / 452.1 MB, free: 86.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/3.521, allocations: 15.5 kB / 452.1 MB, free: 86.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.609e-05/3.521, allocations: 32.98 kB / 452.1 MB, free: 86.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001457/3.523, allocations: 0.6452 MB / 452.8 MB, free: 86.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/3.524, allocations: 0.6001 MB / 453.4 MB, free: 86.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/3.525, allocations: 0 / 453.4 MB, free: 86.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/3.525, allocations: 0 / 453.4 MB, free: 86.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001322/3.525, allocations: 52.86 kB / 453.4 MB, free: 86.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004906/3.53, allocations: 1.595 MB / 455 MB, free: 85.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000844/3.531, allocations: 315.5 kB / 455.3 MB, free: 85.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003539/3.531, allocations: 131.5 kB / 455.5 MB, free: 85.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.069e-05/3.531, allocations: 13.77 kB / 455.5 MB, free: 85.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/3.531, allocations: 34.08 kB / 455.5 MB, free: 85.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 2.825e-06/3.531, allocations: 0 / 455.5 MB, free: 85.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.001049/3.532, allocations: 326.2 kB / 455.8 MB, free: 85.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/3.532, allocations: 58.34 kB / 455.9 MB, free: 85.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003309/3.533, allocations: 201.5 kB / 456.1 MB, free: 84.97 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/3.533, allocations: 25.7 kB / 456.1 MB, free: 84.94 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/3.533, allocations: 269.5 kB / 456.4 MB, free: 84.72 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.751e-05/3.533, allocations: 93.06 kB / 456.5 MB, free: 84.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/3.533, allocations: 0 / 456.5 MB, free: 84.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.525e-05/3.533, allocations: 339.2 kB / 456.8 MB, free: 84.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003541/3.533, allocations: 134.4 kB / 456.9 MB, free: 84.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004223/3.534, allocations: 232.1 kB / 457.2 MB, free: 84.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005027/3.534, allocations: 179.1 kB / 457.3 MB, free: 84.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/3.534, allocations: 1.25 kB / 457.3 MB, free: 84.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001176/3.536, allocations: 407.1 kB / 457.7 MB, free: 83.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/3.536, allocations: 5.969 kB / 457.7 MB, free: 83.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/3.536, allocations: 10.66 kB / 457.8 MB, free: 83.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.898e-05/3.536, allocations: 7.625 kB / 457.8 MB, free: 83.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/3.537, allocations: 155.3 kB / 457.9 MB, free: 83.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002052/3.539, allocations: 3.656 MB / 461.6 MB, free: 80.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005347/3.54, allocations: 41.48 kB / 461.6 MB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.909e-05/3.54, allocations: 20.55 kB / 461.6 MB, free: 80.38 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001493/3.54, allocations: 117.3 kB / 461.7 MB, free: 80.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/3.54, allocations: 25.78 kB / 461.8 MB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003519/3.544, allocations: 0.5502 MB / 462.3 MB, free: 80.06 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/3.544, allocations: 7.688 kB / 462.3 MB, free: 80.06 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/3.544, allocations: 0 / 462.3 MB, free: 80.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.037e-05/3.544, allocations: 5.594 kB / 462.3 MB, free: 80.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/3.545, allocations: 384.2 kB / 462.7 MB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/3.546, allocations: 0 / 462.7 MB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002094/3.548, allocations: 134.1 kB / 462.8 MB, free: 79.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.343e-05/3.548, allocations: 5.25 kB / 462.8 MB, free: 79.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001243/3.548, allocations: 12.36 kB / 462.9 MB, free: 79.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00328/3.551, allocations: 3.643 MB / 466.5 MB, free: 76.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-05/3.551, allocations: 7.047 kB / 466.5 MB, free: 76.27 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002484/3.554, allocations: 0.6164 MB / 467.1 MB, free: 76.01 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003199/3.557, allocations: 1.174 MB / 468.3 MB, free: 75.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005091/3.558, allocations: 155.2 kB / 468.4 MB, free: 75.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/3.558, allocations: 1.812 kB / 468.5 MB, free: 75.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006566/3.558, allocations: 9.547 kB / 468.5 MB, free: 75.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/3.559, allocations: 24.25 kB / 468.5 MB, free: 75.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.354e-05/3.559, allocations: 12.31 kB / 468.5 MB, free: 75.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0004752/3.559, allocations: 179.8 kB / 468.7 MB, free: 75.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003171/3.562, allocations: 195.4 kB / 468.9 MB, free: 75.04 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009187/3.563, allocations: 203.3 kB / 469.1 MB, free: 74.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003113/3.567, allocations: 411.4 kB / 469.5 MB, free: 74.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/3.567, allocations: 0.9375 kB / 469.5 MB, free: 74.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002206/3.569, allocations: 249.3 kB / 469.7 MB, free: 74.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005492/3.57, allocations: 12.38 kB / 469.7 MB, free: 74.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003251/3.573, allocations: 0.6805 MB / 470.4 MB, free: 74.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/3.574, allocations: 0.966 MB / 471.4 MB, free: 73.09 MB / 378.7 MB Notification: Performance of SimCode: time 2.765e-06/3.574, allocations: 4 kB / 471.4 MB, free: 73.09 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat