Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_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.029/2.029, allocations: 209.3 MB / 216.3 MB, free: 6.789 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2749/2.303, allocations: 51.05 MB / 267.3 MB, free: 5.117 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/2.423, allocations: 48.7 MB / 316 MB, free: 4.324 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3414/2.765, allocations: 77.4 MB / 393.4 MB, free: 15.3 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003637/2.765, allocations: 97.31 kB / 393.5 MB, free: 15.25 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5587:11-5590:61:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5598:11-5601:59:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.03037/2.796, allocations: 6.063 MB / 399.6 MB, free: 10.1 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/2.796, allocations: 16 kB / 399.6 MB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008579/2.797, allocations: 75.33 kB / 399.7 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003548/2.797, allocations: 221.9 kB / 399.9 MB, free: 9.762 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/2.797, allocations: 8 kB / 399.9 MB, free: 9.754 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.622e-05/2.797, allocations: 8 kB / 399.9 MB, free: 9.746 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006396/2.798, allocations: 239.8 kB / 400.1 MB, free: 9.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005837/2.798, allocations: 248.1 kB / 400.4 MB, free: 9.363 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/2.798, allocations: 3.984 kB / 400.4 MB, free: 9.359 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.503e-05/2.798, allocations: 7.938 kB / 400.4 MB, free: 9.352 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.041e-05/2.799, allocations: 15.98 kB / 400.4 MB, free: 9.336 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/2.801, allocations: 0.7519 MB / 401.1 MB, free: 8.562 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004744/2.801, allocations: 166 kB / 401.3 MB, free: 8.406 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/2.801, allocations: 64.25 kB / 401.4 MB, free: 8.348 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.727e-05/2.801, allocations: 7.938 kB / 401.4 MB, free: 8.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/2.801, allocations: 30.56 kB / 401.4 MB, free: 8.301 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.655e-06/2.801, allocations: 3.938 kB / 401.4 MB, free: 8.297 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006117/2.802, allocations: 159.8 kB / 401.6 MB, free: 8.145 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/2.802, allocations: 55.34 kB / 401.6 MB, free: 8.078 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/2.802, allocations: 129.2 kB / 401.8 MB, free: 7.957 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/2.802, allocations: 25.7 kB / 401.8 MB, free: 7.926 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.984e-05/2.802, allocations: 142.4 kB / 401.9 MB, free: 7.789 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/2.802, allocations: 39.11 kB / 402 MB, free: 7.758 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.077e-05/2.802, allocations: 0 / 402 MB, free: 7.758 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/2.803, allocations: 321.7 kB / 402.3 MB, free: 7.438 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/2.803, allocations: 55.5 kB / 402.3 MB, free: 7.391 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/2.803, allocations: 105.6 kB / 402.4 MB, free: 7.273 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003601/2.803, allocations: 81.8 kB / 402.5 MB, free: 7.199 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/2.803, allocations: 0 / 402.5 MB, free: 7.199 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009226/2.804, allocations: 206.4 kB / 402.7 MB, free: 7.008 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/2.804, allocations: 8.031 kB / 402.7 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/2.804, allocations: 0 / 402.7 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/2.804, allocations: 4 kB / 402.7 MB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008594/2.805, allocations: 83.84 kB / 402.8 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/2.807, allocations: 1.8 MB / 404.6 MB, free: 5.059 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003885/2.807, allocations: 28.14 kB / 404.6 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.693e-05/2.807, allocations: 15.92 kB / 404.6 MB, free: 5.016 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001453/2.807, allocations: 116.8 kB / 404.8 MB, free: 4.895 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.469e-05/2.808, allocations: 7.906 kB / 404.8 MB, free: 4.887 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001779/2.809, allocations: 296.5 kB / 405.1 MB, free: 4.621 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/2.809, allocations: 0 / 405.1 MB, free: 4.621 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/2.809, allocations: 0 / 405.1 MB, free: 4.621 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/2.809, allocations: 0 / 405.1 MB, free: 4.621 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006559/2.81, allocations: 211.5 kB / 405.3 MB, free: 4.395 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/2.81, allocations: 0 / 405.3 MB, free: 4.395 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009497/2.811, allocations: 59.95 kB / 405.3 MB, free: 4.336 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/2.811, allocations: 3.938 kB / 405.3 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.755e-05/2.811, allocations: 4 kB / 405.3 MB, free: 4.328 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002496/2.814, allocations: 1.805 MB / 407.1 MB, free: 2.469 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.019e-05/2.814, allocations: 0 / 407.1 MB, free: 2.469 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008411/2.815, allocations: 227.2 kB / 407.4 MB, free: 2.246 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001015/2.816, allocations: 0.598 MB / 408 MB, free: 1.648 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/2.816, allocations: 88.95 kB / 408 MB, free: 1.543 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.272e-05/2.816, allocations: 3.984 kB / 408 MB, free: 1.539 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006069/2.817, allocations: 19.91 kB / 408.1 MB, free: 1.52 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/2.817, allocations: 7.984 kB / 408.1 MB, free: 1.512 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-05/2.817, allocations: 4 kB / 408.1 MB, free: 1.508 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0002292/2.817, allocations: 118.6 kB / 408.2 MB, free: 1.402 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002693/2.82, allocations: 63.03 kB / 408.3 MB, free: 1.344 MB / 330.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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007068/2.821, allocations: 154.4 kB / 408.4 MB, free: 1.188 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001398/2.822, allocations: 159.2 kB / 408.6 MB, free: 1.047 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/2.822, allocations: 0 / 408.6 MB, free: 1.047 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008244/2.823, allocations: 86.81 kB / 408.6 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/2.823, allocations: 12.25 kB / 408.7 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/2.825, allocations: 246 kB / 408.9 MB, free: 0.707 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007889/2.826, allocations: 0.7787 MB / 409.7 MB, free: 15.91 MB / 346.7 MB Notification: Performance of SimCode: time 4.158e-06/2.826, allocations: 0 / 409.7 MB, free: 15.91 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat does not exist to compare? outputFormat=mat