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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001179/0.001179, allocations: 197 kB / 16.1 MB, free: 5.488 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.259/1.259, allocations: 226.5 MB / 243.4 MB, free: 14.03 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000748/0.000748, allocations: 94.55 kB / 295.5 MB, free: 9.918 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1771/0.1771, allocations: 44.82 MB / 392.3 MB, free: 9.184 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002628/0.0002628, allocations: 4 kB / 465.4 MB, free: 49.33 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09316/0.09344, allocations: 62.96 MB / 0.516 GB, free: 2.324 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases): time 0.2162/0.3097, allocations: 47.74 MB / 0.5626 GB, free: 11.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01986/0.3296, allocations: 17.97 MB / 0.5801 GB, free: 11.64 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001855/0.3315, allocations: 51.62 kB / 0.5802 GB, free: 11.59 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002032/0.3336, allocations: 0.7414 MB / 0.5809 GB, free: 10.85 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.008655/0.3422, allocations: 3.68 MB / 0.5845 GB, free: 7.156 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006333/0.3486, allocations: 2.392 MB / 0.5868 GB, free: 4.789 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005798/0.3544, allocations: 5.271 MB / 0.592 GB, free: 15.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001807/0.3562, allocations: 1.063 MB / 0.593 GB, free: 14.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00314/0.3594, allocations: 1.654 MB / 0.5946 GB, free: 12.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002312/0.3617, allocations: 1.331 MB / 0.5959 GB, free: 11.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004699/0.3622, allocations: 79.94 kB / 0.596 GB, free: 11.35 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007093/0.3693, allocations: 3.7 MB / 0.5996 GB, free: 7.645 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007608/0.3701, allocations: 410.5 kB / 0.6 GB, free: 7.242 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001843/0.3719, allocations: 0.9314 MB / 0.6009 GB, free: 6.301 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005158/0.3771, allocations: 2.859 MB / 0.6037 GB, free: 3.438 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3771, allocations: 4 kB / 0.6037 GB, free: 3.434 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3772, allocations: 0 / 0.6037 GB, free: 3.434 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001095/0.3773, allocations: 0 / 0.6037 GB, free: 3.434 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.0039/0.3812, allocations: 1.895 MB / 0.6056 GB, free: 1.484 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.3812, allocations: 12.03 kB / 0.6056 GB, free: 1.473 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004391/0.3817, allocations: 206.6 kB / 0.6058 GB, free: 1.262 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.3829, allocations: 250.7 kB / 0.606 GB, free: 1.016 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001802/0.3847, allocations: 1.068 MB / 0.6071 GB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.812e-05/0.3848, allocations: 102.8 kB / 0.6072 GB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001928/0.385, allocations: 128 kB / 0.6073 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003207/0.3882, allocations: 1.908 MB / 0.6092 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.15e-05/0.3883, allocations: 3.938 kB / 0.6092 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001743/0.3885, allocations: 72 kB / 0.6092 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.677e-05/0.3885, allocations: 32 kB / 0.6093 GB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00265/0.3912, allocations: 1.613 MB / 0.6108 GB, free: 11.86 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009516/0.4007, allocations: 9.252 MB / 0.6199 GB, free: 2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002068/0.4028, allocations: 1.04 MB / 0.6209 GB, free: 0.9531 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008827/0.4037, allocations: 0.504 MB / 0.6214 GB, free: 452 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005853/0.4096, allocations: 5.527 MB / 0.6268 GB, free: 10 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.015e-05/0.4097, allocations: 59.55 kB / 0.6268 GB, free: 9.934 MB / 442.7 MB Notification: Performance of pre-optimization done (n=95): time 4.228e-06/0.4097, allocations: 3.938 kB / 0.6268 GB, free: 9.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=95): time 0.003964/0.4137, allocations: 1.373 MB / 0.6282 GB, free: 8.551 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/0.4138, allocations: 376.8 kB / 0.6285 GB, free: 8.098 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.4153, allocations: 1.153 MB / 0.6297 GB, free: 6.938 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001489/0.4155, allocations: 45.7 kB / 0.6297 GB, free: 6.887 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005477/0.416, allocations: 0.7708 MB / 0.6305 GB, free: 6.105 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002907/0.4163, allocations: 339.2 kB / 0.6308 GB, free: 5.77 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.072e-05/0.4164, allocations: 32 kB / 0.6308 GB, free: 5.738 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.4166, allocations: 357.9 kB / 0.6312 GB, free: 5.383 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007625/0.4173, allocations: 395.8 kB / 0.6315 GB, free: 4.996 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/0.4185, allocations: 1.003 MB / 0.6325 GB, free: 3.715 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001878/0.4203, allocations: 1.423 MB / 0.6339 GB, free: 2.047 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.281e-05/0.4204, allocations: 8 kB / 0.6339 GB, free: 2.039 MB / 442.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.002622/0.423, allocations: 1.508 MB / 0.6354 GB, free: 0.5234 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.423, allocations: 12 kB / 0.6354 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/0.4231, allocations: 16.09 kB / 0.6354 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.637e-05/0.4231, allocations: 32 kB / 0.6354 GB, free: 476 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002712/0.4258, allocations: 0.5109 MB / 0.6359 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/0.4273, allocations: 1.875 MB / 0.6378 GB, free: 14.01 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.4286, allocations: 202.3 kB / 0.638 GB, free: 13.81 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001612/0.4287, allocations: 91.91 kB / 0.638 GB, free: 13.72 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.000639/0.4294, allocations: 361.7 kB / 0.6384 GB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003103/0.4297, allocations: 155.5 kB / 0.6385 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004274/0.434, allocations: 2.397 MB / 0.6409 GB, free: 10.84 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.209e-05/0.434, allocations: 19.98 kB / 0.6409 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.434, allocations: 0 / 0.6409 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/0.434, allocations: 15.84 kB / 0.6409 GB, free: 10.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005327/0.4394, allocations: 3.867 MB / 0.6447 GB, free: 6.668 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.66e-05/0.4394, allocations: 8 kB / 0.6447 GB, free: 6.66 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006802/0.4401, allocations: 219.7 kB / 0.6449 GB, free: 6.445 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001173/0.4413, allocations: 234.4 kB / 0.6451 GB, free: 6.207 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-05/0.4414, allocations: 51.97 kB / 0.6452 GB, free: 6.156 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/0.4428, allocations: 1.684 MB / 0.6468 GB, free: 4.395 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.917e-06/0.4428, allocations: 16.16 kB / 0.6468 GB, free: 4.379 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00266/0.4454, allocations: 1.688 MB / 0.6485 GB, free: 2.57 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004986/0.446, allocations: 282.7 kB / 0.6488 GB, free: 2.273 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002931/0.4463, allocations: 39.98 kB / 0.6488 GB, free: 2.234 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.4474, allocations: 99.78 kB / 0.6489 GB, free: 2.137 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002133/0.4476, allocations: 120.6 kB / 0.649 GB, free: 2.016 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001738/0.4478, allocations: 83.92 kB / 0.6491 GB, free: 1.934 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001088/0.4489, allocations: 0.7952 MB / 0.6499 GB, free: 1.137 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4489, allocations: 0 / 0.6499 GB, free: 1.137 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002325/0.4512, allocations: 0.8737 MB / 0.6507 GB, free: 268 kB / 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.004707/0.4559, allocations: 3.017 MB / 0.6537 GB, free: 13.13 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004255/0.4602, allocations: 1.412 MB / 0.655 GB, free: 11.73 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/0.4602, allocations: 4.656 kB / 0.655 GB, free: 11.72 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001449/0.4617, allocations: 0.6619 MB / 0.6557 GB, free: 11.06 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005233/0.4669, allocations: 0.7873 MB / 0.6565 GB, free: 10.29 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0151/0.4821, allocations: 9.066 MB / 0.6653 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/0.4832, allocations: 1.269 MB / 0.6666 GB, free: 15.26 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001169/0.4844, allocations: 0.6711 MB / 0.6672 GB, free: 14.59 MB / 490.7 MB Notification: Performance of SimCode: time 8.21e-07/0.4844, allocations: 0 / 0.6672 GB, free: 14.59 MB / 490.7 MB Error: Error building simulator. Build log: clang++ -std=c++14 -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -I"." -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:26: 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:26: 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:31: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesInitialize.cpp:1488: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:31: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesInitialize.cpp:2435: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:31: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesInitialize.cpp:2528: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:34: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.cpp:792: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) ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesFMU.cpp:11: In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:37: In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.h:44: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2GlobalSettings.h:65:56: warning: returning reference to local temporary object [-Wreturn-stack-address] virtual const string& getVariableFilter() { return "";} ^~ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesFMU.cpp:11: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 2 warnings and 6 errors generated. make: *** [: OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.o] Error 1