Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_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.386/2.386, allocations: 235 MB / 241.9 MB, free: 9.801 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1852/2.571, allocations: 57.24 MB / 299.2 MB, free: 460 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/2.865, allocations: 54.85 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4286/3.293, allocations: 96.67 MB / 450.7 MB, free: 33.36 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003393/3.294, allocations: 100.6 kB / 450.8 MB, free: 33.36 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6086:11-6092:61:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6094:11-6097: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:6100:11-6106:59:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6108:11-6111: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.08667/3.38, allocations: 18.05 MB / 468.8 MB, free: 31.51 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/3.38, allocations: 7.875 kB / 468.8 MB, free: 31.51 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/3.381, allocations: 27.38 kB / 468.9 MB, free: 31.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/3.381, allocations: 245.9 kB / 469.1 MB, free: 31.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/3.381, allocations: 7.781 kB / 469.1 MB, free: 31.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.661e-05/3.381, allocations: 15.62 kB / 469.1 MB, free: 31.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008658/3.382, allocations: 418.8 kB / 469.5 MB, free: 31.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007975/3.383, allocations: 403.1 kB / 469.9 MB, free: 31.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/3.383, allocations: 0 / 469.9 MB, free: 31.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.28e-05/3.383, allocations: 4 kB / 469.9 MB, free: 31.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.875e-05/3.383, allocations: 41.27 kB / 470 MB, free: 31.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002841/3.386, allocations: 1.279 MB / 471.3 MB, free: 30.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007148/3.387, allocations: 263.1 kB / 471.5 MB, free: 30.51 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/3.387, allocations: 79.88 kB / 471.6 MB, free: 30.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.88e-05/3.387, allocations: 11.72 kB / 471.6 MB, free: 30.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/3.387, allocations: 41.83 kB / 471.6 MB, free: 30.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 3.536e-06/3.387, allocations: 0 / 471.6 MB, free: 30.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006305/3.388, allocations: 214.7 kB / 471.9 MB, free: 30.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/3.388, allocations: 55.31 kB / 471.9 MB, free: 30.35 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/3.388, allocations: 125.9 kB / 472 MB, free: 30.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/3.388, allocations: 25.7 kB / 472.1 MB, free: 30.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.937e-05/3.388, allocations: 187.8 kB / 472.2 MB, free: 30.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.856e-05/3.388, allocations: 88.27 kB / 472.3 MB, free: 30.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.14e-05/3.388, allocations: 3.938 kB / 472.3 MB, free: 30 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.797e-05/3.388, allocations: 331.5 kB / 472.7 MB, free: 29.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/3.388, allocations: 70.3 kB / 472.7 MB, free: 29.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/3.388, allocations: 153.9 kB / 472.9 MB, free: 29.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/3.389, allocations: 105.7 kB / 473 MB, free: 29.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/3.389, allocations: 0 / 473 MB, free: 29.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006739/3.389, allocations: 268.3 kB / 473.2 MB, free: 29.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/3.389, allocations: 7.812 kB / 473.2 MB, free: 29.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/3.389, allocations: 0 / 473.2 MB, free: 29.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/3.39, allocations: 11.75 kB / 473.3 MB, free: 29.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/3.391, allocations: 132.2 kB / 473.4 MB, free: 29.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/3.392, allocations: 2.386 MB / 475.8 MB, free: 27.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003987/3.392, allocations: 25.25 kB / 475.8 MB, free: 27.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-05/3.392, allocations: 18.5 kB / 475.8 MB, free: 27.15 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.0001305/3.393, allocations: 117.8 kB / 475.9 MB, free: 27.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.336e-05/3.393, allocations: 15.7 kB / 475.9 MB, free: 27.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/3.394, allocations: 376.6 kB / 476.3 MB, free: 26.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/3.394, allocations: 3.875 kB / 476.3 MB, free: 26.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/3.394, allocations: 3.906 kB / 476.3 MB, free: 26.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/3.394, allocations: 5.969 kB / 476.3 MB, free: 26.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004682/3.394, allocations: 272.4 kB / 476.6 MB, free: 26.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/3.395, allocations: 0 / 476.6 MB, free: 26.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/3.396, allocations: 127.5 kB / 476.7 MB, free: 26.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/3.396, allocations: 0 / 476.7 MB, free: 26.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.484e-05/3.396, allocations: 3.906 kB / 476.7 MB, free: 26.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/3.397, allocations: 2.377 MB / 479.1 MB, free: 24.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/3.397, allocations: 0 / 479.1 MB, free: 24.39 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005865/3.397, allocations: 338.6 kB / 479.4 MB, free: 24.24 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006414/3.398, allocations: 0.7104 MB / 480.1 MB, free: 23.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.516e-05/3.398, allocations: 98.67 kB / 480.2 MB, free: 23.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.236e-05/3.398, allocations: 0 / 480.2 MB, free: 23.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003076/3.399, allocations: 9.797 kB / 480.2 MB, free: 23.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.505e-05/3.399, allocations: 23.09 kB / 480.3 MB, free: 23.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.529e-05/3.399, allocations: 17.97 kB / 480.3 MB, free: 23.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.163e-05/3.399, allocations: 99.31 kB / 480.4 MB, free: 23.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002027/3.401, allocations: 266.7 kB / 480.6 MB, free: 23.44 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.001188/3.402, allocations: 390.1 kB / 481 MB, free: 23.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001155/3.403, allocations: 266.4 kB / 481.3 MB, free: 23.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/3.403, allocations: 0 / 481.3 MB, free: 23.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009144/3.404, allocations: 161.3 kB / 481.4 MB, free: 23.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/3.405, allocations: 6.016 kB / 481.4 MB, free: 23.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/3.406, allocations: 392.7 kB / 481.8 MB, free: 23.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004717/3.406, allocations: 0.8399 MB / 482.7 MB, free: 22.38 MB / 378.7 MB Notification: Performance of SimCode: time 1.764e-06/3.406, allocations: 0 / 482.7 MB, free: 22.38 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_overall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat