Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_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.289/2.289, allocations: 235 MB / 241.9 MB, free: 9.777 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2/2.489, allocations: 57.24 MB / 299.2 MB, free: 432 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/2.801, allocations: 54.84 MB / 354 MB, free: 13.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1782/2.98, allocations: 84.3 MB / 438.3 MB, free: 9 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003689/2.98, allocations: 99.88 kB / 438.4 MB, free: 8.902 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5968:11-5971:69:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5973:11-5976:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5979:11-5982:67:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5984:11-5987:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.01771/2.998, allocations: 3.501 MB / 441.9 MB, free: 5.336 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/2.998, allocations: 8 kB / 441.9 MB, free: 5.328 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004974/2.998, allocations: 35.86 kB / 441.9 MB, free: 5.293 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/2.999, allocations: 190.9 kB / 442.1 MB, free: 5.066 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/2.999, allocations: 7.906 kB / 442.1 MB, free: 5.059 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/2.999, allocations: 4 kB / 442.1 MB, free: 5.055 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003384/2.999, allocations: 99.95 kB / 442.2 MB, free: 4.957 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/2.999, allocations: 152 kB / 442.4 MB, free: 4.793 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/2.999, allocations: 3.938 kB / 442.4 MB, free: 4.789 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/3, allocations: 0 / 442.4 MB, free: 4.789 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.895e-05/3, allocations: 11.98 kB / 442.4 MB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/3.001, allocations: 0.6216 MB / 443 MB, free: 4.098 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004089/3.001, allocations: 86.7 kB / 443.1 MB, free: 4.004 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.36e-05/3.001, allocations: 24.86 kB / 443.1 MB, free: 3.977 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/3.001, allocations: 0 / 443.1 MB, free: 3.977 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/3.002, allocations: 38.56 kB / 443.2 MB, free: 3.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.853e-06/3.002, allocations: 3.938 kB / 443.2 MB, free: 3.926 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003129/3.002, allocations: 77.58 kB / 443.2 MB, free: 3.844 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/3.002, allocations: 55.41 kB / 443.3 MB, free: 3.777 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/3.002, allocations: 109.1 kB / 443.4 MB, free: 3.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/3.002, allocations: 29.7 kB / 443.4 MB, free: 3.625 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.643e-05/3.002, allocations: 119.9 kB / 443.6 MB, free: 3.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/3.002, allocations: 27.56 kB / 443.6 MB, free: 3.473 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.197e-06/3.002, allocations: 4 kB / 443.6 MB, free: 3.469 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/3.002, allocations: 318.8 kB / 443.9 MB, free: 3.148 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.53e-05/3.002, allocations: 24 kB / 443.9 MB, free: 3.125 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/3.003, allocations: 80.58 kB / 444 MB, free: 3.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/3.003, allocations: 35.97 kB / 444 MB, free: 2.984 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/3.003, allocations: 0 / 444 MB, free: 2.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003074/3.003, allocations: 121.8 kB / 444.2 MB, free: 2.859 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/3.003, allocations: 15.94 kB / 444.2 MB, free: 2.844 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/3.003, allocations: 0 / 444.2 MB, free: 2.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/3.003, allocations: 4 kB / 444.2 MB, free: 2.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003874/3.004, allocations: 43.91 kB / 444.2 MB, free: 2.797 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/3.004, allocations: 4 kB / 444.2 MB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/3.004, allocations: 19.89 kB / 444.2 MB, free: 2.773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/3.004, allocations: 12 kB / 444.2 MB, free: 2.762 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.437e-05/3.004, allocations: 108.9 kB / 444.4 MB, free: 2.648 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.496e-05/3.004, allocations: 7.906 kB / 444.4 MB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002983/3.004, allocations: 94.03 kB / 444.5 MB, free: 2.543 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/3.004, allocations: 7.906 kB / 444.5 MB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/3.004, allocations: 4 kB / 444.5 MB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/3.004, allocations: 3.984 kB / 444.5 MB, free: 2.527 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002642/3.005, allocations: 162.2 kB / 444.6 MB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/3.005, allocations: 3.984 kB / 444.6 MB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002761/3.005, allocations: 31.92 kB / 444.7 MB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/3.005, allocations: 0 / 444.7 MB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/3.005, allocations: 7.906 kB / 444.7 MB, free: 2.289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/3.005, allocations: 4 kB / 444.7 MB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/3.005, allocations: 0 / 444.7 MB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000252/3.005, allocations: 179.4 kB / 444.9 MB, free: 2.094 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004339/3.006, allocations: 0.5587 MB / 445.4 MB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/3.006, allocations: 81.02 kB / 445.5 MB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/3.006, allocations: 0 / 445.5 MB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/3.006, allocations: 15.89 kB / 445.5 MB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.723e-05/3.006, allocations: 11.97 kB / 445.5 MB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/3.006, allocations: 0 / 445.5 MB, free: 1.391 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.737e-05/3.006, allocations: 95.78 kB / 445.6 MB, free: 1.297 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001252/3.007, allocations: 20 kB / 445.6 MB, free: 1.277 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002422/3.008, allocations: 135.1 kB / 445.8 MB, free: 1.133 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002553/3.008, allocations: 67.92 kB / 445.8 MB, free: 1.066 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/3.008, allocations: 0 / 445.8 MB, free: 1.066 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.68e-05/3.008, allocations: 31.92 kB / 445.9 MB, free: 1.035 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/3.008, allocations: 9.156 kB / 445.9 MB, free: 1.027 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005262/3.009, allocations: 139.4 kB / 446 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004532/3.009, allocations: 0.727 MB / 446.7 MB, free: 120 kB / 378.7 MB Notification: Performance of SimCode: time 1.313e-06/3.009, allocations: 4 kB / 446.7 MB, free: 116 kB / 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_laminar_DPMFLOW_res.mat does not exist to compare? outputFormat=mat