Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Valve_dp_severalGeometryOverall_DPMFLOW",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.504/2.504, allocations: 235 MB / 242 MB, free: 9.762 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1686/2.673, allocations: 57.23 MB / 299.2 MB, free: 420 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/2.995, allocations: 54.86 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1973/3.193, allocations: 92.87 MB / 447 MB, free: 392 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004284/3.193, allocations: 95.88 kB / 447.1 MB, free: 296 kB / 378.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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.4019/3.595, allocations: 25.09 MB / 472.2 MB, free: 74.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/3.595, allocations: 8 kB / 472.2 MB, free: 74.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006904/3.596, allocations: 177.8 kB / 472.3 MB, free: 73.97 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001812/3.598, allocations: 0.6217 MB / 473 MB, free: 73.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.312e-05/3.598, allocations: 64 kB / 473 MB, free: 73.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003681/3.598, allocations: 112 kB / 473.1 MB, free: 73.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008142/3.606, allocations: 3.28 MB / 476.4 MB, free: 69.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006438/3.613, allocations: 2.393 MB / 478.8 MB, free: 67.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.62e-05/3.613, allocations: 11.84 kB / 478.8 MB, free: 67.42 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002328/3.613, allocations: 4 kB / 478.8 MB, free: 67.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000171/3.613, allocations: 144.4 kB / 479 MB, free: 67.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02016/3.634, allocations: 6.533 MB / 485.5 MB, free: 60.51 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/3.635, allocations: 0.6041 MB / 486.1 MB, free: 59.9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005782/3.636, allocations: 210.7 kB / 486.3 MB, free: 59.69 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001255/3.636, allocations: 32.59 kB / 486.3 MB, free: 59.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/3.636, allocations: 39.22 kB / 486.4 MB, free: 59.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 4.008e-06/3.636, allocations: 0 / 486.4 MB, free: 59.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=63): time 0.001921/3.638, allocations: 0.6236 MB / 487 MB, free: 58.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/3.638, allocations: 60.06 kB / 487.1 MB, free: 58.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00225/3.64, allocations: 1.19 MB / 488.2 MB, free: 57.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001278/3.64, allocations: 25.7 kB / 488.3 MB, free: 57.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000899/3.641, allocations: 1.28 MB / 489.6 MB, free: 56.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005679/3.642, allocations: 264.8 kB / 489.8 MB, free: 56.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002683/3.642, allocations: 0 / 489.8 MB, free: 56.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004245/3.643, allocations: 445.3 kB / 490.2 MB, free: 55.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002689/3.645, allocations: 0.5878 MB / 490.8 MB, free: 55.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005186/3.651, allocations: 2.622 MB / 493.5 MB, free: 51.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00463/3.655, allocations: 1.206 MB / 494.7 MB, free: 50.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-05/3.655, allocations: 24 kB / 494.7 MB, free: 50.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01307/3.669, allocations: 2.708 MB / 497.4 MB, free: 47.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.994e-05/3.669, allocations: 4 kB / 497.4 MB, free: 47.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002122/3.669, allocations: 75.98 kB / 497.5 MB, free: 47.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000335/3.669, allocations: 108 kB / 497.6 MB, free: 47.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005992/3.675, allocations: 0.8739 MB / 498.4 MB, free: 46.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003269/3.679, allocations: 6.086 MB / 0.4927 GB, free: 40.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003748/3.682, allocations: 360.2 kB / 0.4931 GB, free: 39.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005077/3.683, allocations: 212 kB / 0.4933 GB, free: 39.54 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.0006111/3.684, allocations: 312.3 kB / 0.4936 GB, free: 39.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002686/3.684, allocations: 122.4 kB / 0.4937 GB, free: 39.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007686/3.692, allocations: 1.443 MB / 0.4951 GB, free: 37.65 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/3.692, allocations: 8 kB / 0.4951 GB, free: 37.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/3.692, allocations: 3.906 kB / 0.4951 GB, free: 37.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/3.692, allocations: 7.922 kB / 0.4951 GB, free: 37.63 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/3.694, allocations: 0.7825 MB / 0.4959 GB, free: 36.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/3.694, allocations: 0 / 0.4959 GB, free: 36.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002705/3.696, allocations: 319.7 kB / 0.4962 GB, free: 36.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.817e-05/3.696, allocations: 4 kB / 0.4962 GB, free: 36.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/3.696, allocations: 31.97 kB / 0.4962 GB, free: 36.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003164/3.7, allocations: 5.954 MB / 0.502 GB, free: 30.28 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/3.7, allocations: 0 / 0.502 GB, free: 30.28 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002021/3.702, allocations: 0.7753 MB / 0.5028 GB, free: 29.49 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001999/3.704, allocations: 1.174 MB / 0.5039 GB, free: 28.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007012/3.705, allocations: 299.2 kB / 0.5042 GB, free: 27.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003162/3.705, allocations: 0 / 0.5042 GB, free: 27.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009883/3.706, allocations: 31.97 kB / 0.5042 GB, free: 27.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002368/3.706, allocations: 64.56 kB / 0.5043 GB, free: 27.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/3.706, allocations: 35.98 kB / 0.5043 GB, free: 27.85 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.001518/3.708, allocations: 0.7379 MB / 0.5051 GB, free: 27.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004821/3.713, allocations: 427.1 kB / 0.5055 GB, free: 26.69 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.0009461/3.714, allocations: 315.8 kB / 0.5058 GB, free: 26.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005931/3.72, allocations: 1.689 MB / 0.5074 GB, free: 24.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/3.72, allocations: 0 / 0.5074 GB, free: 24.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002853/3.723, allocations: 474.1 kB / 0.5079 GB, free: 24.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006807/3.723, allocations: 72.75 kB / 0.5079 GB, free: 24.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009624/3.733, allocations: 1.983 MB / 0.5099 GB, free: 22.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003687/3.737, allocations: 1.67 MB / 0.5115 GB, free: 20.44 MB / 378.7 MB Notification: Performance of SimCode: time 3.887e-06/3.737, allocations: 4 kB / 0.5115 GB, free: 20.43 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat