Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_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.401/2.401, allocations: 235 MB / 241.9 MB, free: 9.766 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.166/2.567, allocations: 57.23 MB / 299.2 MB, free: 436 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/2.864, allocations: 54.83 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1875/3.051, allocations: 89.31 MB / 443.3 MB, free: 4.004 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004916/3.052, allocations: 95.88 kB / 443.4 MB, free: 3.91 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2/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.2/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.2/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.2789/3.331, allocations: 11.45 MB / 454.9 MB, free: 86.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/3.331, allocations: 9.641 kB / 454.9 MB, free: 86.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.715e-05/3.331, allocations: 32.72 kB / 454.9 MB, free: 86.58 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/3.331, allocations: 236.2 kB / 455.1 MB, free: 86.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/3.331, allocations: 8.969 kB / 455.1 MB, free: 86.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.168e-05/3.331, allocations: 16.81 kB / 455.2 MB, free: 86.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001078/3.332, allocations: 419.6 kB / 455.6 MB, free: 86.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009715/3.333, allocations: 414.9 kB / 456 MB, free: 86.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/3.333, allocations: 1.375 kB / 456 MB, free: 86.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.453e-05/3.333, allocations: 0.5625 kB / 456 MB, free: 86.1 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.017e-05/3.334, allocations: 48.92 kB / 456 MB, free: 86.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003208/3.337, allocations: 1.276 MB / 457.3 MB, free: 85.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008156/3.338, allocations: 261.3 kB / 457.5 MB, free: 85.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002244/3.338, allocations: 79.5 kB / 457.6 MB, free: 85.17 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.953e-05/3.338, allocations: 9.172 kB / 457.6 MB, free: 85.17 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/3.338, allocations: 40.52 kB / 457.7 MB, free: 85.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 2.945e-06/3.338, allocations: 4 kB / 457.7 MB, free: 85.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007499/3.339, allocations: 212.8 kB / 457.9 MB, free: 85.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/3.339, allocations: 54.31 kB / 457.9 MB, free: 84.99 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/3.339, allocations: 126.7 kB / 458.1 MB, free: 84.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/3.339, allocations: 29.64 kB / 458.1 MB, free: 84.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/3.339, allocations: 189.9 kB / 458.3 MB, free: 84.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.07e-05/3.339, allocations: 81.53 kB / 458.4 MB, free: 84.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.13e-05/3.339, allocations: 1.75 kB / 458.4 MB, free: 84.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.976e-05/3.339, allocations: 329.2 kB / 458.7 MB, free: 84.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/3.34, allocations: 67.95 kB / 458.7 MB, free: 84.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002717/3.34, allocations: 156.5 kB / 458.9 MB, free: 84.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002955/3.34, allocations: 103.9 kB / 459 MB, free: 84.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/3.34, allocations: 1.688 kB / 459 MB, free: 84.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007852/3.341, allocations: 272.1 kB / 459.3 MB, free: 84.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/3.341, allocations: 9.031 kB / 459.3 MB, free: 84.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/3.341, allocations: 2.594 kB / 459.3 MB, free: 84.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/3.341, allocations: 5.625 kB / 459.3 MB, free: 84.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/3.342, allocations: 131.7 kB / 459.4 MB, free: 84.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/3.344, allocations: 2.384 MB / 461.8 MB, free: 81.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004084/3.344, allocations: 35.27 kB / 461.8 MB, free: 81.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.822e-05/3.344, allocations: 17.83 kB / 461.9 MB, free: 81.64 MB / 378.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.0001355/3.344, allocations: 108.6 kB / 462 MB, free: 81.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.854e-05/3.344, allocations: 14.94 kB / 462 MB, free: 81.53 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/3.346, allocations: 377.1 kB / 462.3 MB, free: 81.37 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.948e-06/3.346, allocations: 7.078 kB / 462.3 MB, free: 81.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/3.346, allocations: 5.344 kB / 462.4 MB, free: 81.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/3.346, allocations: 5.172 kB / 462.4 MB, free: 81.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005718/3.347, allocations: 267.3 kB / 462.6 MB, free: 81.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/3.347, allocations: 4 kB / 462.6 MB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/3.348, allocations: 121.2 kB / 462.7 MB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.267e-05/3.348, allocations: 6.188 kB / 462.7 MB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.866e-05/3.348, allocations: 4.312 kB / 462.8 MB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001218/3.349, allocations: 2.377 MB / 465.1 MB, free: 78.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/3.349, allocations: 1 kB / 465.1 MB, free: 78.79 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007299/3.35, allocations: 334.1 kB / 465.5 MB, free: 78.61 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000795/3.351, allocations: 0.7081 MB / 466.2 MB, free: 78.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.497e-05/3.351, allocations: 98.44 kB / 466.3 MB, free: 77.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.94e-05/3.351, allocations: 1.141 kB / 466.3 MB, free: 77.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003361/3.351, allocations: 17.86 kB / 466.3 MB, free: 77.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/3.351, allocations: 17.19 kB / 466.3 MB, free: 77.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.595e-05/3.351, allocations: 13.91 kB / 466.3 MB, free: 77.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.942e-05/3.351, allocations: 96.09 kB / 466.4 MB, free: 77.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001971/3.353, allocations: 187.2 kB / 466.6 MB, free: 77.77 MB / 378.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.0009006/3.354, allocations: 263 kB / 466.8 MB, free: 77.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001353/3.356, allocations: 261.3 kB / 467.1 MB, free: 77.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/3.356, allocations: 0.6875 kB / 467.1 MB, free: 77.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008213/3.357, allocations: 169 kB / 467.3 MB, free: 77.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/3.357, allocations: 7.094 kB / 467.3 MB, free: 77.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/3.358, allocations: 389.1 kB / 467.6 MB, free: 77.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004992/3.359, allocations: 0.8408 MB / 468.5 MB, free: 76.35 MB / 378.7 MB Notification: Performance of SimCode: time 1.223e-06/3.359, allocations: 0 / 468.5 MB, free: 76.35 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat does not exist to compare? outputFormat=mat