Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Valve_dp_severalGeometryOverall_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.365/2.365, allocations: 235 MB / 241.9 MB, free: 9.785 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.182/2.547, allocations: 57.23 MB / 299.2 MB, free: 448 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/2.841, allocations: 54.83 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1903/3.031, allocations: 92.88 MB / 446.9 MB, free: 404 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003983/3.032, allocations: 91.88 kB / 447 MB, free: 312 kB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6536:11-6538:135: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:6547:11-6549:131: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:6584:11-6586:135: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:6595:11-6597:129: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:6529:11-6534:62:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6540:11-6545:61:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6552:11-6557:59:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6564:11-6569:59:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6577:11-6582:61:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6588:11-6593:59:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6559:11-6562:78:writable] Error: Type mismatch in binding opening = opening, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6571:11-6573:134:writable] Error: Type mismatch in binding opening = opening, 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: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.3515/3.383, allocations: 25.09 MB / 472.1 MB, free: 55.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.768e-05/3.383, allocations: 12 kB / 472.1 MB, free: 55.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001354/3.385, allocations: 177.8 kB / 472.2 MB, free: 55.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003149/3.388, allocations: 0.621 MB / 472.9 MB, free: 54.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002582/3.388, allocations: 60 kB / 472.9 MB, free: 54.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000967/3.389, allocations: 112 kB / 473 MB, free: 54.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01226/3.402, allocations: 3.282 MB / 476.3 MB, free: 52.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006009/3.408, allocations: 2.392 MB / 478.7 MB, free: 50.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.397e-05/3.408, allocations: 3.906 kB / 478.7 MB, free: 50.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000206/3.408, allocations: 0 / 478.7 MB, free: 50.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001564/3.408, allocations: 151.2 kB / 478.9 MB, free: 50.1 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02541/3.434, allocations: 6.534 MB / 485.4 MB, free: 44.74 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002024/3.436, allocations: 0.6004 MB / 486 MB, free: 44.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007414/3.436, allocations: 209.6 kB / 486.2 MB, free: 44.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001552/3.437, allocations: 34.61 kB / 486.2 MB, free: 44.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/3.437, allocations: 38.97 kB / 486.3 MB, free: 44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 5.57e-06/3.437, allocations: 0 / 486.3 MB, free: 44 MB / 378.7 MB Notification: Performance of matching and sorting (n=63): time 0.002604/3.439, allocations: 0.6246 MB / 486.9 MB, free: 43.44 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/3.439, allocations: 60.06 kB / 487 MB, free: 43.37 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003585/3.443, allocations: 1.188 MB / 488.1 MB, free: 42.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002119/3.443, allocations: 29.69 kB / 488.2 MB, free: 42.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001371/3.445, allocations: 1.273 MB / 489.4 MB, free: 41.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006918/3.446, allocations: 264.9 kB / 489.7 MB, free: 41.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003029/3.446, allocations: 4 kB / 489.7 MB, free: 41.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003324/3.446, allocations: 443.1 kB / 490.1 MB, free: 40.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002219/3.448, allocations: 0.5888 MB / 490.7 MB, free: 40.17 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004143/3.453, allocations: 2.623 MB / 493.4 MB, free: 36.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003143/3.456, allocations: 1.204 MB / 494.6 MB, free: 35.74 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-05/3.456, allocations: 24 kB / 494.6 MB, free: 35.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.007726/3.464, allocations: 2.71 MB / 497.3 MB, free: 33.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/3.464, allocations: 8 kB / 497.3 MB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.775e-05/3.464, allocations: 79.92 kB / 497.4 MB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001277/3.464, allocations: 108 kB / 497.5 MB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005442/3.47, allocations: 0.8691 MB / 498.3 MB, free: 32.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003136/3.473, allocations: 6.091 MB / 0.4926 GB, free: 26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003502/3.476, allocations: 356.2 kB / 0.493 GB, free: 25.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005199/3.477, allocations: 213.5 kB / 0.4932 GB, free: 25.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 337 * Number of states: 0 () * Number of discrete variables: 35 (dp_IN_con_3[5].valveCoefficient,geometry[5],dp_IN_con_3[4].valveCoefficient,geometry[4],dp_IN_con_3[3].valveCoefficient,geometry[3],dp_IN_con_3[2].valveCoefficient,geometry[2],dp_IN_con_3[1].valveCoefficient,geometry[1],m_flow_IN_con_3[5].valveCoefficient,m_flow_IN_con_3[4].valveCoefficient,m_flow_IN_con_3[3].valveCoefficient,m_flow_IN_con_3[2].valveCoefficient,m_flow_IN_con_3[1].valveCoefficient,dp_IN_con_2[5].valveCoefficient,dp_IN_con_2[4].valveCoefficient,dp_IN_con_2[3].valveCoefficient,dp_IN_con_2[2].valveCoefficient,dp_IN_con_2[1].valveCoefficient,m_flow_IN_con_2[5].valveCoefficient,m_flow_IN_con_2[4].valveCoefficient,m_flow_IN_con_2[3].valveCoefficient,m_flow_IN_con_2[2].valveCoefficient,m_flow_IN_con_2[1].valveCoefficient,dp_IN_con_1[5].valveCoefficient,dp_IN_con_1[4].valveCoefficient,dp_IN_con_1[3].valveCoefficient,dp_IN_con_1[2].valveCoefficient,dp_IN_con_1[1].valveCoefficient,m_flow_IN_con_1[5].valveCoefficient,m_flow_IN_con_1[4].valveCoefficient,m_flow_IN_con_1[3].valveCoefficient,m_flow_IN_con_1[2].valveCoefficient,m_flow_IN_con_1[1].valveCoefficient) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (397): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000543/3.477, allocations: 306.1 kB / 0.4935 GB, free: 25.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002896/3.478, allocations: 122.4 kB / 0.4936 GB, free: 25.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006645/3.484, allocations: 1.448 MB / 0.495 GB, free: 23.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/3.484, allocations: 8 kB / 0.495 GB, free: 23.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/3.484, allocations: 3.906 kB / 0.495 GB, free: 23.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/3.484, allocations: 3.984 kB / 0.495 GB, free: 23.72 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002583/3.487, allocations: 0.7753 MB / 0.4958 GB, free: 23.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/3.487, allocations: 0 / 0.4958 GB, free: 23.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003728/3.491, allocations: 322.1 kB / 0.4961 GB, free: 22.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-05/3.491, allocations: 11.98 kB / 0.4961 GB, free: 22.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001759/3.491, allocations: 27.61 kB / 0.4961 GB, free: 22.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004337/3.496, allocations: 5.953 MB / 0.5019 GB, free: 16.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.024e-05/3.496, allocations: 3.938 kB / 0.5019 GB, free: 16.59 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002917/3.499, allocations: 0.7725 MB / 0.5027 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002693/3.501, allocations: 1.173 MB / 0.5038 GB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009392/3.502, allocations: 296.1 kB / 0.5041 GB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003919/3.503, allocations: 0 / 0.5041 GB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/3.504, allocations: 31.97 kB / 0.5041 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002993/3.504, allocations: 70.8 kB / 0.5042 GB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001746/3.505, allocations: 38.3 kB / 0.5042 GB, free: 14.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.002011/3.507, allocations: 0.7362 MB / 0.505 GB, free: 13.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.007107/3.514, allocations: 428.1 kB / 0.5054 GB, free: 13.41 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 (74): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001262/3.515, allocations: 314 kB / 0.5057 GB, free: 13.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007032/3.522, allocations: 1.685 MB / 0.5073 GB, free: 11.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/3.522, allocations: 4.062 kB / 0.5073 GB, free: 11.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002377/3.525, allocations: 473.9 kB / 0.5078 GB, free: 11.26 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006327/3.525, allocations: 78.11 kB / 0.5078 GB, free: 11.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005471/3.531, allocations: 1.986 MB / 0.5098 GB, free: 9.332 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001876/3.533, allocations: 1.67 MB / 0.5114 GB, free: 7.695 MB / 378.7 MB Notification: Performance of SimCode: time 3.145e-06/3.533, allocations: 0 / 0.5114 GB, free: 7.695 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat