Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_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.357/2.357, allocations: 235 MB / 241.9 MB, free: 9.77 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1734/2.53, allocations: 57.23 MB / 299.2 MB, free: 432 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/2.795, allocations: 54.84 MB / 354 MB, free: 13.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4623/3.257, allocations: 104.4 MB / 458.4 MB, free: 34.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003667/3.257, allocations: 98.64 kB / 458.5 MB, free: 34.58 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4955:11-4956:126:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4977:11-4978:120:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4937:11-4953:48:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4959:11-4975:59:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.1524/3.41, allocations: 28.32 MB / 486.9 MB, free: 28.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/3.41, allocations: 7.906 kB / 486.9 MB, free: 28.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001986/3.41, allocations: 78.25 kB / 486.9 MB, free: 28.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006786/3.411, allocations: 350 kB / 487.3 MB, free: 28.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.55e-05/3.411, allocations: 27.16 kB / 487.3 MB, free: 28.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/3.411, allocations: 42.62 kB / 487.3 MB, free: 28.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002586/3.414, allocations: 1.241 MB / 488.6 MB, free: 28.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002218/3.416, allocations: 1.064 MB / 489.7 MB, free: 28.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.24e-05/3.416, allocations: 7.938 kB / 489.7 MB, free: 28.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/3.416, allocations: 0 / 489.7 MB, free: 28.17 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001355/3.416, allocations: 76.69 kB / 489.7 MB, free: 28.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008289/3.425, allocations: 2.803 MB / 492.5 MB, free: 26.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/3.426, allocations: 353.7 kB / 492.9 MB, free: 26.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004321/3.426, allocations: 126 kB / 493 MB, free: 26.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.577e-05/3.427, allocations: 16.06 kB / 493 MB, free: 26.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/3.427, allocations: 34.78 kB / 493.1 MB, free: 26.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 5.51e-06/3.427, allocations: 0 / 493.1 MB, free: 26.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.001463/3.428, allocations: 323.5 kB / 493.4 MB, free: 26.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/3.428, allocations: 59.25 kB / 493.4 MB, free: 26.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003436/3.429, allocations: 185.8 kB / 493.6 MB, free: 26.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.012e-05/3.429, allocations: 25.7 kB / 493.6 MB, free: 26.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002765/3.429, allocations: 382.1 kB / 494 MB, free: 25.83 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/3.429, allocations: 115.8 kB / 494.1 MB, free: 25.74 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-05/3.429, allocations: 0 / 494.1 MB, free: 25.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/3.429, allocations: 337.7 kB / 494.5 MB, free: 25.42 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004311/3.43, allocations: 127.8 kB / 494.6 MB, free: 25.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006194/3.43, allocations: 317.6 kB / 494.9 MB, free: 25.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006653/3.431, allocations: 188.3 kB / 495.1 MB, free: 25.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.238e-05/3.431, allocations: 7.75 kB / 495.1 MB, free: 25.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001724/3.433, allocations: 477.1 kB / 495.5 MB, free: 24.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/3.433, allocations: 3.969 kB / 495.5 MB, free: 24.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/3.433, allocations: 7.906 kB / 495.6 MB, free: 24.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.499e-05/3.433, allocations: 7.781 kB / 495.6 MB, free: 24.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002326/3.435, allocations: 219.2 kB / 495.8 MB, free: 24.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/3.437, allocations: 3.022 MB / 498.8 MB, free: 21.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006034/3.438, allocations: 46.48 kB / 498.8 MB, free: 21.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-05/3.438, allocations: 34.98 kB / 498.9 MB, free: 21.88 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (roughness,geometry[5],geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * 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.0001781/3.438, allocations: 125.4 kB / 499 MB, free: 21.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.969e-05/3.438, allocations: 31.5 kB / 499 MB, free: 21.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002426/3.441, allocations: 0.6252 MB / 499.7 MB, free: 21.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/3.441, allocations: 3.906 kB / 499.7 MB, free: 21.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/3.441, allocations: 0 / 499.7 MB, free: 21.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/3.441, allocations: 3.984 kB / 499.7 MB, free: 21.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002045/3.443, allocations: 0.974 MB / 0.4889 GB, free: 20.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/3.443, allocations: 3.906 kB / 0.4889 GB, free: 20.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/3.444, allocations: 170.7 kB / 0.4891 GB, free: 20.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-05/3.444, allocations: 7.812 kB / 0.4891 GB, free: 20.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.511e-05/3.444, allocations: 11.7 kB / 0.4891 GB, free: 20.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001375/3.446, allocations: 2.987 MB / 0.492 GB, free: 17.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/3.446, allocations: 3.906 kB / 0.492 GB, free: 17.94 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008162/3.447, allocations: 0.5451 MB / 0.4925 GB, free: 17.54 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008262/3.447, allocations: 0.9243 MB / 0.4934 GB, free: 16.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.671e-05/3.447, allocations: 100.5 kB / 0.4935 GB, free: 16.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.903e-05/3.448, allocations: 7.891 kB / 0.4936 GB, free: 16.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003803/3.448, allocations: 7.812 kB / 0.4936 GB, free: 16.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/3.448, allocations: 42.95 kB / 0.4936 GB, free: 16.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-05/3.448, allocations: 23.58 kB / 0.4936 GB, free: 16.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001155/3.448, allocations: 125.1 kB / 0.4937 GB, free: 16.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00245/3.451, allocations: 374.3 kB / 0.4941 GB, free: 16.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 34 * 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.001081/3.452, allocations: 407.3 kB / 0.4945 GB, free: 16.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001594/3.453, allocations: 425.5 kB / 0.4949 GB, free: 16.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/3.453, allocations: 0 / 0.4949 GB, free: 16.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001112/3.455, allocations: 245.9 kB / 0.4951 GB, free: 16.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/3.455, allocations: 27.14 kB / 0.4952 GB, free: 16.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/3.457, allocations: 0.8153 MB / 0.4959 GB, free: 15.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008375/3.458, allocations: 1.047 MB / 0.497 GB, free: 14.79 MB / 378.7 MB Notification: Performance of SimCode: time 1.663e-06/3.458, allocations: 0 / 0.497 GB, free: 14.79 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat