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.General.dp_volumeFlowRate_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.255/2.255, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006319/0.0006321, allocations: 12 kB / 314.4 MB, free: 9.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3839, allocations: 54.85 MB / 369.3 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002472/0.3864, allocations: 1.316 MB / 370.6 MB, free: 11.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.3884, allocations: 0.7977 MB / 371.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.3886, allocations: 0 / 371.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002434/0.3889, allocations: 27.84 kB / 371.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.389, allocations: 31.94 kB / 371.5 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004998/0.3896, allocations: 95.69 kB / 371.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000199/0.3898, allocations: 95.78 kB / 371.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.127e-05/0.3899, allocations: 13.44 kB / 371.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.34e-05/0.39, allocations: 39.84 kB / 371.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.3901, allocations: 51.77 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.3901, allocations: 4 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005412/0.3907, allocations: 215.6 kB / 372 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.093e-05/0.3908, allocations: 35.89 kB / 372 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.169e-05/0.3908, allocations: 49.64 kB / 372.1 MB, free: 9.961 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003904/0.3912, allocations: 148.7 kB / 372.2 MB, free: 9.816 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3913, allocations: 0 / 372.2 MB, free: 9.816 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3913, allocations: 3.938 kB / 372.2 MB, free: 9.812 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3913, allocations: 0 / 372.2 MB, free: 9.812 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.000789/0.3921, allocations: 450.8 kB / 372.6 MB, free: 9.324 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3921, allocations: 12.03 kB / 372.7 MB, free: 9.312 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.07e-05/0.3922, allocations: 50.55 kB / 372.7 MB, free: 9.254 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/0.3935, allocations: 83.69 kB / 372.8 MB, free: 9.172 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.3939, allocations: 222.7 kB / 373 MB, free: 8.914 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.3939, allocations: 8 kB / 373 MB, free: 8.906 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.952e-05/0.3939, allocations: 16 kB / 373 MB, free: 8.891 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008246/0.3948, allocations: 293.3 kB / 373.3 MB, free: 8.598 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.3948, allocations: 4 kB / 373.3 MB, free: 8.594 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.3949, allocations: 4 kB / 373.3 MB, free: 8.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.224e-05/0.3949, allocations: 23.98 kB / 373.3 MB, free: 8.566 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009201/0.3959, allocations: 271.7 kB / 373.6 MB, free: 8.301 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001985/0.3979, allocations: 0.7987 MB / 374.4 MB, free: 7.414 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006499/0.3985, allocations: 186.3 kB / 374.6 MB, free: 7.223 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.882e-05/0.3986, allocations: 8.016 kB / 374.6 MB, free: 7.215 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.3986, allocations: 38.59 kB / 374.6 MB, free: 7.168 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 2.846e-06/0.3987, allocations: 0 / 374.6 MB, free: 7.168 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.001179/0.3998, allocations: 265.3 kB / 374.9 MB, free: 6.902 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.3999, allocations: 51.41 kB / 374.9 MB, free: 6.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.4002, allocations: 187.3 kB / 375.1 MB, free: 6.648 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/0.4002, allocations: 29.7 kB / 375.2 MB, free: 6.613 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.4004, allocations: 209.7 kB / 375.4 MB, free: 6.406 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.623e-05/0.4005, allocations: 35.45 kB / 375.4 MB, free: 6.371 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.01e-05/0.4005, allocations: 4 kB / 375.4 MB, free: 6.367 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.4007, allocations: 318.8 kB / 375.7 MB, free: 6.047 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003116/0.401, allocations: 71.92 kB / 375.8 MB, free: 5.977 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000367/0.4014, allocations: 128 kB / 375.9 MB, free: 5.828 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003741/0.4018, allocations: 95.86 kB / 376 MB, free: 5.734 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.4018, allocations: 0 / 376 MB, free: 5.734 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009117/0.4027, allocations: 249.6 kB / 376.2 MB, free: 5.484 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.4027, allocations: 8 kB / 376.2 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.4027, allocations: 96 / 376.2 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.4028, allocations: 7.938 kB / 376.3 MB, free: 5.469 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008234/0.4036, allocations: 75.86 kB / 376.3 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.405, allocations: 1.789 MB / 378.1 MB, free: 3.535 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003861/0.4054, allocations: 31.92 kB / 378.2 MB, free: 3.504 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/0.4055, allocations: 23.97 kB / 378.2 MB, free: 3.48 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002216/0.4057, allocations: 137.8 kB / 378.3 MB, free: 3.336 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.2e-05/0.4058, allocations: 11.91 kB / 378.3 MB, free: 3.324 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/0.4072, allocations: 294.7 kB / 378.6 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.4073, allocations: 3.938 kB / 378.6 MB, free: 3.027 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.4073, allocations: 3.984 kB / 378.6 MB, free: 3.023 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.4073, allocations: 3.953 kB / 378.6 MB, free: 3.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004269/0.4077, allocations: 241.4 kB / 378.9 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.4077, allocations: 4 kB / 378.9 MB, free: 2.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005994/0.4084, allocations: 55.89 kB / 378.9 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.419e-05/0.4084, allocations: 7.984 kB / 378.9 MB, free: 2.668 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.4084, allocations: 4 kB / 378.9 MB, free: 2.664 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/0.4098, allocations: 1.785 MB / 380.7 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4098, allocations: 0 / 380.7 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007256/0.4105, allocations: 259.2 kB / 381 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.4107, allocations: 104.9 kB / 381.1 MB, free: 428 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.811e-05/0.4107, allocations: 0 / 381.1 MB, free: 428 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.411, allocations: 15.98 kB / 381.1 MB, free: 412 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.735e-05/0.4111, allocations: 11.97 kB / 381.1 MB, free: 400 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/0.4111, allocations: 4 kB / 381.1 MB, free: 396 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002112/0.4114, allocations: 159.1 kB / 381.3 MB, free: 236 kB / 298.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4114, allocations: 0 / 381.3 MB, free: 236 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.000496/0.4119, allocations: 48 kB / 381.3 MB, free: 188 kB / 298.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001313/0.4132, allocations: 0.8216 MB / 382.1 MB, free: 15.33 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.4143, allocations: 200.1 kB / 382.3 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.4144, allocations: 0 / 382.3 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006768/0.4151, allocations: 111.8 kB / 382.4 MB, free: 15.03 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.4154, allocations: 12.12 kB / 382.4 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/0.4185, allocations: 1.207 MB / 383.6 MB, free: 13.74 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004439/0.419, allocations: 0.7475 MB / 384.4 MB, free: 12.97 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/0.4192, allocations: 59.34 kB / 384.5 MB, free: 12.91 MB / 314.7 MB Notification: Performance of SimCode: time 3.136e-06/0.4192, allocations: 8 kB / 384.5 MB, free: 12.9 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.906/3.325, allocations: 5.548 MB / 390 MB, free: 7.363 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat failed! " Variables in the reference:time,V_flow[1],V_flow[2],V_flow[3],a[1],a[2],a[3],rho,input_mdot[1],input_mdot[2],input_mdot[3],input_dp[1],input_dp[2],input_dp[3],M_FLOW[1],M_FLOW[2],M_FLOW[3],DP[1],DP[2],DP[3],DP_plot[1],DP_plot[2],DP_plot[3],input_DP.y Variables in the result:DP[1],DP[2],DP[3],DP_plot[1],DP_plot[2],DP_plot[3],M_FLOW[1],M_FLOW[2],M_FLOW[3],V_flow[1],V_flow[2],V_flow[3],a[1],a[2],a[3],b,dp_IN_con[1].a,dp_IN_con[1].b,dp_IN_con[1].dp_min,dp_IN_con[2].a,dp_IN_con[2].b,dp_IN_con[2].dp_min,dp_IN_con[3].a,dp_IN_con[3].b,dp_IN_con[3].dp_min,dp_IN_var[1].rho,dp_IN_var[2].rho,dp_IN_var[3].rho,input_DP.duration,input_DP.height,input_DP.offset,input_DP.startTime,input_DP.y,input_dp[1],input_dp[2],input_dp[3],input_mdot[1],input_mdot[2],input_mdot[3],m_flow_IN_con[1].a,m_flow_IN_con[1].b,m_flow_IN_con[1].dp_min,m_flow_IN_con[2].a,m_flow_IN_con[2].b,m_flow_IN_con[2].dp_min,m_flow_IN_con[3].a,m_flow_IN_con[3].b,m_flow_IN_con[3].dp_min,m_flow_IN_var[1].rho,m_flow_IN_var[2].rho,m_flow_IN_var[3].rho,n,rho,time