Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_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.158/2.158, allocations: 209.3 MB / 216.3 MB, free: 0.7305 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1455/2.303, allocations: 51.07 MB / 267.3 MB, free: 13.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/2.565, allocations: 48.7 MB / 316 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2119/2.776, allocations: 82.76 MB / 398.8 MB, free: 11.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003846/2.777, allocations: 95.92 kB / 398.9 MB, free: 11.42 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6216:11-6222:61:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6224:11-6227:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6230:11-6236:59:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6238:11-6241:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0597/2.837, allocations: 11.46 MB / 410.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/2.837, allocations: 8 kB / 410.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.923e-05/2.837, allocations: 31.62 kB / 410.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004256/2.837, allocations: 238.6 kB / 410.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/2.837, allocations: 8 kB / 410.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.146e-05/2.837, allocations: 19.91 kB / 410.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009924/2.838, allocations: 413.2 kB / 411 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009641/2.839, allocations: 409.4 kB / 411.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/2.839, allocations: 4 kB / 411.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.09e-05/2.839, allocations: 0 / 411.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.207e-05/2.84, allocations: 40.75 kB / 411.5 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00317/2.843, allocations: 1.282 MB / 412.8 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007962/2.844, allocations: 276.8 kB / 413 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/2.844, allocations: 80.77 kB / 413.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.265e-05/2.844, allocations: 7.984 kB / 413.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/2.844, allocations: 38.5 kB / 413.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 2.535e-06/2.844, allocations: 4 kB / 413.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006836/2.845, allocations: 213.7 kB / 413.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/2.845, allocations: 55.41 kB / 413.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/2.845, allocations: 127.7 kB / 413.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/2.845, allocations: 25.7 kB / 413.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/2.845, allocations: 191.6 kB / 413.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/2.845, allocations: 86.75 kB / 413.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.161e-05/2.845, allocations: 0 / 413.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/2.845, allocations: 326.8 kB / 414.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/2.846, allocations: 75.81 kB / 414.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002927/2.846, allocations: 150.3 kB / 414.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002905/2.846, allocations: 107.8 kB / 414.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/2.846, allocations: 0 / 414.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007666/2.847, allocations: 269.2 kB / 414.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/2.847, allocations: 4 kB / 414.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/2.847, allocations: 4 kB / 414.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/2.847, allocations: 7.906 kB / 414.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/2.848, allocations: 140.2 kB / 414.9 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001887/2.85, allocations: 2.383 MB / 417.3 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003833/2.851, allocations: 27.92 kB / 417.3 MB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.217e-05/2.851, allocations: 23.98 kB / 417.3 MB, free: 8.48 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001518/2.851, allocations: 112.9 kB / 417.4 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.034e-05/2.851, allocations: 11.81 kB / 417.4 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/2.852, allocations: 365.9 kB / 417.8 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/2.853, allocations: 15.84 kB / 417.8 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/2.853, allocations: 0 / 417.8 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/2.853, allocations: 3.984 kB / 417.8 MB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005719/2.853, allocations: 270.3 kB / 418.1 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/2.853, allocations: 0 / 418.1 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/2.854, allocations: 119.8 kB / 418.2 MB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.309e-05/2.854, allocations: 8 kB / 418.2 MB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.102e-05/2.854, allocations: 7.938 kB / 418.2 MB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001767/2.856, allocations: 2.379 MB / 420.6 MB, free: 5.059 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/2.856, allocations: 0 / 420.6 MB, free: 5.059 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007603/2.857, allocations: 335.7 kB / 420.9 MB, free: 4.715 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008158/2.858, allocations: 0.703 MB / 421.6 MB, free: 3.992 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.939e-05/2.858, allocations: 88.92 kB / 421.7 MB, free: 3.887 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.666e-05/2.858, allocations: 0 / 421.7 MB, free: 3.887 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003275/2.858, allocations: 15.98 kB / 421.7 MB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.819e-05/2.858, allocations: 23.88 kB / 421.8 MB, free: 3.848 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.186e-05/2.858, allocations: 8 kB / 421.8 MB, free: 3.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.646e-05/2.859, allocations: 109.4 kB / 421.9 MB, free: 3.734 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001749/2.86, allocations: 183.5 kB / 422.1 MB, free: 3.555 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008377/2.861, allocations: 258.9 kB / 422.3 MB, free: 3.293 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001227/2.862, allocations: 264.1 kB / 422.6 MB, free: 3.035 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/2.862, allocations: 0.6875 kB / 422.6 MB, free: 3.035 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008061/2.863, allocations: 163.8 kB / 422.7 MB, free: 2.875 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/2.864, allocations: 11.98 kB / 422.7 MB, free: 2.863 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/2.865, allocations: 388.9 kB / 423.1 MB, free: 2.453 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007036/2.866, allocations: 0.8409 MB / 424 MB, free: 1.586 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/2.866, allocations: 0 / 424 MB, free: 1.586 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat does not exist to compare? outputFormat=mat