Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_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.539/2.539, allocations: 235 MB / 242 MB, free: 9.758 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1857/2.725, allocations: 57.22 MB / 299.2 MB, free: 420 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/3.011, allocations: 54.85 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1976/3.209, allocations: 92.22 MB / 446.3 MB, free: 1.047 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004353/3.209, allocations: 99.92 kB / 446.4 MB, free: 0.9492 MB / 378.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4809:11-4812:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4822:11-4825:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.3352/3.544, allocations: 15.3 MB / 461.7 MB, free: 84.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/3.545, allocations: 11.94 kB / 461.7 MB, free: 84.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.759e-05/3.545, allocations: 27.62 kB / 461.7 MB, free: 84.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003744/3.545, allocations: 235.7 kB / 462 MB, free: 83.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/3.545, allocations: 8 kB / 462 MB, free: 83.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.198e-05/3.545, allocations: 12 kB / 462 MB, free: 83.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007825/3.546, allocations: 325 kB / 462.3 MB, free: 83.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007537/3.547, allocations: 327.9 kB / 462.6 MB, free: 83.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/3.547, allocations: 3.984 kB / 462.6 MB, free: 83.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.886e-05/3.547, allocations: 0 / 462.6 MB, free: 83.17 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-05/3.547, allocations: 32.64 kB / 462.7 MB, free: 83.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002459/3.549, allocations: 0.9703 MB / 463.6 MB, free: 82.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008907/3.55, allocations: 250.8 kB / 463.9 MB, free: 81.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/3.551, allocations: 81.19 kB / 464 MB, free: 81.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.95e-05/3.551, allocations: 9.969 kB / 464 MB, free: 81.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/3.551, allocations: 42.59 kB / 464 MB, free: 81.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 4.128e-06/3.551, allocations: 0 / 464 MB, free: 81.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007053/3.551, allocations: 212.2 kB / 464.2 MB, free: 81.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/3.552, allocations: 51.41 kB / 464.3 MB, free: 81.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/3.552, allocations: 113 kB / 464.4 MB, free: 81.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/3.552, allocations: 25.7 kB / 464.4 MB, free: 81.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.012e-05/3.552, allocations: 156.1 kB / 464.6 MB, free: 81.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.478e-05/3.552, allocations: 78.84 kB / 464.6 MB, free: 81.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.101e-05/3.552, allocations: 0 / 464.6 MB, free: 81.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.023e-05/3.552, allocations: 322.8 kB / 465 MB, free: 80.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/3.552, allocations: 67.97 kB / 465 MB, free: 80.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/3.552, allocations: 94.38 kB / 465.1 MB, free: 80.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002426/3.553, allocations: 81.19 kB / 465.2 MB, free: 80.47 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/3.553, allocations: 4 kB / 465.2 MB, free: 80.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006385/3.553, allocations: 214.5 kB / 465.4 MB, free: 80.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/3.553, allocations: 8 kB / 465.4 MB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/3.553, allocations: 64 / 465.4 MB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/3.553, allocations: 4 kB / 465.4 MB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009501/3.554, allocations: 95.86 kB / 465.5 MB, free: 80.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/3.556, allocations: 2.407 MB / 467.9 MB, free: 77.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003701/3.556, allocations: 19.94 kB / 467.9 MB, free: 77.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-05/3.556, allocations: 15.98 kB / 467.9 MB, free: 77.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001174/3.556, allocations: 104.9 kB / 468.1 MB, free: 77.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.096e-05/3.556, allocations: 15.81 kB / 468.1 MB, free: 77.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/3.558, allocations: 345.9 kB / 468.4 MB, free: 77.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/3.558, allocations: 0 / 468.4 MB, free: 77.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/3.558, allocations: 0 / 468.4 MB, free: 77.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/3.558, allocations: 7.984 kB / 468.4 MB, free: 77.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007703/3.559, allocations: 272.2 kB / 468.7 MB, free: 76.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/3.559, allocations: 0 / 468.7 MB, free: 76.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/3.56, allocations: 87.92 kB / 468.8 MB, free: 76.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-05/3.56, allocations: 0 / 468.8 MB, free: 76.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.928e-05/3.56, allocations: 7.984 kB / 468.8 MB, free: 76.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002053/3.562, allocations: 2.41 MB / 471.2 MB, free: 74.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.787e-06/3.562, allocations: 0 / 471.2 MB, free: 74.24 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009535/3.563, allocations: 331.9 kB / 471.5 MB, free: 73.9 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001132/3.564, allocations: 0.6916 MB / 472.2 MB, free: 73.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002529/3.565, allocations: 124.8 kB / 472.3 MB, free: 73.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.268e-05/3.565, allocations: 0 / 472.3 MB, free: 73.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000493/3.565, allocations: 11.98 kB / 472.3 MB, free: 73.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/3.566, allocations: 19.91 kB / 472.4 MB, free: 73.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.448e-05/3.566, allocations: 15.98 kB / 472.4 MB, free: 73 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001062/3.566, allocations: 93.95 kB / 472.5 MB, free: 72.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003132/3.569, allocations: 195.4 kB / 472.7 MB, free: 72.72 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001349/3.57, allocations: 248.9 kB / 472.9 MB, free: 72.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001835/3.572, allocations: 235.8 kB / 473.1 MB, free: 72.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/3.572, allocations: 0 / 473.1 MB, free: 72.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001252/3.574, allocations: 163.8 kB / 473.3 MB, free: 72.08 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004646/3.574, allocations: 14.28 kB / 473.3 MB, free: 72.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/3.576, allocations: 361.6 kB / 473.7 MB, free: 71.69 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005669/3.577, allocations: 0.829 MB / 474.5 MB, free: 70.83 MB / 378.7 MB Notification: Performance of SimCode: time 1.313e-06/3.577, allocations: 0 / 474.5 MB, free: 70.83 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.Bend.dp_edgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat