Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.317/1.317, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000733/0.000733, allocations: 89.5 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3131/0.3131, allocations: 43.56 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003389, allocations: 12 kB / 432.1 MB, free: 5.492 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1036, allocations: 58.85 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases): time 0.2189/0.3226, allocations: 47.69 MB / 0.526 GB, free: 16.9 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01655/0.3392, allocations: 17.91 MB / 0.5435 GB, free: 4.055 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002646/0.3419, allocations: 52.31 kB / 0.5435 GB, free: 4.027 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002659/0.3446, allocations: 0.734 MB / 0.5443 GB, free: 3.629 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.009289/0.3539, allocations: 3.665 MB / 0.5478 GB, free: 1.801 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006381/0.3603, allocations: 2.397 MB / 0.5502 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007089/0.3674, allocations: 5.249 MB / 0.5553 GB, free: 14.44 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002275/0.3697, allocations: 1.068 MB / 0.5564 GB, free: 14.04 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004173/0.3739, allocations: 1.65 MB / 0.558 GB, free: 13.45 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003169/0.377, allocations: 1.331 MB / 0.5593 GB, free: 12.94 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005729/0.3776, allocations: 76.03 kB / 0.5593 GB, free: 12.94 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008609/0.3863, allocations: 3.673 MB / 0.5629 GB, free: 11.68 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001014/0.3873, allocations: 416.8 kB / 0.5633 GB, free: 11.38 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002015/0.3893, allocations: 0.9344 MB / 0.5642 GB, free: 10.86 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006122/0.3955, allocations: 2.844 MB / 0.567 GB, free: 9.176 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.3955, allocations: 3.938 kB / 0.567 GB, free: 9.172 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3955, allocations: 3.938 kB / 0.567 GB, free: 9.168 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.87e-05/0.3956, allocations: 1.094 kB / 0.567 GB, free: 9.168 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.004148/0.3997, allocations: 1.879 MB / 0.5689 GB, free: 7.758 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.3998, allocations: 9.625 kB / 0.5689 GB, free: 7.758 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003576/0.4001, allocations: 204.3 kB / 0.5691 GB, free: 7.598 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.4012, allocations: 239 kB / 0.5693 GB, free: 7.492 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/0.4031, allocations: 1.079 MB / 0.5703 GB, free: 6.641 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.202e-05/0.4032, allocations: 96.84 kB / 0.5704 GB, free: 6.598 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.4034, allocations: 135.7 kB / 0.5706 GB, free: 6.547 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003172/0.4065, allocations: 1.91 MB / 0.5724 GB, free: 5.199 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.4066, allocations: 3.938 kB / 0.5724 GB, free: 5.195 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/0.4067, allocations: 70.28 kB / 0.5725 GB, free: 5.148 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.729e-05/0.4068, allocations: 38.25 kB / 0.5725 GB, free: 5.145 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002438/0.4092, allocations: 1.607 MB / 0.5741 GB, free: 4.355 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009835/0.4191, allocations: 9.238 MB / 0.5831 GB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.4208, allocations: 1.037 MB / 0.5841 GB, free: 10.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007076/0.4215, allocations: 0.5071 MB / 0.5846 GB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005189/0.4267, allocations: 5.531 MB / 0.59 GB, free: 3.586 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.4268, allocations: 51.56 kB / 0.5901 GB, free: 3.527 MB / 410.7 MB Notification: Performance of pre-optimization done (n=95): time 2.044e-06/0.4268, allocations: 3.938 kB / 0.5901 GB, free: 3.523 MB / 410.7 MB Notification: Performance of matching and sorting (n=95): time 0.003417/0.4302, allocations: 1.377 MB / 0.5914 GB, free: 2.141 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002116/0.4304, allocations: 376.8 kB / 0.5918 GB, free: 1.688 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/0.432, allocations: 1.149 MB / 0.5929 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000155/0.4321, allocations: 45.7 kB / 0.593 GB, free: 492 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006197/0.4328, allocations: 0.771 MB / 0.5937 GB, free: 15.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003354/0.4331, allocations: 343.2 kB / 0.594 GB, free: 15.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.384e-05/0.4332, allocations: 28 kB / 0.5941 GB, free: 15.33 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.4334, allocations: 361.9 kB / 0.5944 GB, free: 14.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007832/0.4342, allocations: 391.8 kB / 0.5948 GB, free: 14.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.4353, allocations: 1.007 MB / 0.5958 GB, free: 13.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001872/0.4372, allocations: 1.423 MB / 0.5972 GB, free: 11.63 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.4372, allocations: 8 kB / 0.5972 GB, free: 11.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.002575/0.4398, allocations: 1.5 MB / 0.5986 GB, free: 10.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.4398, allocations: 15.94 kB / 0.5986 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/0.4399, allocations: 19.98 kB / 0.5987 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.626e-05/0.4399, allocations: 28 kB / 0.5987 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002658/0.4426, allocations: 0.5037 MB / 0.5992 GB, free: 9.551 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/0.4441, allocations: 1.875 MB / 0.601 GB, free: 7.605 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/0.4456, allocations: 210.4 kB / 0.6012 GB, free: 7.398 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001646/0.4458, allocations: 87.97 kB / 0.6013 GB, free: 7.312 MB / 426.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.0006763/0.4465, allocations: 357.2 kB / 0.6016 GB, free: 6.953 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002388/0.4467, allocations: 150.3 kB / 0.6018 GB, free: 6.805 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004211/0.4509, allocations: 2.421 MB / 0.6041 GB, free: 4.332 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.28e-05/0.451, allocations: 19.98 kB / 0.6042 GB, free: 4.312 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.451, allocations: 0 / 0.6042 GB, free: 4.312 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.451, allocations: 7.969 kB / 0.6042 GB, free: 4.305 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005303/0.4563, allocations: 3.866 MB / 0.6079 GB, free: 172 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/0.4564, allocations: 8.938 kB / 0.608 GB, free: 164 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006826/0.457, allocations: 219.7 kB / 0.6082 GB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001189/0.4582, allocations: 238.2 kB / 0.6084 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.471e-05/0.4583, allocations: 51.97 kB / 0.6084 GB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001345/0.4597, allocations: 1.684 MB / 0.6101 GB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.167e-06/0.4597, allocations: 11.94 kB / 0.6101 GB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002527/0.4622, allocations: 1.688 MB / 0.6117 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005104/0.4628, allocations: 274.8 kB / 0.612 GB, free: 11.78 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000204/0.463, allocations: 39.98 kB / 0.612 GB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.464, allocations: 99.78 kB / 0.6121 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000207/0.4642, allocations: 124.6 kB / 0.6123 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001476/0.4644, allocations: 79.94 kB / 0.6123 GB, free: 11.44 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009887/0.4654, allocations: 0.799 MB / 0.6131 GB, free: 10.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4654, allocations: 3.938 kB / 0.6131 GB, free: 10.64 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002425/0.4678, allocations: 0.8659 MB / 0.614 GB, free: 9.77 MB / 442.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.004544/0.4724, allocations: 3.001 MB / 0.6169 GB, free: 6.641 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004029/0.4764, allocations: 1.416 MB / 0.6183 GB, free: 5.234 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/0.4764, allocations: 4.656 kB / 0.6183 GB, free: 5.227 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001403/0.4778, allocations: 0.663 MB / 0.6189 GB, free: 4.566 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005042/0.4829, allocations: 0.7966 MB / 0.6197 GB, free: 3.777 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01338/0.4963, allocations: 9.043 MB / 0.6285 GB, free: 10.07 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007555/0.4971, allocations: 1.269 MB / 0.6298 GB, free: 8.773 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008967/0.498, allocations: 0.675 MB / 0.6304 GB, free: 8.098 MB / 458.7 MB Notification: Performance of SimCode: time 5.71e-07/0.498, allocations: 0 / 0.6304 GB, free: 8.098 MB / 458.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_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesAlgLoopMain.cpp:15: ./OMCppModelicaTest_3_2_3_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(tmp437, tmp438, _system->_from_mflow3_P_dp_, tmp439); ^~~~~~ ./OMCppModelicaTest_3_2_3_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_3_2_3_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_3_2_3_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_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesAlgLoopMain.cpp:27: ./OMCppModelicaTest_3_2_3_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(tmp455, tmp456, _system->_from_mflow3_P_dp_, tmp459); ^~~~~~ ./OMCppModelicaTest_3_2_3_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_3_2_3_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_3_2_3_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_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_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_3_2_3_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_3_2_3_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_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesFunctions.cpp:265: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_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_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_3_2_3_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_3_2_3_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_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesFunctions.cpp:89: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_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_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_3_2_3_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_3_2_3_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_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesFunctions.cpp:89: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_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_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(tmp511, tmp512, _from_dp3_P_dp_, tmp513); ^~~~~~ ./OMCppModelicaTest_3_2_3_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_3_2_3_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_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesFunctions.cpp:265: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_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_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_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_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_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.o] Error 1