Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_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 1.969/1.969, allocations: 209.3 MB / 216.3 MB, free: 6.789 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2568/2.226, allocations: 51.05 MB / 267.3 MB, free: 5.129 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/2.352, allocations: 48.69 MB / 316 MB, free: 4.336 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.374/2.726, allocations: 98.04 MB / 414 MB, free: 10.74 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004296/2.727, allocations: 102.5 kB / 414.1 MB, free: 10.68 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4955:11-4956:126:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4977:11-4978:120:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4937:11-4953:48:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4959:11-4975:59:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.1549/2.881, allocations: 28.31 MB / 442.4 MB, free: 1.793 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/2.882, allocations: 15.98 kB / 442.5 MB, free: 1.777 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002091/2.882, allocations: 71.06 kB / 442.5 MB, free: 1.707 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007595/2.883, allocations: 354 kB / 442.9 MB, free: 1.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.307e-05/2.883, allocations: 27.94 kB / 442.9 MB, free: 1.293 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/2.883, allocations: 44 kB / 442.9 MB, free: 1.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002985/2.886, allocations: 1.242 MB / 444.2 MB, free: 8 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002585/2.888, allocations: 1.065 MB / 445.3 MB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/2.888, allocations: 0 / 445.3 MB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/2.889, allocations: 0 / 445.3 MB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001149/2.889, allocations: 81.89 kB / 445.3 MB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00822/2.897, allocations: 2.802 MB / 448.1 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/2.899, allocations: 351.9 kB / 448.5 MB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005998/2.899, allocations: 125.4 kB / 448.6 MB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/2.899, allocations: 12.28 kB / 448.6 MB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.862e-05/2.899, allocations: 34.83 kB / 448.7 MB, free: 11.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 5.09e-06/2.899, allocations: 0 / 448.7 MB, free: 11.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.001544/2.901, allocations: 331.6 kB / 449 MB, free: 11.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/2.901, allocations: 59.41 kB / 449 MB, free: 10.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004527/2.902, allocations: 181.7 kB / 449.2 MB, free: 10.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.951e-05/2.902, allocations: 25.7 kB / 449.2 MB, free: 10.76 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005024/2.902, allocations: 382.2 kB / 449.6 MB, free: 10.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002635/2.902, allocations: 118.3 kB / 449.7 MB, free: 10.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.258e-05/2.903, allocations: 0 / 449.7 MB, free: 10.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002243/2.903, allocations: 334.7 kB / 450.1 MB, free: 9.922 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006171/2.903, allocations: 128.9 kB / 450.2 MB, free: 9.797 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008022/2.904, allocations: 320.8 kB / 450.5 MB, free: 9.395 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006227/2.905, allocations: 187.8 kB / 450.7 MB, free: 9.211 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/2.905, allocations: 4 kB / 450.7 MB, free: 9.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002082/2.907, allocations: 477.7 kB / 451.1 MB, free: 8.734 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/2.907, allocations: 8 kB / 451.2 MB, free: 8.727 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/2.907, allocations: 4 kB / 451.2 MB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.864e-05/2.907, allocations: 16.03 kB / 451.2 MB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002255/2.909, allocations: 203.8 kB / 451.4 MB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003142/2.913, allocations: 3.032 MB / 454.4 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009018/2.914, allocations: 51.7 kB / 454.5 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/2.914, allocations: 35.98 kB / 454.5 MB, free: 5.273 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (roughness,geometry[5],geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002799/2.914, allocations: 124.7 kB / 454.6 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/2.914, allocations: 27.66 kB / 454.6 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004193/2.918, allocations: 0.624 MB / 455.3 MB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/2.918, allocations: 4 kB / 455.3 MB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/2.919, allocations: 0 / 455.3 MB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/2.919, allocations: 0 / 455.3 MB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003613/2.922, allocations: 0.9734 MB / 456.2 MB, free: 3.441 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/2.922, allocations: 0 / 456.2 MB, free: 3.441 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002085/2.924, allocations: 180.1 kB / 456.4 MB, free: 3.266 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-05/2.924, allocations: 4 kB / 456.4 MB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.73e-05/2.924, allocations: 12 kB / 456.4 MB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003141/2.928, allocations: 2.985 MB / 459.4 MB, free: 152 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.316e-05/2.928, allocations: 4.031 kB / 459.4 MB, free: 148 kB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001496/2.929, allocations: 0.5388 MB / 460 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001677/2.931, allocations: 0.926 MB / 460.9 MB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/2.931, allocations: 104.8 kB / 461 MB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/2.931, allocations: 4 kB / 461 MB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006325/2.932, allocations: 15.98 kB / 461 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/2.932, allocations: 35.86 kB / 461 MB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.482e-05/2.932, allocations: 16 kB / 461.1 MB, free: 14.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002231/2.932, allocations: 128.6 kB / 461.2 MB, free: 14.18 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003917/2.936, allocations: 370.7 kB / 461.5 MB, free: 13.82 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002109/2.939, allocations: 430.4 kB / 462 MB, free: 13.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002904/2.942, allocations: 437.8 kB / 462.4 MB, free: 12.96 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.647e-06/2.942, allocations: 0 / 462.4 MB, free: 12.96 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001916/2.944, allocations: 239.7 kB / 462.6 MB, free: 12.72 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005992/2.944, allocations: 20.66 kB / 462.6 MB, free: 12.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004114/2.948, allocations: 0.8219 MB / 463.5 MB, free: 11.83 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001551/2.95, allocations: 1.049 MB / 464.5 MB, free: 10.75 MB / 394.7 MB Notification: Performance of SimCode: time 6.703e-06/2.95, allocations: 0 / 464.5 MB, free: 10.75 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat