Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_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.322/2.321, allocations: 234.9 MB / 241.9 MB, free: 9.777 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2082/2.53, allocations: 57.23 MB / 299.2 MB, free: 440 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/2.813, allocations: 54.84 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1725/2.985, allocations: 83.61 MB / 437.6 MB, free: 9.715 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003746/2.986, allocations: 103.9 kB / 437.7 MB, free: 9.613 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2/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.03124/3.017, allocations: 6.074 MB / 443.8 MB, free: 3.469 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/3.017, allocations: 8 kB / 443.8 MB, free: 3.461 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008448/3.018, allocations: 75.7 kB / 443.9 MB, free: 3.387 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/3.018, allocations: 222.8 kB / 444.1 MB, free: 3.129 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/3.018, allocations: 4 kB / 444.1 MB, free: 3.125 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.267e-05/3.018, allocations: 15.94 kB / 444.1 MB, free: 3.109 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006846/3.019, allocations: 239.8 kB / 444.3 MB, free: 2.875 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006116/3.02, allocations: 241.5 kB / 444.6 MB, free: 2.633 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/3.02, allocations: 0 / 444.6 MB, free: 2.633 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.723e-05/3.02, allocations: 0 / 444.6 MB, free: 2.633 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.988e-05/3.02, allocations: 23.98 kB / 444.6 MB, free: 2.609 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002172/3.022, allocations: 0.7562 MB / 445.4 MB, free: 1.773 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004988/3.022, allocations: 171.2 kB / 445.5 MB, free: 1.598 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/3.023, allocations: 56.86 kB / 445.6 MB, free: 1.539 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.006e-05/3.023, allocations: 15.91 kB / 445.6 MB, free: 1.523 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/3.023, allocations: 30.56 kB / 445.6 MB, free: 1.484 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 3.176e-06/3.023, allocations: 0 / 445.6 MB, free: 1.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006578/3.023, allocations: 169.7 kB / 445.8 MB, free: 1.312 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/3.023, allocations: 51.41 kB / 445.8 MB, free: 1.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/3.024, allocations: 130.4 kB / 446 MB, free: 1.117 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/3.024, allocations: 25.7 kB / 446 MB, free: 1.086 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/3.024, allocations: 135.8 kB / 446.1 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.276e-05/3.024, allocations: 31.56 kB / 446.2 MB, free: 0.918 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.182e-05/3.024, allocations: 0 / 446.2 MB, free: 0.918 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/3.024, allocations: 322.7 kB / 446.5 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/3.024, allocations: 63.94 kB / 446.5 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/3.025, allocations: 108.4 kB / 446.6 MB, free: 412 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/3.025, allocations: 75.88 kB / 446.7 MB, free: 336 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.355e-06/3.025, allocations: 7.984 kB / 446.7 MB, free: 328 kB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000658/3.025, allocations: 201.3 kB / 446.9 MB, free: 120 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/3.026, allocations: 8 kB / 446.9 MB, free: 112 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/3.026, allocations: 0 / 446.9 MB, free: 112 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/3.026, allocations: 4 kB / 446.9 MB, free: 108 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008528/3.026, allocations: 80.08 kB / 447 MB, free: 28 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1636/3.19, allocations: 1.806 MB / 448.8 MB, free: 130.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006362/3.191, allocations: 22.53 kB / 448.8 MB, free: 130.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.519e-05/3.191, allocations: 17.95 kB / 448.8 MB, free: 130.8 MB / 378.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.0001745/3.191, allocations: 114.8 kB / 449 MB, free: 130.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/3.191, allocations: 13.53 kB / 449 MB, free: 130.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002358/3.194, allocations: 298.1 kB / 449.3 MB, free: 130.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/3.194, allocations: 3.156 kB / 449.3 MB, free: 130.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/3.194, allocations: 3.75 kB / 449.3 MB, free: 130.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/3.194, allocations: 0 / 449.3 MB, free: 130.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000579/3.194, allocations: 201.7 kB / 449.5 MB, free: 130.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/3.194, allocations: 3.156 kB / 449.5 MB, free: 130.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008654/3.195, allocations: 56.75 kB / 449.5 MB, free: 130.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/3.195, allocations: 3.562 kB / 449.5 MB, free: 130.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.974e-05/3.195, allocations: 2.188 kB / 449.5 MB, free: 130.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/3.197, allocations: 1.801 MB / 451.3 MB, free: 128.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.106e-06/3.197, allocations: 0 / 451.3 MB, free: 128.8 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006089/3.197, allocations: 226.2 kB / 451.6 MB, free: 128.7 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005911/3.198, allocations: 0.5907 MB / 452.1 MB, free: 128.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.821e-05/3.198, allocations: 95.58 kB / 452.2 MB, free: 128.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.83e-05/3.198, allocations: 3.906 kB / 452.2 MB, free: 128 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004633/3.199, allocations: 11.62 kB / 452.3 MB, free: 128 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.592e-05/3.199, allocations: 7.562 kB / 452.3 MB, free: 128 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.549e-05/3.199, allocations: 7.75 kB / 452.3 MB, free: 128 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.000145/3.199, allocations: 111.8 kB / 452.4 MB, free: 128 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001719/3.201, allocations: 61.39 kB / 452.4 MB, free: 128 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 (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.0003653/3.201, allocations: 148.3 kB / 452.6 MB, free: 127.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000884/3.202, allocations: 168.5 kB / 452.7 MB, free: 127.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/3.202, allocations: 0 / 452.7 MB, free: 127.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005336/3.203, allocations: 85.02 kB / 452.8 MB, free: 127.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/3.203, allocations: 15.75 kB / 452.8 MB, free: 127.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/3.204, allocations: 248.3 kB / 453.1 MB, free: 127.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000403/3.204, allocations: 0.7867 MB / 453.9 MB, free: 127.1 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/3.205, allocations: 3.812 kB / 453.9 MB, free: 127.1 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat does not exist to compare? outputFormat=mat