Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|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",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002549/0.002548, allocations: 353.7 kB / 15.95 MB, free: 6.211 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.711/3.711, allocations: 341.5 MB / 358.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003651/0.00365, allocations: 229.1 kB / 397.9 MB, free: 4.988 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5248/0.5248, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006749/0.0006752, allocations: 15.98 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0903/0.09101, allocations: 48.7 MB / 0.6068 GB, free: 4.645 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.9158/1.007, allocations: 170.8 MB / 0.7735 GB, free: 4.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01324/1.02, allocations: 6.844 MB / 0.7802 GB, free: 4.727 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009833/1.021, allocations: 22.31 kB / 0.7802 GB, free: 4.727 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001521/1.023, allocations: 250.7 kB / 0.7805 GB, free: 4.719 MB / 410.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:826:36-827:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:824:36-825:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.009628/1.032, allocations: 2.215 MB / 0.7826 GB, free: 4.637 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003383/1.036, allocations: 0.724 MB / 0.7833 GB, free: 4.621 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003554/1.039, allocations: 1.853 MB / 0.7851 GB, free: 4.617 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/1.041, allocations: 347.5 kB / 0.7855 GB, free: 4.602 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002649/1.043, allocations: 0.6959 MB / 0.7861 GB, free: 4.598 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001588/1.045, allocations: 487.2 kB / 0.7866 GB, free: 4.594 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002428/1.045, allocations: 26.58 kB / 0.7866 GB, free: 4.594 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006823/1.052, allocations: 2.321 MB / 0.7889 GB, free: 4.574 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003867/1.052, allocations: 143.3 kB / 0.789 GB, free: 4.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005176/1.053, allocations: 152.2 kB / 0.7892 GB, free: 4.539 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003737/1.057, allocations: 1.294 MB / 0.7905 GB, free: 4.445 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/1.057, allocations: 0 / 0.7905 GB, free: 4.445 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.715e-06/1.057, allocations: 0 / 0.7905 GB, free: 4.445 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.579e-05/1.057, allocations: 2.25 kB / 0.7905 GB, free: 4.445 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.003079/1.06, allocations: 1.007 MB / 0.7914 GB, free: 3.801 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/1.06, allocations: 13.69 kB / 0.7915 GB, free: 3.797 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001804/1.062, allocations: 159.8 kB / 0.7916 GB, free: 3.758 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/1.063, allocations: 496.3 kB / 0.7921 GB, free: 3.516 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.134e-05/1.063, allocations: 30.28 kB / 0.7921 GB, free: 3.516 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/1.063, allocations: 46.5 kB / 0.7921 GB, free: 3.516 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/1.065, allocations: 0.6301 MB / 0.7928 GB, free: 3.359 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/1.065, allocations: 2.906 kB / 0.7928 GB, free: 3.359 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/1.065, allocations: 24.59 kB / 0.7928 GB, free: 3.355 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/1.065, allocations: 11.47 kB / 0.7928 GB, free: 3.355 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001471/1.067, allocations: 496.4 kB / 0.7933 GB, free: 3.352 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004963/1.072, allocations: 2.607 MB / 0.7958 GB, free: 17.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/1.073, allocations: 314.3 kB / 0.7961 GB, free: 17.63 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004572/1.073, allocations: 171.3 kB / 0.7963 GB, free: 17.62 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002019/1.075, allocations: 1.31 MB / 0.7976 GB, free: 16.49 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.351e-05/1.075, allocations: 44.08 kB / 0.7976 GB, free: 16.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 3.597e-06/1.075, allocations: 1.375 kB / 0.7976 GB, free: 16.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.002517/1.078, allocations: 0.6642 MB / 0.7983 GB, free: 16.28 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.116e-05/1.078, allocations: 165.8 kB / 0.7984 GB, free: 16.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007956/1.079, allocations: 452.3 kB / 0.7988 GB, free: 15.97 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.673e-05/1.079, allocations: 30.83 kB / 0.7989 GB, free: 15.94 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002731/1.079, allocations: 319.2 kB / 0.7992 GB, free: 15.76 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/1.08, allocations: 131 kB / 0.7993 GB, free: 15.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/1.08, allocations: 11.84 kB / 0.7993 GB, free: 15.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001766/1.08, allocations: 356.6 kB / 0.7997 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004745/1.08, allocations: 149.3 kB / 0.7998 GB, free: 15.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005934/1.081, allocations: 370.9 kB / 0.8002 GB, free: 15.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005195/1.081, allocations: 204.9 kB / 0.8003 GB, free: 15.08 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/1.081, allocations: 4.766 kB / 0.8004 GB, free: 15.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00176/1.083, allocations: 0.598 MB / 0.8009 GB, free: 15.01 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/1.083, allocations: 7.469 kB / 0.8009 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/1.083, allocations: 7.812 kB / 0.8009 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00274/1.086, allocations: 294.6 kB / 0.8012 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008266/1.087, allocations: 129.8 kB / 0.8014 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006466/1.088, allocations: 0.5914 MB / 0.8019 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007041/1.088, allocations: 63.27 kB / 0.802 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/1.088, allocations: 55.83 kB / 0.802 GB, free: 14.44 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004236/1.089, allocations: 194.8 kB / 0.8022 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/1.089, allocations: 59.19 kB / 0.8023 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002736/1.092, allocations: 0.7125 MB / 0.803 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/1.092, allocations: 2.297 kB / 0.803 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.092, allocations: 0 / 0.803 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000461/1.092, allocations: 184.4 kB / 0.8032 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/1.092, allocations: 9.781 kB / 0.8032 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004086/1.093, allocations: 27.67 kB / 0.8032 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/1.093, allocations: 30.66 kB / 0.8032 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001428/1.094, allocations: 0.5213 MB / 0.8037 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001684/1.096, allocations: 0.7622 MB / 0.8045 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003898/1.097, allocations: 160.6 kB / 0.8046 GB, free: 13.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005489/1.097, allocations: 317.5 kB / 0.8049 GB, free: 13.57 MB / 426.7 MB Notification: Performance of Backend: time 9.71e-07/1.097, allocations: 0 / 0.8049 GB, free: 13.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003901/1.101, allocations: 0.8922 MB / 0.8058 GB, free: 13.39 MB / 426.7 MB Notification: Performance of SimCode: time 0.003869/1.105, allocations: 1.758 MB / 0.8075 GB, free: 12.32 MB / 426.7 MB Notification: Performance of Templates: time 0.04603/1.151, allocations: 17.05 MB / 0.8242 GB, free: 3.438 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.makefile b'clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.o ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.c\nclang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_functions.o ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_functions.c\nModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_functions.c:2457:99: error: passing \'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_Geometry\' to parameter of incompatible type \'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__con\'\n _m_flow = omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData, _geometry, tmp1, _dp);\n ^~~~~~~~~\nModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_functions.c:582:187: note: passing argument to parameter \'_IN_con\' here\nmodelica_real omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData_t *threadData, Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__con _IN_con, Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__var _IN_var, modelica_real _dp)\n ^\nModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_functions.c:2510:92: error: passing \'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_Geometry\' to parameter of incompatible type \'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__con\'\n _dp = omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__DP(threadData, _geometry, tmp1, _m_flow);\n ^~~~~~~~~\nModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_functions.c:11:184: note: passing argument to parameter \'_IN_con\' here\nmodelica_real omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__DP(threadData_t *threadData, Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__con _IN_con, Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__var _IN_var, modelica_real _m_flow)\n ^\n2 errors generated.\n: recipe for target \'ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_functions.o\' failed\nmake: *** [ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_functions.o] Error 1\n'