Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.399/2.399, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.463e-05/2.473e-05, allocations: 7.938 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3459, allocations: 54.86 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1692/0.5151, allocations: 92.29 MB / 450.4 MB, free: 2.426 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003642/0.5156, allocations: 95.92 kB / 450.5 MB, free: 2.332 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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.07898/0.5946, allocations: 15.02 MB / 465.6 MB, free: 3.207 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5946, allocations: 0 / 465.6 MB, free: 3.207 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.554e-05/0.5946, allocations: 4 kB / 465.6 MB, free: 3.203 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.001323/0.596, allocations: 0.5549 MB / 466.1 MB, free: 2.605 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.596, allocations: 8.031 kB / 466.1 MB, free: 2.598 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.382e-05/0.5961, allocations: 27.62 kB / 466.1 MB, free: 2.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004031/0.5966, allocations: 230.7 kB / 466.4 MB, free: 2.305 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.5966, allocations: 8 kB / 466.4 MB, free: 2.297 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.901e-05/0.5967, allocations: 12 kB / 466.4 MB, free: 2.285 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007431/0.5974, allocations: 313.2 kB / 466.7 MB, free: 1.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007255/0.5982, allocations: 320.9 kB / 467 MB, free: 1.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.5982, allocations: 4 kB / 467 MB, free: 1.656 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.69e-05/0.5982, allocations: 0 / 467 MB, free: 1.656 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.206e-05/0.5983, allocations: 36.69 kB / 467 MB, free: 1.621 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002262/0.6006, allocations: 0.9649 MB / 468 MB, free: 0.5664 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008445/0.6015, allocations: 250.7 kB / 468.3 MB, free: 320 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.6017, allocations: 78.33 kB / 468.3 MB, free: 240 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.281e-05/0.6018, allocations: 8.172 kB / 468.3 MB, free: 232 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.6018, allocations: 30.75 kB / 468.4 MB, free: 192 kB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 3.356e-06/0.6018, allocations: 4 kB / 468.4 MB, free: 188 kB / 394.7 MB Notification: Performance of matching and sorting (n=21): time 0.321/0.9228, allocations: 193.5 kB / 468.6 MB, free: 99.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.9229, allocations: 54.03 kB / 468.6 MB, free: 99.55 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.9231, allocations: 110.2 kB / 468.7 MB, free: 99.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.359e-05/0.9232, allocations: 26.55 kB / 468.8 MB, free: 99.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.9233, allocations: 231 kB / 469 MB, free: 99.28 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.628e-05/0.9234, allocations: 72.56 kB / 469 MB, free: 99.24 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.931e-05/0.9234, allocations: 0 / 469 MB, free: 99.24 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.991e-05/0.9235, allocations: 321.6 kB / 469.4 MB, free: 98.93 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.9237, allocations: 65.59 kB / 469.4 MB, free: 98.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/0.9239, allocations: 86.16 kB / 469.5 MB, free: 98.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.9242, allocations: 81.17 kB / 469.6 MB, free: 98.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.9242, allocations: 0 / 469.6 MB, free: 98.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006922/0.9249, allocations: 205.9 kB / 469.8 MB, free: 98.87 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.925, allocations: 8.312 kB / 469.8 MB, free: 98.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.925, allocations: 1.703 kB / 469.8 MB, free: 98.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.925, allocations: 1.562 kB / 469.8 MB, free: 98.87 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008918/0.9259, allocations: 90.5 kB / 469.9 MB, free: 98.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.927, allocations: 2.39 MB / 472.3 MB, free: 96.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000255/0.9273, allocations: 19.39 kB / 472.3 MB, free: 96.53 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.376e-05/0.9274, allocations: 13.78 kB / 472.3 MB, free: 96.53 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.0001018/0.9275, allocations: 107 kB / 472.4 MB, free: 96.42 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005592/0.9281, allocations: 208.3 kB / 472.6 MB, free: 96.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.148e-05/0.9281, allocations: 10.78 kB / 472.6 MB, free: 96.37 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.9292, allocations: 298.1 kB / 472.9 MB, free: 96.32 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.9292, allocations: 2.719 kB / 472.9 MB, free: 96.32 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.9293, allocations: 2.031 kB / 472.9 MB, free: 96.32 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.9293, allocations: 1.75 kB / 472.9 MB, free: 96.32 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004894/0.9298, allocations: 265.2 kB / 473.2 MB, free: 96.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.9298, allocations: 10.95 kB / 473.2 MB, free: 96.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008676/0.9307, allocations: 89.11 kB / 473.3 MB, free: 96.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/0.9307, allocations: 6.391 kB / 473.3 MB, free: 96.15 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.9307, allocations: 9.031 kB / 473.3 MB, free: 96.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001072/0.9318, allocations: 2.384 MB / 475.7 MB, free: 93.82 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.9318, allocations: 0 / 475.7 MB, free: 93.82 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006004/0.9325, allocations: 332.7 kB / 476 MB, free: 93.67 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.9326, allocations: 128.7 kB / 476.1 MB, free: 93.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/0.9327, allocations: 1.031 kB / 476.1 MB, free: 93.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.933, allocations: 11.95 kB / 476.1 MB, free: 93.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.9331, allocations: 17.44 kB / 476.2 MB, free: 93.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.42e-05/0.9331, allocations: 12.17 kB / 476.2 MB, free: 93.57 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.525e-05/0.9332, allocations: 95.3 kB / 476.3 MB, free: 93.49 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.9332, allocations: 0 / 476.3 MB, free: 93.49 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000866/0.9341, allocations: 181.6 kB / 476.4 MB, free: 93.48 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.00141/0.9355, allocations: 1.009 MB / 477.5 MB, free: 92.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009176/0.9364, allocations: 198.3 kB / 477.7 MB, free: 92.82 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.9365, allocations: 0 / 477.7 MB, free: 92.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006332/0.9371, allocations: 140.5 kB / 477.8 MB, free: 92.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.9374, allocations: 2.922 kB / 477.8 MB, free: 92.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.9388, allocations: 0.5089 MB / 478.3 MB, free: 92.62 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.9392, allocations: 0.7883 MB / 479.1 MB, free: 91.92 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/0.9394, allocations: 83.23 kB / 479.2 MB, free: 91.91 MB / 394.7 MB Notification: Performance of SimCode: time 8.61e-07/0.9394, allocations: 0 / 479.2 MB, free: 91.91 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.297/4.236, allocations: 9.23 MB / 488.4 MB, free: 90.72 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat