Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_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.363/2.363, allocations: 235.1 MB / 242 MB, free: 9.73 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1476/2.511, allocations: 57.21 MB / 299.2 MB, free: 408 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/2.809, allocations: 54.86 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4445/3.254, allocations: 104.4 MB / 458.5 MB, free: 34.42 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003836/3.254, allocations: 97 kB / 458.6 MB, free: 34.42 MB / 378.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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.1608/3.415, allocations: 28.32 MB / 487 MB, free: 28.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/3.415, allocations: 11.88 kB / 487 MB, free: 28.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002962/3.415, allocations: 74.44 kB / 487 MB, free: 28.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008049/3.416, allocations: 346.8 kB / 487.4 MB, free: 28.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.082e-05/3.416, allocations: 31.25 kB / 487.4 MB, free: 28.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001733/3.417, allocations: 47 kB / 487.5 MB, free: 28.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002904/3.419, allocations: 1.24 MB / 488.7 MB, free: 28.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002512/3.422, allocations: 1.058 MB / 489.8 MB, free: 27.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.541e-05/3.422, allocations: 3.906 kB / 489.8 MB, free: 27.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/3.422, allocations: 0 / 489.8 MB, free: 27.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001067/3.422, allocations: 76.11 kB / 489.8 MB, free: 27.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007707/3.43, allocations: 2.804 MB / 492.6 MB, free: 26.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/3.431, allocations: 358 kB / 493 MB, free: 26.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003028/3.432, allocations: 129.3 kB / 493.1 MB, free: 26.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.931e-05/3.432, allocations: 8.203 kB / 493.1 MB, free: 26.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/3.432, allocations: 38.53 kB / 493.2 MB, free: 26.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 3.316e-06/3.432, allocations: 0 / 493.2 MB, free: 26.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009336/3.433, allocations: 328.8 kB / 493.5 MB, free: 26.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/3.433, allocations: 55.28 kB / 493.5 MB, free: 26.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/3.433, allocations: 178.9 kB / 493.7 MB, free: 25.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/3.433, allocations: 25.7 kB / 493.7 MB, free: 25.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/3.433, allocations: 386.8 kB / 494.1 MB, free: 25.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/3.433, allocations: 117 kB / 494.2 MB, free: 25.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/3.433, allocations: 0 / 494.2 MB, free: 25.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.805e-05/3.433, allocations: 334 kB / 494.6 MB, free: 25.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003197/3.434, allocations: 124.8 kB / 494.7 MB, free: 25.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004364/3.434, allocations: 330.3 kB / 495 MB, free: 24.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004565/3.435, allocations: 184 kB / 495.2 MB, free: 24.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/3.435, allocations: 7.781 kB / 495.2 MB, free: 24.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001337/3.436, allocations: 471.5 kB / 495.6 MB, free: 24.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/3.436, allocations: 7.812 kB / 495.7 MB, free: 24.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/3.436, allocations: 3.906 kB / 495.7 MB, free: 24.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.118e-05/3.436, allocations: 11.72 kB / 495.7 MB, free: 24.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/3.438, allocations: 210.6 kB / 495.9 MB, free: 24.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001716/3.44, allocations: 3.033 MB / 498.9 MB, free: 21.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00068/3.44, allocations: 43.11 kB / 498.9 MB, free: 21.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.302e-05/3.44, allocations: 39.11 kB / 499 MB, free: 21.68 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.0001939/3.441, allocations: 120.6 kB / 499.1 MB, free: 21.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.409e-05/3.441, allocations: 31.22 kB / 499.1 MB, free: 21.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002728/3.443, allocations: 0.6166 MB / 499.8 MB, free: 21.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/3.443, allocations: 7.875 kB / 499.8 MB, free: 21.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/3.443, allocations: 0 / 499.8 MB, free: 21.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/3.443, allocations: 0 / 499.8 MB, free: 21.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002251/3.446, allocations: 0.9761 MB / 0.489 GB, free: 20.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/3.446, allocations: 0 / 0.489 GB, free: 20.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001405/3.447, allocations: 179.8 kB / 0.4892 GB, free: 20.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.39e-05/3.447, allocations: 7.875 kB / 0.4892 GB, free: 20.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-05/3.447, allocations: 7.812 kB / 0.4892 GB, free: 20.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00151/3.449, allocations: 2.991 MB / 0.4921 GB, free: 17.74 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/3.449, allocations: 2.969 kB / 0.4921 GB, free: 17.74 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009165/3.45, allocations: 0.5434 MB / 0.4926 GB, free: 17.34 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009711/3.451, allocations: 0.9314 MB / 0.4935 GB, free: 16.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/3.451, allocations: 104.3 kB / 0.4936 GB, free: 16.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.609e-05/3.451, allocations: 0 / 0.4936 GB, free: 16.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004363/3.452, allocations: 15.7 kB / 0.4937 GB, free: 16.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/3.452, allocations: 35.27 kB / 0.4937 GB, free: 16.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.618e-05/3.452, allocations: 23.06 kB / 0.4937 GB, free: 16.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001363/3.452, allocations: 124.9 kB / 0.4938 GB, free: 16.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002935/3.455, allocations: 372.2 kB / 0.4942 GB, free: 16.21 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.001601/3.456, allocations: 422 kB / 0.4946 GB, free: 15.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001884/3.458, allocations: 426.5 kB / 0.495 GB, free: 15.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/3.458, allocations: 0 / 0.495 GB, free: 15.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001259/3.46, allocations: 244.2 kB / 0.4952 GB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004274/3.46, allocations: 26.61 kB / 0.4953 GB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/3.463, allocations: 0.8166 MB / 0.4961 GB, free: 15.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009156/3.464, allocations: 1.048 MB / 0.4971 GB, free: 14.58 MB / 378.7 MB Notification: Performance of SimCode: time 1.293e-06/3.464, allocations: 4 kB / 0.4971 GB, free: 14.57 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.Channel.dp_internalFlowOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat