Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002645/0.002645, allocations: 369.4 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.794/3.794, allocations: 388.9 MB / 405.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003626/0.003625, allocations: 228.9 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.559/0.559, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004742/0.0004746, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09485/0.09535, allocations: 54.88 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.6123/0.7077, allocations: 173 MB / 0.8491 GB, free: 15.24 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01873/0.7265, allocations: 5.638 MB / 0.8546 GB, free: 9.598 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001264/0.7279, allocations: 23.81 kB / 0.8546 GB, free: 9.574 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001807/0.7297, allocations: 234.5 kB / 0.8548 GB, free: 9.344 MB / 442.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+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.2+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.2+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.2+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.2+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.2+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.009752/0.7396, allocations: 1.677 MB / 0.8565 GB, free: 7.668 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00256/0.7421, allocations: 0.5501 MB / 0.857 GB, free: 7.125 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003205/0.7454, allocations: 1.723 MB / 0.8587 GB, free: 5.395 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009396/0.7464, allocations: 328.3 kB / 0.859 GB, free: 5.074 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001524/0.7479, allocations: 0.4941 MB / 0.8595 GB, free: 4.578 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001138/0.7491, allocations: 438.2 kB / 0.8599 GB, free: 4.148 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001861/0.7493, allocations: 24 kB / 0.8599 GB, free: 4.125 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006202/0.7556, allocations: 2.273 MB / 0.8622 GB, free: 1.848 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003019/0.7559, allocations: 127.5 kB / 0.8623 GB, free: 1.723 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003117/0.7562, allocations: 149.4 kB / 0.8624 GB, free: 1.57 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003261/0.7595, allocations: 1.208 MB / 0.8636 GB, free: 368 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.818e-06/0.7596, allocations: 7.938 kB / 0.8636 GB, free: 360 kB / 442.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.7596, allocations: 3.938 kB / 0.8636 GB, free: 356 kB / 442.7 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.7596, allocations: 0 / 0.8636 GB, free: 356 kB / 442.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.002834/0.7625, allocations: 0.9777 MB / 0.8646 GB, free: 15.32 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.7625, allocations: 8.562 kB / 0.8646 GB, free: 15.31 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001528/0.7641, allocations: 135.2 kB / 0.8647 GB, free: 15.18 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.7654, allocations: 488.7 kB / 0.8652 GB, free: 14.67 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.635e-05/0.7655, allocations: 36.95 kB / 0.8652 GB, free: 14.63 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.7656, allocations: 43.98 kB / 0.8652 GB, free: 14.59 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.7675, allocations: 0.5828 MB / 0.8658 GB, free: 13.96 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.7676, allocations: 0.625 kB / 0.8658 GB, free: 13.96 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.7677, allocations: 27.98 kB / 0.8658 GB, free: 13.94 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/0.7677, allocations: 12 kB / 0.8659 GB, free: 13.93 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/0.7695, allocations: 479.5 kB / 0.8663 GB, free: 13.46 MB / 458.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.004899/0.7745, allocations: 2.62 MB / 0.8689 GB, free: 10.62 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.7757, allocations: 343.3 kB / 0.8692 GB, free: 10.27 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00054/0.7763, allocations: 181.3 kB / 0.8694 GB, free: 10.09 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002003/0.7783, allocations: 1.312 MB / 0.8707 GB, free: 8.559 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.772e-05/0.7784, allocations: 42.78 kB / 0.8707 GB, free: 8.512 MB / 458.7 MB Notification: Performance of pre-optimization done (n=33): time 3.527e-06/0.7784, allocations: 0 / 0.8707 GB, free: 8.512 MB / 458.7 MB Notification: Performance of matching and sorting (n=33): time 0.002764/0.7812, allocations: 0.7154 MB / 0.8714 GB, free: 7.77 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.354e-05/0.7813, allocations: 132.5 kB / 0.8715 GB, free: 7.609 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00074/0.7821, allocations: 429.9 kB / 0.8719 GB, free: 7.184 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.247e-05/0.7822, allocations: 33.7 kB / 0.872 GB, free: 7.145 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002922/0.7825, allocations: 295.5 kB / 0.8722 GB, free: 6.852 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/0.7826, allocations: 118.4 kB / 0.8724 GB, free: 6.734 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/0.7827, allocations: 4 kB / 0.8724 GB, free: 6.73 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.7829, allocations: 354.8 kB / 0.8727 GB, free: 6.375 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00055/0.7835, allocations: 160.8 kB / 0.8729 GB, free: 6.219 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006723/0.7841, allocations: 325.6 kB / 0.8732 GB, free: 5.824 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006368/0.7848, allocations: 208.9 kB / 0.8734 GB, free: 5.621 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.7848, allocations: 0 / 0.8734 GB, free: 5.621 MB / 458.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001851/0.7867, allocations: 0.5837 MB / 0.8739 GB, free: 5.027 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/0.7868, allocations: 12.03 kB / 0.8739 GB, free: 5.016 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.7868, allocations: 4 kB / 0.8739 GB, free: 5.012 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002828/0.7896, allocations: 288.5 kB / 0.8742 GB, free: 4.727 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007474/0.7904, allocations: 119.9 kB / 0.8743 GB, free: 4.609 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007445/0.7912, allocations: 0.5991 MB / 0.8749 GB, free: 3.984 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006746/0.7919, allocations: 71.52 kB / 0.875 GB, free: 3.914 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.792, allocations: 47.98 kB / 0.875 GB, free: 3.867 MB / 458.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.0004076/0.7924, allocations: 189.6 kB / 0.8752 GB, free: 3.672 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.7926, allocations: 47.44 kB / 0.8753 GB, free: 3.625 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002802/0.7954, allocations: 0.7343 MB / 0.876 GB, free: 2.867 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.7955, allocations: 4 kB / 0.876 GB, free: 2.863 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.7955, allocations: 3.938 kB / 0.876 GB, free: 2.859 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002929/0.7958, allocations: 144.4 kB / 0.8761 GB, free: 2.699 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/0.796, allocations: 4 kB / 0.8761 GB, free: 2.695 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004583/0.7964, allocations: 39.86 kB / 0.8762 GB, free: 2.656 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.7965, allocations: 23.97 kB / 0.8762 GB, free: 2.633 MB / 458.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001612/0.7982, allocations: 0.4895 MB / 0.8767 GB, free: 2.133 MB / 458.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001912/0.8001, allocations: 0.7211 MB / 0.8774 GB, free: 1.395 MB / 458.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004864/0.8007, allocations: 156.1 kB / 0.8775 GB, free: 1.242 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006422/0.8013, allocations: 323.1 kB / 0.8778 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of Backend: time 9.91e-07/0.8014, allocations: 0 / 0.8778 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003881/0.8052, allocations: 0.8299 MB / 0.8786 GB, free: 108 kB / 458.7 MB Notification: Performance of SimCode: time 0.004027/0.8093, allocations: 1.702 MB / 0.8803 GB, free: 14.36 MB / 474.7 MB Notification: Performance of Templates: time 0.336/1.145, allocations: 15.93 MB / 0.8959 GB, free: 173.4 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_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_2_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.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.o ModelicaTest_3.2.2_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_2_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.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_functions.o ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_functions.c\nModelicaTest_3.2.2_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.2_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.2_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.2_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.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_functions.o\' failed\nmake: *** [ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_functions.o] Error 1\n'