Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_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/2, allocations: 209.3 MB / 216.3 MB, free: 4.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1591/2.159, allocations: 51.06 MB / 267.3 MB, free: 1.23 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/2.431, allocations: 48.7 MB / 316 MB, free: 13.43 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2045/2.635, allocations: 89.17 MB / 405.2 MB, free: 7.855 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004188/2.636, allocations: 91.94 kB / 405.3 MB, free: 7.766 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1/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.1/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.1/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.1372/2.773, allocations: 22.67 MB / 428 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/2.773, allocations: 8 kB / 428 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/2.773, allocations: 35.62 kB / 428 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005408/2.774, allocations: 278.4 kB / 428.3 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/2.774, allocations: 19.89 kB / 428.3 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.969e-05/2.774, allocations: 16 kB / 428.3 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001116/2.775, allocations: 453.5 kB / 428.7 MB, free: 72 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/2.776, allocations: 447.3 kB / 429.2 MB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/2.776, allocations: 3.938 kB / 429.2 MB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.421e-05/2.776, allocations: 0 / 429.2 MB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.021e-05/2.777, allocations: 40.97 kB / 429.2 MB, free: 15.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003311/2.78, allocations: 1.234 MB / 430.5 MB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/2.781, allocations: 361.5 kB / 430.8 MB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/2.782, allocations: 113.2 kB / 430.9 MB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.771e-05/2.782, allocations: 11.92 kB / 430.9 MB, free: 13.76 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/2.782, allocations: 38.56 kB / 431 MB, free: 13.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 3.256e-06/2.782, allocations: 0 / 431 MB, free: 13.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.000915/2.783, allocations: 273.3 kB / 431.2 MB, free: 13.44 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/2.783, allocations: 55.34 kB / 431.3 MB, free: 13.37 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/2.783, allocations: 169.2 kB / 431.5 MB, free: 13.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/2.783, allocations: 25.7 kB / 431.5 MB, free: 13.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/2.783, allocations: 200 kB / 431.7 MB, free: 12.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/2.783, allocations: 94.59 kB / 431.8 MB, free: 12.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.583e-05/2.783, allocations: 0 / 431.8 MB, free: 12.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/2.783, allocations: 330.8 kB / 432.1 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/2.784, allocations: 99.94 kB / 432.2 MB, free: 12.44 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003474/2.784, allocations: 146.7 kB / 432.3 MB, free: 12.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004067/2.785, allocations: 137.2 kB / 432.5 MB, free: 12.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/2.785, allocations: 0 / 432.5 MB, free: 12.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009665/2.786, allocations: 327.4 kB / 432.8 MB, free: 11.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/2.786, allocations: 4 kB / 432.8 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/2.786, allocations: 0 / 432.8 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/2.786, allocations: 4 kB / 432.8 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/2.787, allocations: 127.9 kB / 432.9 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002506/2.789, allocations: 3.032 MB / 436 MB, free: 8.547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007158/2.79, allocations: 31.83 kB / 436 MB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/2.79, allocations: 15.98 kB / 436 MB, free: 8.5 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.0002233/2.791, allocations: 108.9 kB / 436.1 MB, free: 8.387 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/2.791, allocations: 23.66 kB / 436.1 MB, free: 8.363 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002732/2.793, allocations: 457.6 kB / 436.6 MB, free: 7.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/2.794, allocations: 0 / 436.6 MB, free: 7.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.604e-05/2.794, allocations: 4 kB / 436.6 MB, free: 7.906 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/2.794, allocations: 3.906 kB / 436.6 MB, free: 7.902 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/2.795, allocations: 313.9 kB / 436.9 MB, free: 7.559 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/2.795, allocations: 0 / 436.9 MB, free: 7.559 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0018/2.797, allocations: 119.8 kB / 437 MB, free: 7.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.576e-05/2.797, allocations: 0 / 437 MB, free: 7.441 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.212e-05/2.797, allocations: 11.98 kB / 437 MB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003691/2.801, allocations: 3.036 MB / 440.1 MB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.114e-05/2.801, allocations: 0 / 440.1 MB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001465/2.802, allocations: 411.3 kB / 440.5 MB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001471/2.804, allocations: 0.7806 MB / 441.2 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/2.804, allocations: 96.84 kB / 441.3 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.72e-05/2.804, allocations: 0 / 441.3 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005527/2.804, allocations: 11.98 kB / 441.3 MB, free: 2.934 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/2.805, allocations: 27.95 kB / 441.4 MB, free: 2.906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.92e-05/2.805, allocations: 8 kB / 441.4 MB, free: 2.898 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002275/2.805, allocations: 132.3 kB / 441.5 MB, free: 2.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002981/2.808, allocations: 223.3 kB / 441.7 MB, free: 2.551 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.001532/2.809, allocations: 282.7 kB / 442 MB, free: 2.262 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00248/2.812, allocations: 344.2 kB / 442.3 MB, free: 1.926 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/2.812, allocations: 0 / 442.3 MB, free: 1.926 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001803/2.814, allocations: 215.7 kB / 442.6 MB, free: 1.715 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005316/2.814, allocations: 16.02 kB / 442.6 MB, free: 1.699 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/2.817, allocations: 473.5 kB / 443 MB, free: 1.211 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/2.818, allocations: 0.8878 MB / 443.9 MB, free: 304 kB / 378.7 MB Notification: Performance of SimCode: time 5.791e-06/2.818, allocations: 4 kB / 443.9 MB, free: 300 kB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat