Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_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.008/2.008, allocations: 209.3 MB / 216.3 MB, free: 6.805 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2173/2.225, allocations: 51.06 MB / 267.3 MB, free: 5.137 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/2.367, allocations: 48.69 MB / 316 MB, free: 4.344 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3551/2.723, allocations: 86.57 MB / 402.6 MB, free: 6.199 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004084/2.723, allocations: 96.62 kB / 402.7 MB, free: 6.141 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1305/2.854, allocations: 25.1 MB / 427.8 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/2.854, allocations: 8 kB / 427.8 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007176/2.854, allocations: 177.8 kB / 427.9 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001917/2.856, allocations: 0.6217 MB / 428.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/2.856, allocations: 64 kB / 428.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003594/2.857, allocations: 108 kB / 428.7 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008459/2.865, allocations: 3.284 MB / 432 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006915/2.872, allocations: 2.393 MB / 434.4 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.632e-05/2.872, allocations: 0 / 434.4 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001934/2.873, allocations: 3.938 kB / 434.4 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002413/2.873, allocations: 156.4 kB / 434.6 MB, free: 9.898 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02092/2.894, allocations: 6.529 MB / 441.1 MB, free: 3.156 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/2.895, allocations: 0.5963 MB / 441.7 MB, free: 2.547 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005876/2.896, allocations: 214.7 kB / 441.9 MB, free: 2.336 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001236/2.896, allocations: 28.61 kB / 441.9 MB, free: 2.309 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/2.896, allocations: 43.22 kB / 442 MB, free: 2.254 MB / 362.7 MB Notification: Performance of pre-optimization done (n=63): time 3.646e-06/2.896, allocations: 0 / 442 MB, free: 2.254 MB / 362.7 MB Notification: Performance of matching and sorting (n=63): time 0.002023/2.898, allocations: 0.6274 MB / 442.6 MB, free: 1.621 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/2.898, allocations: 60.06 kB / 442.7 MB, free: 1.551 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002696/2.901, allocations: 1.193 MB / 443.9 MB, free: 356 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001519/2.901, allocations: 25.7 kB / 443.9 MB, free: 324 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001326/2.903, allocations: 1.268 MB / 445.1 MB, free: 15.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005282/2.903, allocations: 272.7 kB / 445.4 MB, free: 14.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/2.903, allocations: 0 / 445.4 MB, free: 14.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003511/2.904, allocations: 441.3 kB / 445.8 MB, free: 14.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/2.905, allocations: 0.5917 MB / 446.4 MB, free: 13.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003905/2.909, allocations: 2.623 MB / 449.1 MB, free: 10.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003348/2.913, allocations: 1.204 MB / 450.3 MB, free: 8.852 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.334e-05/2.913, allocations: 24 kB / 450.3 MB, free: 8.828 MB / 378.7 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.009553/2.922, allocations: 2.703 MB / 453 MB, free: 6.121 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/2.923, allocations: 8 kB / 453 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001294/2.923, allocations: 72 kB / 453.1 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001794/2.923, allocations: 111.9 kB / 453.2 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005597/2.928, allocations: 0.8777 MB / 454.1 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004944/2.933, allocations: 6.098 MB / 460.2 MB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003418/2.937, allocations: 348.4 kB / 460.5 MB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006301/2.938, allocations: 216 kB / 460.7 MB, free: 14.17 MB / 394.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.0009878/2.939, allocations: 300.4 kB / 461 MB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004777/2.939, allocations: 122.4 kB / 461.1 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01078/2.95, allocations: 1.447 MB / 462.6 MB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.473e-05/2.95, allocations: 8 kB / 462.6 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/2.95, allocations: 0 / 462.6 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.948e-05/2.95, allocations: 3.984 kB / 462.6 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002807/2.953, allocations: 0.7824 MB / 463.4 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/2.953, allocations: 4 kB / 463.4 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003452/2.956, allocations: 319.7 kB / 463.7 MB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-05/2.957, allocations: 8 kB / 463.7 MB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002417/2.957, allocations: 23.98 kB / 463.7 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00645/2.963, allocations: 5.958 MB / 469.7 MB, free: 4.914 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.647e-06/2.963, allocations: 0 / 469.7 MB, free: 4.914 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002682/2.966, allocations: 0.779 MB / 470.4 MB, free: 4.117 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002342/2.968, allocations: 1.17 MB / 471.6 MB, free: 2.926 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008663/2.969, allocations: 299.2 kB / 471.9 MB, free: 2.613 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000304/2.97, allocations: 3.984 kB / 471.9 MB, free: 2.609 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008495/2.971, allocations: 27.98 kB / 471.9 MB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002299/2.971, allocations: 64.56 kB / 472 MB, free: 2.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/2.971, allocations: 39.98 kB / 472 MB, free: 2.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001654/2.973, allocations: 0.734 MB / 472.8 MB, free: 1.742 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004463/2.977, allocations: 435 kB / 473.2 MB, free: 1.316 MB / 394.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.0009713/2.978, allocations: 294.8 kB / 473.5 MB, free: 1.02 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006015/2.984, allocations: 1.69 MB / 475.2 MB, free: 15.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/2.984, allocations: 0 / 475.2 MB, free: 15.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002369/2.987, allocations: 470.1 kB / 475.6 MB, free: 14.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007419/2.987, allocations: 72.75 kB / 475.7 MB, free: 14.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006497/2.994, allocations: 1.988 MB / 477.7 MB, free: 12.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003403/2.997, allocations: 1.67 MB / 479.4 MB, free: 11.08 MB / 410.7 MB Notification: Performance of SimCode: time 1.824e-06/2.997, allocations: 0 / 479.4 MB, free: 11.08 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat