Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|d_hyd|A_cross|eta|rho|Re_cir|Re_rec|vel_cir|vel_rec|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow|input_p2.y|IN_p2.ports.1..m_flow|IN_p2.ports.1..p|IN_p2.ports.1..h_outflow|OUT_dp2.ports.1..m_flow|OUT_dp2.ports.1..p|OUT_dp2.ports.1..h_outflow|OUT_mflow2.ports.1..m_flow|OUT_mflow2.ports.1..p|OUT_mflow2.ports.1..h_outflow|IN_mflow2.ports.1..m_flow|IN_mflow2.ports.1..p|IN_mflow2.ports.1..h_outflow|from_dp2.port_b.m_flow|from_dp2.port_b.p|from_dp2.port_b.h_outflow|from_mflow2.port_b.m_flow|from_mflow2.port_b.p|from_mflow2.port_b.h_outflow|input_p3.y|IN_p3.ports.1..m_flow|IN_p3.ports.1..p|IN_p3.ports.1..h_outflow|OUT_dp3.ports.1..m_flow|OUT_dp3.ports.1..p|OUT_dp3.ports.1..h_outflow|OUT_mflow3.ports.1..m_flow|OUT_mflow3.ports.1..p|OUT_mflow3.ports.1..h_outflow|IN_mflow3.ports.1..m_flow|IN_mflow3.ports.1..p|IN_mflow3.ports.1..h_outflow|from_dp3.port_b.m_flow|from_dp3.port_b.p|from_dp3.port_b.h_outflow|from_mflow3.port_b.m_flow|from_mflow3.port_b.p|from_mflow3.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|d_hyd|A_cross|eta|rho|Re_cir|Re_rec|vel_cir|vel_rec|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow|input_p2.y|IN_p2.ports.1..m_flow|IN_p2.ports.1..p|IN_p2.ports.1..h_outflow|OUT_dp2.ports.1..m_flow|OUT_dp2.ports.1..p|OUT_dp2.ports.1..h_outflow|OUT_mflow2.ports.1..m_flow|OUT_mflow2.ports.1..p|OUT_mflow2.ports.1..h_outflow|IN_mflow2.ports.1..m_flow|IN_mflow2.ports.1..p|IN_mflow2.ports.1..h_outflow|from_dp2.port_b.m_flow|from_dp2.port_b.p|from_dp2.port_b.h_outflow|from_mflow2.port_b.m_flow|from_mflow2.port_b.p|from_mflow2.port_b.h_outflow|input_p3.y|IN_p3.ports.1..m_flow|IN_p3.ports.1..p|IN_p3.ports.1..h_outflow|OUT_dp3.ports.1..m_flow|OUT_dp3.ports.1..p|OUT_dp3.ports.1..h_outflow|OUT_mflow3.ports.1..m_flow|OUT_mflow3.ports.1..p|OUT_mflow3.ports.1..h_outflow|IN_mflow3.ports.1..m_flow|IN_mflow3.ports.1..p|IN_mflow3.ports.1..h_outflow|from_dp3.port_b.m_flow|from_dp3.port_b.p|from_dp3.port_b.h_outflow|from_mflow3.port_b.m_flow|from_mflow3.port_b.p|from_mflow3.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001446/0.001446, allocations: 199.7 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.684/1.684, allocations: 226.5 MB / 243.4 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001009/0.001009, allocations: 92.48 kB / 295.5 MB, free: 6.867 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.429/0.429, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.0003503, allocations: 4 kB / 465.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3029, allocations: 62.96 MB / 0.5159 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases): time 0.03084/0.3338, allocations: 47.75 MB / 0.5625 GB, free: 2.902 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02103/0.3549, allocations: 17.97 MB / 0.5801 GB, free: 5.602 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00193/0.3569, allocations: 52.06 kB / 0.5801 GB, free: 5.574 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002003/0.3589, allocations: 0.731 MB / 0.5808 GB, free: 4.945 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0101/0.369, allocations: 3.689 MB / 0.5844 GB, free: 2.363 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007473/0.3765, allocations: 2.403 MB / 0.5868 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006141/0.3826, allocations: 5.259 MB / 0.5919 GB, free: 11.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001602/0.3843, allocations: 1.067 MB / 0.593 GB, free: 10.36 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003062/0.3873, allocations: 1.65 MB / 0.5946 GB, free: 8.707 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002084/0.3894, allocations: 1.331 MB / 0.5959 GB, free: 7.371 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002416/0.3897, allocations: 79.94 kB / 0.5959 GB, free: 7.293 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006634/0.3963, allocations: 3.7 MB / 0.5996 GB, free: 3.586 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006479/0.397, allocations: 406.5 kB / 0.5999 GB, free: 3.188 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001396/0.3984, allocations: 0.9392 MB / 0.6009 GB, free: 2.238 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004426/0.4029, allocations: 2.862 MB / 0.6037 GB, free: 15.37 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4029, allocations: 0 / 0.6037 GB, free: 15.37 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4029, allocations: 4 kB / 0.6037 GB, free: 15.37 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.257e-05/0.4029, allocations: 4 kB / 0.6037 GB, free: 15.36 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.003072/0.406, allocations: 1.879 MB / 0.6055 GB, free: 13.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.406, allocations: 12.03 kB / 0.6055 GB, free: 13.42 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009523/0.407, allocations: 258.6 kB / 0.6058 GB, free: 13.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.4085, allocations: 1.072 MB / 0.6068 GB, free: 12.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.309e-05/0.4086, allocations: 103 kB / 0.6069 GB, free: 11.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.4087, allocations: 131.9 kB / 0.607 GB, free: 11.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002755/0.4115, allocations: 1.919 MB / 0.6089 GB, free: 9.719 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.838e-05/0.4115, allocations: 3.938 kB / 0.6089 GB, free: 9.715 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/0.4117, allocations: 68 kB / 0.609 GB, free: 9.648 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.495e-05/0.4117, allocations: 32 kB / 0.609 GB, free: 9.617 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002462/0.4142, allocations: 1.617 MB / 0.6106 GB, free: 7.992 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008642/0.4228, allocations: 9.244 MB / 0.6196 GB, free: 14.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001848/0.4247, allocations: 1.032 MB / 0.6206 GB, free: 13.1 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007787/0.4255, allocations: 0.5118 MB / 0.6211 GB, free: 12.58 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005423/0.431, allocations: 5.523 MB / 0.6265 GB, free: 6.141 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.431, allocations: 51.56 kB / 0.6266 GB, free: 6.082 MB / 442.7 MB Notification: Performance of pre-optimization done (n=95): time 2.144e-06/0.431, allocations: 0 / 0.6266 GB, free: 6.082 MB / 442.7 MB Notification: Performance of matching and sorting (n=95): time 0.003293/0.4343, allocations: 1.377 MB / 0.6279 GB, free: 4.699 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001493/0.4345, allocations: 376.8 kB / 0.6283 GB, free: 4.246 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.4358, allocations: 1.146 MB / 0.6294 GB, free: 3.094 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.4359, allocations: 49.7 kB / 0.6294 GB, free: 3.039 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005311/0.4365, allocations: 0.7785 MB / 0.6302 GB, free: 2.25 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002509/0.4367, allocations: 339.1 kB / 0.6305 GB, free: 1.914 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-05/0.4368, allocations: 28 kB / 0.6305 GB, free: 1.887 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.437, allocations: 365.8 kB / 0.6309 GB, free: 1.523 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008591/0.4378, allocations: 395.8 kB / 0.6313 GB, free: 1.137 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/0.4391, allocations: 1.003 MB / 0.6322 GB, free: 15.86 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002167/0.4413, allocations: 1.423 MB / 0.6336 GB, free: 14.19 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.4413, allocations: 4 kB / 0.6336 GB, free: 14.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.002557/0.4439, allocations: 1.508 MB / 0.6351 GB, free: 12.66 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.4439, allocations: 12 kB / 0.6351 GB, free: 12.65 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/0.4439, allocations: 16 kB / 0.6351 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.097e-05/0.444, allocations: 28 kB / 0.6352 GB, free: 12.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002573/0.4466, allocations: 0.5071 MB / 0.6357 GB, free: 12.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/0.448, allocations: 1.875 MB / 0.6375 GB, free: 10.16 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/0.4493, allocations: 206.3 kB / 0.6377 GB, free: 9.953 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/0.4495, allocations: 95.95 kB / 0.6378 GB, free: 9.859 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (179): * Single equations (assignments): 176 * 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.0006832/0.4502, allocations: 353.2 kB / 0.6381 GB, free: 9.504 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003218/0.4506, allocations: 154.2 kB / 0.6383 GB, free: 9.352 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00443/0.455, allocations: 2.403 MB / 0.6406 GB, free: 6.98 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.611e-05/0.455, allocations: 19.98 kB / 0.6406 GB, free: 6.961 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.4551, allocations: 4 kB / 0.6406 GB, free: 6.957 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.4551, allocations: 3.984 kB / 0.6406 GB, free: 6.953 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00572/0.4608, allocations: 3.874 MB / 0.6444 GB, free: 2.809 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/0.4609, allocations: 4 kB / 0.6444 GB, free: 2.805 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000703/0.4616, allocations: 219.6 kB / 0.6446 GB, free: 2.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001189/0.4628, allocations: 238.8 kB / 0.6449 GB, free: 2.348 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.191e-05/0.4629, allocations: 43.97 kB / 0.6449 GB, free: 2.305 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/0.4643, allocations: 1.692 MB / 0.6466 GB, free: 0.5352 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.986e-06/0.4643, allocations: 11.98 kB / 0.6466 GB, free: 0.5234 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002806/0.4671, allocations: 1.688 MB / 0.6482 GB, free: 14.71 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000529/0.4677, allocations: 282.7 kB / 0.6485 GB, free: 14.41 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003181/0.468, allocations: 32 kB / 0.6485 GB, free: 14.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/0.4692, allocations: 103.8 kB / 0.6486 GB, free: 14.28 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/0.4694, allocations: 116.6 kB / 0.6487 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002162/0.4696, allocations: 87.92 kB / 0.6488 GB, free: 14.08 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001165/0.4708, allocations: 0.7991 MB / 0.6496 GB, free: 13.28 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4708, allocations: 0 / 0.6496 GB, free: 13.28 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002583/0.4734, allocations: 0.8737 MB / 0.6504 GB, free: 12.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (130): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002106/0.4755, allocations: 0.8847 MB / 0.6513 GB, free: 11.52 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004337/0.4799, allocations: 1.412 MB / 0.6527 GB, free: 10.12 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/0.4799, allocations: 4.656 kB / 0.6527 GB, free: 10.11 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001533/0.4814, allocations: 0.6668 MB / 0.6533 GB, free: 9.449 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005086/0.4865, allocations: 0.7942 MB / 0.6541 GB, free: 8.668 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005613/0.4922, allocations: 3.481 MB / 0.6575 GB, free: 5.055 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009389/0.4931, allocations: 1.273 MB / 0.6588 GB, free: 3.75 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005932/0.4937, allocations: 195.3 kB / 0.6589 GB, free: 3.559 MB / 474.7 MB Notification: Performance of SimCode: time 4.5e-07/0.4938, allocations: 0 / 0.6589 GB, free: 3.559 MB / 474.7 MB Notification: Performance of Templates: time 0.2636/0.7574, allocations: 52.1 MB / 0.7098 GB, free: 124.9 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.makefile make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.makefile clang++ -std=c++14 -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCasesCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCasesCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCasesCalcHelperMain.cpp:25: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCasesAlgLoopMain.cpp:15: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCasesAlgloop264.cpp:80:85: error: no viable conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType' _functions->Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(tmp456, tmp457, _system->_from_mflow3_P_dp_, tmp458); ^~~~~~ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCasesTypes.h:9:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType &' for 1st argument struct Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCasesTypes.h:9:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType &&' for 1st argument ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCasesFunctions.h:20:161: note: passing argument to parameter 'IN_con_' here void Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType& IN_con_, const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__varType& IN_var_, double dp_, Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOWRetType& output); ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCasesCalcHelperMain.cpp:25: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCasesAlgLoopMain.cpp:27: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCasesAlgloop157.cpp:78:85: error: no viable conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType' _functions->Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(tmp474, tmp475, _system->_from_mflow3_P_dp_, tmp478); ^~~~~~ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCasesTypes.h:9:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType &' for 1st argument struct Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCasesTypes.h:9:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType &&' for 1st argument ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCasesFunctions.h:20:161: note: passing argument to parameter 'IN_con_' here void Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType& IN_con_, const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__varType& IN_var_, double dp_, Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOWRetType& output); ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCasesCalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCasesInitialize.cpp:1979:85: error: no viable conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType' _functions->Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(tmp70, tmp71, _from_dp3_P_dp_, tmp74); ^~~~~ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCasesTypes.h:9:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType &' for 1st argument struct Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCasesTypes.h:9:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType &&' for 1st argument ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCasesFunctions.cpp:284:170: note: passing argument to parameter 'IN_con_' here void Functions::Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType& IN_con_, const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__varType& IN_var_, double dp_, Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOWRetType & output) ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCasesCalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCasesInitialize.cpp:3298:82: error: no viable conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType' _functions->Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__DP(tmp155, tmp156, _from_mflow3_P_m_flow_small_, tmp161); ^~~~~~ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCasesTypes.h:9:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType &' for 1st argument struct Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCasesTypes.h:9:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType &&' for 1st argument ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCasesFunctions.cpp:104:167: note: passing argument to parameter 'IN_con_' here void Functions::Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__DP(const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType& IN_con_, const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__varType& IN_var_, double m_flow_, Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__DPRetType & output) ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCasesCalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCasesInitialize.cpp:3430:82: error: no viable conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType' _functions->Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__DP(tmp162, tmp163, _from_dp3_P_m_flow_small_, tmp168); ^~~~~~ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCasesTypes.h:9:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType &' for 1st argument struct Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCasesTypes.h:9:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType &&' for 1st argument ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCasesFunctions.cpp:104:167: note: passing argument to parameter 'IN_con_' here void Functions::Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__DP(const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType& IN_con_, const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__varType& IN_var_, double m_flow_, Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__DPRetType & output) ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCasesCalcHelperMain.cpp:33: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.cpp:1009:85: error: no viable conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType' _functions->Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(tmp530, tmp531, _from_dp3_P_dp_, tmp532); ^~~~~~ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCasesTypes.h:9:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType &' for 1st argument struct Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCasesTypes.h:9:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType &&' for 1st argument ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCasesFunctions.cpp:284:170: note: passing argument to parameter 'IN_con_' here void Functions::Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType& IN_con_, const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__varType& IN_var_, double dp_, Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOWRetType & output) ^ 6 errors generated. make: *** [: OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCasesCalcHelperMain.o] Error 1