Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_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.316/2.316, allocations: 235 MB / 241.9 MB, free: 9.789 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1968/2.513, allocations: 57.23 MB / 299.2 MB, free: 456 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/2.815, allocations: 54.84 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4181/3.233, allocations: 95.69 MB / 449.7 MB, free: 32.77 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005496/3.234, allocations: 97.16 kB / 449.8 MB, free: 32.77 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4646:11-4649:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4673:11-4676:68:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4633:11-4636:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4660:11-4663:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.1396/3.373, allocations: 22.69 MB / 472.5 MB, free: 30.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/3.373, allocations: 11.69 kB / 472.5 MB, free: 30.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/3.374, allocations: 37.45 kB / 472.5 MB, free: 30.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004752/3.374, allocations: 270 kB / 472.8 MB, free: 30.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/3.374, allocations: 11.69 kB / 472.8 MB, free: 30.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.648e-05/3.374, allocations: 19.59 kB / 472.8 MB, free: 30.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009764/3.375, allocations: 465.1 kB / 473.3 MB, free: 30.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009341/3.376, allocations: 442.4 kB / 473.7 MB, free: 30.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/3.376, allocations: 0 / 473.7 MB, free: 30.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.948e-05/3.376, allocations: 0 / 473.7 MB, free: 30.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.393e-05/3.376, allocations: 45.56 kB / 473.7 MB, free: 30.24 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003026/3.379, allocations: 1.234 MB / 475 MB, free: 29.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/3.38, allocations: 352.4 kB / 475.3 MB, free: 29.56 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003276/3.381, allocations: 114.3 kB / 475.4 MB, free: 29.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.512e-05/3.381, allocations: 3.906 kB / 475.4 MB, free: 29.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/3.381, allocations: 40.28 kB / 475.5 MB, free: 29.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 3.286e-06/3.381, allocations: 0 / 475.5 MB, free: 29.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.0008621/3.382, allocations: 276.7 kB / 475.7 MB, free: 29.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/3.382, allocations: 55.38 kB / 475.8 MB, free: 29.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/3.382, allocations: 165.2 kB / 476 MB, free: 29.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/3.382, allocations: 29.7 kB / 476 MB, free: 29.26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.823e-05/3.382, allocations: 203.5 kB / 476.2 MB, free: 29.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.745e-05/3.382, allocations: 83.8 kB / 476.3 MB, free: 29.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/3.382, allocations: 0 / 476.3 MB, free: 29.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.496e-05/3.382, allocations: 330.4 kB / 476.6 MB, free: 28.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/3.383, allocations: 108.8 kB / 476.7 MB, free: 28.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/3.383, allocations: 137.6 kB / 476.8 MB, free: 28.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003564/3.383, allocations: 137 kB / 477 MB, free: 28.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/3.383, allocations: 0 / 477 MB, free: 28.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008814/3.384, allocations: 327.5 kB / 477.3 MB, free: 28.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/3.384, allocations: 3.906 kB / 477.3 MB, free: 28.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/3.384, allocations: 5.844 kB / 477.3 MB, free: 28.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/3.384, allocations: 0 / 477.3 MB, free: 28.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/3.386, allocations: 133.9 kB / 477.4 MB, free: 28.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001685/3.387, allocations: 3.035 MB / 480.5 MB, free: 25.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004528/3.388, allocations: 25.95 kB / 480.5 MB, free: 25.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.064e-05/3.388, allocations: 19.09 kB / 480.5 MB, free: 25.69 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 31 * 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.0001479/3.388, allocations: 106.1 kB / 480.6 MB, free: 25.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/3.388, allocations: 19.62 kB / 480.6 MB, free: 25.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00215/3.39, allocations: 464.1 kB / 481.1 MB, free: 25.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/3.39, allocations: 7.844 kB / 481.1 MB, free: 25.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/3.39, allocations: 0 / 481.1 MB, free: 25.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/3.39, allocations: 2.016 kB / 481.1 MB, free: 25.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007584/3.391, allocations: 316.4 kB / 481.4 MB, free: 25.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/3.391, allocations: 3.938 kB / 481.4 MB, free: 25.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/3.393, allocations: 122.9 kB / 481.5 MB, free: 25.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-05/3.393, allocations: 0 / 481.5 MB, free: 25.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.312e-05/3.393, allocations: 7.422 kB / 481.5 MB, free: 25.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001929/3.395, allocations: 3.043 MB / 484.6 MB, free: 22.35 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/3.395, allocations: 0 / 484.6 MB, free: 22.35 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001038/3.396, allocations: 403.3 kB / 485 MB, free: 22.2 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001101/3.397, allocations: 0.7742 MB / 485.7 MB, free: 21.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.296e-05/3.397, allocations: 106.4 kB / 485.8 MB, free: 21.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.628e-05/3.397, allocations: 0 / 485.8 MB, free: 21.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004878/3.398, allocations: 11.23 kB / 485.9 MB, free: 21.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/3.398, allocations: 19.88 kB / 485.9 MB, free: 21.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.859e-05/3.398, allocations: 14.77 kB / 485.9 MB, free: 21.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001665/3.398, allocations: 128.1 kB / 486 MB, free: 21.49 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002767/3.401, allocations: 224.1 kB / 486.2 MB, free: 21.43 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 (31): * Single equations (assignments): 26 * 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.00122/3.402, allocations: 283.4 kB / 486.5 MB, free: 21.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001939/3.404, allocations: 338 kB / 486.8 MB, free: 21.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/3.404, allocations: 0 / 486.8 MB, free: 21.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001346/3.405, allocations: 216.6 kB / 487.1 MB, free: 21.26 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/3.406, allocations: 7.844 kB / 487.1 MB, free: 21.26 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/3.408, allocations: 481.9 kB / 487.5 MB, free: 21.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007585/3.409, allocations: 0.8845 MB / 488.4 MB, free: 20.4 MB / 378.7 MB Notification: Performance of SimCode: time 1.333e-06/3.409, allocations: 0 / 488.4 MB, free: 20.4 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat