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"}) Notification: Performance of loadModel(ModelicaTest): time 2.754/2.754, allocations: 235.2 MB / 242.3 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.329e-05/2.338e-05, allocations: 0 / 299.6 MB, free: 192 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3797, allocations: 54.85 MB / 354.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2079/0.5877, allocations: 92.27 MB / 446.7 MB, free: 2.789 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000421/0.5882, allocations: 103.9 kB / 446.8 MB, free: 2.688 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: Performance of FrontEnd - DAE generated: time 0.09088/0.6791, allocations: 14.98 MB / 461.8 MB, free: 3.609 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.6791, allocations: 0 / 461.8 MB, free: 3.609 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.857e-05/0.6792, allocations: 8 kB / 461.8 MB, free: 3.602 MB / 394.7 MB 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.001365/0.6805, allocations: 0.5528 MB / 462.4 MB, free: 3.004 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/0.6806, allocations: 12.03 kB / 462.4 MB, free: 2.992 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.528e-05/0.6807, allocations: 31.62 kB / 462.4 MB, free: 2.961 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004367/0.6812, allocations: 230.7 kB / 462.6 MB, free: 2.695 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.6812, allocations: 11.94 kB / 462.6 MB, free: 2.684 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.545e-05/0.6813, allocations: 12 kB / 462.7 MB, free: 2.672 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008586/0.6821, allocations: 313.2 kB / 463 MB, free: 2.367 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008323/0.683, allocations: 316.9 kB / 463.3 MB, free: 2.051 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.683, allocations: 0 / 463.3 MB, free: 2.051 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.934e-05/0.6831, allocations: 3.984 kB / 463.3 MB, free: 2.047 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.878e-05/0.6832, allocations: 32.77 kB / 463.3 MB, free: 2.016 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002583/0.6858, allocations: 0.961 MB / 464.3 MB, free: 0.9648 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009111/0.6867, allocations: 250.8 kB / 464.5 MB, free: 0.7109 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/0.687, allocations: 78.31 kB / 464.6 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.459e-05/0.687, allocations: 8.25 kB / 464.6 MB, free: 0.625 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.6871, allocations: 38.69 kB / 464.6 MB, free: 0.5781 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 3.958e-06/0.6871, allocations: 4 kB / 464.6 MB, free: 0.5742 MB / 394.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007122/0.6878, allocations: 201.5 kB / 464.8 MB, free: 384 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.6879, allocations: 51.41 kB / 464.9 MB, free: 320 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.688, allocations: 115 kB / 465 MB, free: 200 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.6881, allocations: 25.7 kB / 465 MB, free: 168 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.6882, allocations: 160.1 kB / 465.2 MB, free: 4 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.3532/1.041, allocations: 69.03 kB / 465.3 MB, free: 99.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/1.041, allocations: 3.844 kB / 465.3 MB, free: 99.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.628e-05/1.042, allocations: 327.2 kB / 465.6 MB, free: 99.6 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/1.042, allocations: 61.03 kB / 465.6 MB, free: 99.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/1.042, allocations: 90.7 kB / 465.7 MB, free: 99.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/1.042, allocations: 77.17 kB / 465.8 MB, free: 99.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/1.042, allocations: 0 / 465.8 MB, free: 99.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007218/1.043, allocations: 212 kB / 466 MB, free: 99.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/1.043, allocations: 9.344 kB / 466 MB, free: 99.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.043, allocations: 1.031 kB / 466 MB, free: 99.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/1.043, allocations: 2.953 kB / 466 MB, free: 99.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/1.044, allocations: 90.12 kB / 466.1 MB, free: 99.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/1.046, allocations: 2.393 MB / 468.5 MB, free: 97.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003097/1.046, allocations: 17.97 kB / 468.5 MB, free: 97.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.908e-05/1.046, allocations: 10.98 kB / 468.5 MB, free: 97.19 MB / 394.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.0001122/1.046, allocations: 111.1 kB / 468.6 MB, free: 97.09 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006715/1.047, allocations: 202.9 kB / 468.8 MB, free: 97.04 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-05/1.047, allocations: 14.12 kB / 468.8 MB, free: 97.04 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/1.048, allocations: 302.7 kB / 469.1 MB, free: 96.98 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/1.048, allocations: 3.219 kB / 469.1 MB, free: 96.98 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.048, allocations: 0.6562 kB / 469.1 MB, free: 96.98 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.076e-06/1.048, allocations: 1.531 kB / 469.1 MB, free: 96.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005782/1.049, allocations: 258.8 kB / 469.4 MB, free: 96.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/1.049, allocations: 7.438 kB / 469.4 MB, free: 96.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009904/1.05, allocations: 87.8 kB / 469.5 MB, free: 96.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/1.05, allocations: 5.078 kB / 469.5 MB, free: 96.82 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.342e-05/1.05, allocations: 10.84 kB / 469.5 MB, free: 96.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/1.051, allocations: 2.387 MB / 471.9 MB, free: 94.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/1.051, allocations: 0 / 471.9 MB, free: 94.48 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006808/1.052, allocations: 323 kB / 472.2 MB, free: 94.33 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001701/1.052, allocations: 125.2 kB / 472.3 MB, free: 94.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.14e-05/1.052, allocations: 4.922 kB / 472.3 MB, free: 94.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002941/1.052, allocations: 12.45 kB / 472.4 MB, free: 94.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/1.052, allocations: 16.19 kB / 472.4 MB, free: 94.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.793e-05/1.052, allocations: 8.938 kB / 472.4 MB, free: 94.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.5e-05/1.053, allocations: 97.95 kB / 472.5 MB, free: 94.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.053, allocations: 3.938 kB / 472.5 MB, free: 94.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009594/1.054, allocations: 178.4 kB / 472.7 MB, free: 94.15 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 (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.001661/1.055, allocations: 1.015 MB / 473.7 MB, free: 93.48 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001011/1.056, allocations: 199.5 kB / 473.9 MB, free: 93.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/1.056, allocations: 1.438 kB / 473.9 MB, free: 93.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006733/1.057, allocations: 141.9 kB / 474 MB, free: 93.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/1.057, allocations: 3 kB / 474 MB, free: 93.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/1.059, allocations: 486.2 kB / 474.5 MB, free: 93.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/1.059, allocations: 0.7953 MB / 475.3 MB, free: 92.61 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004303/1.06, allocations: 70.8 kB / 475.3 MB, free: 92.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/1.06, allocations: 83.89 kB / 475.4 MB, free: 92.59 MB / 394.7 MB Notification: Performance of SimCode: time 1.152e-06/1.06, allocations: 0 / 475.4 MB, free: 92.59 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05406/1.114, allocations: 6.225 MB / 481.6 MB, free: 92.23 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002718/1.114, allocations: 204.1 kB / 481.8 MB, free: 92.04 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.851/3.966, allocations: 2.531 kB / 481.9 MB, free: 92.04 MB / 394.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