Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.TestComponents.NewFittings.Bends.CurvedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00257/0.002575, allocations: 355.6 kB / 15.95 MB, free: 6.215 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.939/3.939, allocations: 341.5 MB / 358.2 MB, free: 12.55 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.003571/0.003571, allocations: 233.2 kB / 397.9 MB, free: 4.891 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.4883/0.4883, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006259/0.0006262, allocations: 12 kB / 0.5592 GB, free: 53.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08791/0.08858, allocations: 48.71 MB / 0.6068 GB, free: 4.625 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.8775/0.9661, allocations: 173 MB / 0.7757 GB, free: 4.801 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0117/0.9778, allocations: 5.625 MB / 0.7812 GB, free: 4.695 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.9789, allocations: 32.5 kB / 0.7812 GB, free: 4.691 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.9802, allocations: 233.5 kB / 0.7814 GB, free: 4.688 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: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.00736/0.9875, allocations: 1.669 MB / 0.7831 GB, free: 4.625 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00264/0.9902, allocations: 0.5501 MB / 0.7836 GB, free: 4.613 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003339/0.9936, allocations: 1.722 MB / 0.7853 GB, free: 4.609 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/0.9947, allocations: 337.6 kB / 0.7856 GB, free: 4.582 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001836/0.9966, allocations: 498.6 kB / 0.7861 GB, free: 4.582 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001507/0.9981, allocations: 437.1 kB / 0.7865 GB, free: 4.582 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002281/0.9984, allocations: 25.06 kB / 0.7865 GB, free: 4.582 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006664/1.005, allocations: 2.28 MB / 0.7888 GB, free: 4.559 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000328/1.005, allocations: 126.4 kB / 0.7889 GB, free: 4.559 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004777/1.006, allocations: 151.6 kB / 0.789 GB, free: 4.527 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003595/1.01, allocations: 1.209 MB / 0.7902 GB, free: 4.441 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/1.01, allocations: 0 / 0.7902 GB, free: 4.441 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.595e-06/1.01, allocations: 0 / 0.7902 GB, free: 4.441 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.533e-05/1.01, allocations: 1.781 kB / 0.7902 GB, free: 4.441 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002841/1.013, allocations: 0.9753 MB / 0.7912 GB, free: 3.805 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/1.013, allocations: 10.03 kB / 0.7912 GB, free: 3.805 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/1.014, allocations: 137.3 kB / 0.7913 GB, free: 3.773 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/1.015, allocations: 492.3 kB / 0.7918 GB, free: 3.527 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.111e-05/1.015, allocations: 31.64 kB / 0.7918 GB, free: 3.527 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.594e-05/1.015, allocations: 39.66 kB / 0.7918 GB, free: 3.527 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/1.017, allocations: 0.5855 MB / 0.7924 GB, free: 3.398 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/1.017, allocations: 3.953 kB / 0.7924 GB, free: 3.395 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.756e-05/1.017, allocations: 22.81 kB / 0.7924 GB, free: 3.395 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.452e-05/1.017, allocations: 13.59 kB / 0.7924 GB, free: 3.395 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/1.019, allocations: 476.5 kB / 0.7929 GB, free: 3.387 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.004808/1.024, allocations: 2.623 MB / 0.7955 GB, free: 17.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/1.025, allocations: 340.6 kB / 0.7958 GB, free: 17.58 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005227/1.025, allocations: 181.5 kB / 0.796 GB, free: 17.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002104/1.028, allocations: 1.313 MB / 0.7972 GB, free: 16.44 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.645e-05/1.028, allocations: 37.09 kB / 0.7973 GB, free: 16.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 4.869e-06/1.028, allocations: 4.75 kB / 0.7973 GB, free: 16.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.002787/1.03, allocations: 0.7148 MB / 0.798 GB, free: 16.22 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.647e-05/1.031, allocations: 134.9 kB / 0.7981 GB, free: 16.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008078/1.031, allocations: 423 kB / 0.7985 GB, free: 15.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001074/1.032, allocations: 37 kB / 0.7985 GB, free: 15.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/1.032, allocations: 300.7 kB / 0.7988 GB, free: 15.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/1.032, allocations: 110.5 kB / 0.7989 GB, free: 15.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/1.032, allocations: 10.72 kB / 0.7989 GB, free: 15.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001862/1.032, allocations: 359.2 kB / 0.7993 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005549/1.033, allocations: 154.9 kB / 0.7994 GB, free: 15.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000637/1.033, allocations: 324.7 kB / 0.7997 GB, free: 15.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006111/1.034, allocations: 205 kB / 0.7999 GB, free: 15.15 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/1.034, allocations: 1.875 kB / 0.7999 GB, free: 15.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001787/1.036, allocations: 0.5803 MB / 0.8005 GB, free: 15.08 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/1.036, allocations: 11 kB / 0.8005 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/1.036, allocations: 3.312 kB / 0.8005 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002715/1.039, allocations: 290 kB / 0.8008 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008023/1.04, allocations: 125.3 kB / 0.8009 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006872/1.04, allocations: 0.6017 MB / 0.8015 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007303/1.041, allocations: 68.12 kB / 0.8016 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/1.041, allocations: 50.3 kB / 0.8016 GB, free: 14.51 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (51): * Single equations (assignments): 50 * 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.0003988/1.042, allocations: 185.6 kB / 0.8018 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/1.042, allocations: 50.58 kB / 0.8018 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002597/1.044, allocations: 0.716 MB / 0.8025 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/1.044, allocations: 0.9375 kB / 0.8025 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/1.044, allocations: 0.75 kB / 0.8025 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003379/1.045, allocations: 149.9 kB / 0.8027 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/1.045, allocations: 6.797 kB / 0.8027 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004445/1.045, allocations: 31.5 kB / 0.8027 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.804e-05/1.045, allocations: 25.2 kB / 0.8028 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001557/1.047, allocations: 0.5005 MB / 0.8032 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001838/1.049, allocations: 0.7226 MB / 0.8039 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004505/1.049, allocations: 157.3 kB / 0.8041 GB, free: 13.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006734/1.05, allocations: 323.9 kB / 0.8044 GB, free: 13.62 MB / 426.7 MB Notification: Performance of Backend: time 1.152e-06/1.05, allocations: 2.125 kB / 0.8044 GB, free: 13.62 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003872/1.054, allocations: 0.8391 MB / 0.8052 GB, free: 13.45 MB / 426.7 MB Notification: Performance of SimCode: time 0.003826/1.058, allocations: 1.688 MB / 0.8069 GB, free: 12.41 MB / 426.7 MB Notification: Performance of Templates: time 0.04484/1.103, allocations: 15.94 MB / 0.8224 GB, free: 4.867 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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_TestComponents_NewFittings_Bends_CurvedBend -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.TestComponents.NewFittings.Bends.CurvedBend.o ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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_TestComponents_NewFittings_Bends_CurvedBend -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.TestComponents.NewFittings.Bends.CurvedBend_functions.o ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_functions.c\nModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_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.TestComponents.NewFittings.Bends.CurvedBend_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.TestComponents.NewFittings.Bends.CurvedBend_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.TestComponents.NewFittings.Bends.CurvedBend_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.TestComponents.NewFittings.Bends.CurvedBend_functions.o\' failed\nmake: *** [ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_functions.o] Error 1\n'