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.001055/0.001055, allocations: 199 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.262/1.262, allocations: 226.6 MB / 243.1 MB, free: 14.29 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000712/0.0007119, allocations: 95.81 kB / 295.1 MB, free: 10.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1749/0.1749, allocations: 44.84 MB / 392 MB, free: 9.309 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002217/0.0002217, allocations: 8 kB / 464.8 MB, free: 49.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09803/0.09826, allocations: 62.95 MB / 0.5153 GB, free: 2.734 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases): time 0.2309/0.3292, allocations: 47.55 MB / 0.5618 GB, free: 11.66 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02334/0.3526, allocations: 17.96 MB / 0.5793 GB, free: 12.14 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002489/0.3551, allocations: 51.62 kB / 0.5794 GB, free: 12.09 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002658/0.3578, allocations: 0.7375 MB / 0.5801 GB, free: 11.35 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.009789/0.3676, allocations: 3.455 MB / 0.5835 GB, free: 7.887 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006923/0.3746, allocations: 2.238 MB / 0.5856 GB, free: 5.676 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006439/0.381, allocations: 5.235 MB / 0.5908 GB, free: 436 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001807/0.3829, allocations: 1.013 MB / 0.5917 GB, free: 15.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003257/0.3861, allocations: 1.673 MB / 0.5934 GB, free: 13.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002098/0.3882, allocations: 1.342 MB / 0.5947 GB, free: 12.37 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002699/0.3885, allocations: 76 kB / 0.5948 GB, free: 12.29 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005881/0.3944, allocations: 3.24 MB / 0.5979 GB, free: 9.047 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004832/0.3949, allocations: 406.5 kB / 0.5983 GB, free: 8.648 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006366/0.3956, allocations: 396.8 kB / 0.5987 GB, free: 8.254 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004012/0.3996, allocations: 2.776 MB / 0.6014 GB, free: 5.473 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3996, allocations: 0 / 0.6014 GB, free: 5.473 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3996, allocations: 0 / 0.6014 GB, free: 5.473 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.514e-05/0.3996, allocations: 0 / 0.6014 GB, free: 5.473 MB / 410.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.003096/0.4027, allocations: 1.906 MB / 0.6033 GB, free: 3.512 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.4028, allocations: 12.03 kB / 0.6033 GB, free: 3.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000962/0.4038, allocations: 245.8 kB / 0.6035 GB, free: 3.258 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.4052, allocations: 1.033 MB / 0.6045 GB, free: 2.184 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.729e-05/0.4053, allocations: 102.6 kB / 0.6046 GB, free: 2.082 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/0.4055, allocations: 124 kB / 0.6047 GB, free: 1.961 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002784/0.4083, allocations: 1.912 MB / 0.6066 GB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.757e-05/0.4083, allocations: 7.938 kB / 0.6066 GB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001487/0.4085, allocations: 71.95 kB / 0.6067 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.749e-05/0.4085, allocations: 36 kB / 0.6067 GB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002435/0.4109, allocations: 1.609 MB / 0.6083 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008629/0.4196, allocations: 9.244 MB / 0.6173 GB, free: 4.285 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.4213, allocations: 1.028 MB / 0.6183 GB, free: 3.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007018/0.422, allocations: 0.5157 MB / 0.6188 GB, free: 2.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00511/0.4271, allocations: 5.524 MB / 0.6242 GB, free: 12.29 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.4272, allocations: 51.56 kB / 0.6243 GB, free: 12.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=95): time 2.484e-06/0.4272, allocations: 0 / 0.6243 GB, free: 12.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=95): time 0.003296/0.4305, allocations: 1.385 MB / 0.6256 GB, free: 10.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/0.4306, allocations: 376.8 kB / 0.626 GB, free: 10.39 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.4319, allocations: 1.149 MB / 0.6271 GB, free: 9.234 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.432, allocations: 45.7 kB / 0.6271 GB, free: 9.184 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004763/0.4325, allocations: 0.7708 MB / 0.6279 GB, free: 8.402 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002364/0.4327, allocations: 335.2 kB / 0.6282 GB, free: 8.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.748e-05/0.4328, allocations: 31.94 kB / 0.6282 GB, free: 8.039 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.4329, allocations: 365.9 kB / 0.6286 GB, free: 7.676 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000681/0.4336, allocations: 391.8 kB / 0.629 GB, free: 7.293 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.4347, allocations: 1.003 MB / 0.6299 GB, free: 6.012 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008655/0.4355, allocations: 0.5455 MB / 0.6305 GB, free: 5.465 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.4356, allocations: 4 kB / 0.6305 GB, free: 5.461 MB / 442.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.002457/0.438, allocations: 1.523 MB / 0.632 GB, free: 3.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.438, allocations: 12 kB / 0.632 GB, free: 3.918 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/0.4381, allocations: 20 kB / 0.632 GB, free: 3.898 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.366e-05/0.4381, allocations: 31.95 kB / 0.632 GB, free: 3.867 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00259/0.4407, allocations: 0.5071 MB / 0.6325 GB, free: 3.359 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.4421, allocations: 1.871 MB / 0.6344 GB, free: 1.418 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.4433, allocations: 206.3 kB / 0.6346 GB, free: 1.215 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/0.4435, allocations: 91.97 kB / 0.6346 GB, free: 1.125 MB / 442.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.0006103/0.4441, allocations: 349.8 kB / 0.635 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002822/0.4444, allocations: 146.3 kB / 0.6351 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004151/0.4485, allocations: 2.422 MB / 0.6375 GB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.412e-05/0.4486, allocations: 27.94 kB / 0.6375 GB, free: 14.21 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.4486, allocations: 0 / 0.6375 GB, free: 14.21 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/0.4486, allocations: 7.969 kB / 0.6375 GB, free: 14.21 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005232/0.4538, allocations: 3.855 MB / 0.6413 GB, free: 10.08 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.537e-05/0.4539, allocations: 12 kB / 0.6413 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006844/0.4545, allocations: 219.6 kB / 0.6415 GB, free: 9.852 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001183/0.4557, allocations: 238.9 kB / 0.6417 GB, free: 9.609 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-05/0.4558, allocations: 51.97 kB / 0.6418 GB, free: 9.559 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00136/0.4572, allocations: 1.692 MB / 0.6434 GB, free: 7.789 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/0.4572, allocations: 11.94 kB / 0.6434 GB, free: 7.777 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002516/0.4598, allocations: 1.681 MB / 0.6451 GB, free: 5.977 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004798/0.4602, allocations: 282.6 kB / 0.6453 GB, free: 5.68 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003108/0.4606, allocations: 39.98 kB / 0.6454 GB, free: 5.641 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.4617, allocations: 103.7 kB / 0.6455 GB, free: 5.539 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.4618, allocations: 116.7 kB / 0.6456 GB, free: 5.426 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001665/0.462, allocations: 83.92 kB / 0.6457 GB, free: 5.344 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001042/0.4631, allocations: 0.7991 MB / 0.6465 GB, free: 4.543 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4631, allocations: 0 / 0.6465 GB, free: 4.543 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002278/0.4654, allocations: 0.8659 MB / 0.6473 GB, free: 3.676 MB / 458.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.001834/0.4672, allocations: 0.8582 MB / 0.6481 GB, free: 2.82 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004178/0.4714, allocations: 1.416 MB / 0.6495 GB, free: 1.41 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.4714, allocations: 8.594 kB / 0.6495 GB, free: 1.402 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001406/0.4728, allocations: 0.6669 MB / 0.6502 GB, free: 0.7383 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003906/0.4767, allocations: 0.7951 MB / 0.651 GB, free: 15.95 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005105/0.4819, allocations: 3.478 MB / 0.6544 GB, free: 12.35 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007973/0.4827, allocations: 1.269 MB / 0.6556 GB, free: 11.05 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000481/0.4832, allocations: 199.3 kB / 0.6558 GB, free: 10.85 MB / 474.7 MB Notification: Performance of SimCode: time 7.31e-07/0.4832, allocations: 0 / 0.6558 GB, free: 10.85 MB / 474.7 MB Notification: Performance of Templates: time 0.05795/0.5411, allocations: 52.09 MB / 0.7067 GB, free: 6.934 MB / 0.5105 GB 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++ -Winvalid-pch -O0 -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/c/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:2168: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:272: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:3943: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:92: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:4075: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:92: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:272: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