Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01103/0.01103, allocations: 175.1 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.899/1.899, allocations: 194.5 MB / 210.3 MB, free: 7.539 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002024/0.002024, allocations: 108.6 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2471/0.2471, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005196/0.0005196, allocations: 13.59 kB / 406.2 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1458, allocations: 54.87 MB / 461 MB, free: 3.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.553/1.699, allocations: 0.6137 GB / 1.064 GB, free: 38.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/1.699, allocations: 97.53 kB / 1.064 GB, free: 38.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.136/2.835, allocations: 243.3 MB / 1.302 GB, free: 93.58 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.624e-06/2.835, allocations: 0 / 1.302 GB, free: 93.58 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.447e-05/2.835, allocations: 19.7 kB / 1.302 GB, free: 93.58 MB / 490.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.003106/2.838, allocations: 1.034 MB / 1.303 GB, free: 93.18 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.115e-05/2.838, allocations: 12.28 kB / 1.303 GB, free: 93.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/2.839, allocations: 140.4 kB / 1.303 GB, free: 93.14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/2.841, allocations: 0.5387 MB / 1.303 GB, free: 92.92 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.268e-05/2.841, allocations: 34.45 kB / 1.303 GB, free: 92.92 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.791e-05/2.841, allocations: 45.11 kB / 1.303 GB, free: 92.92 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/2.842, allocations: 0.5824 MB / 1.304 GB, free: 92.78 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/2.842, allocations: 1.625 kB / 1.304 GB, free: 92.78 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.904e-05/2.842, allocations: 24.77 kB / 1.304 GB, free: 92.78 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/2.842, allocations: 10.22 kB / 1.304 GB, free: 92.78 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/2.843, allocations: 490.1 kB / 1.305 GB, free: 92.78 MB / 490.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.003215/2.847, allocations: 2.589 MB / 1.307 GB, free: 91.03 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006923/2.847, allocations: 318.7 kB / 1.307 GB, free: 91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004326/2.848, allocations: 322.8 kB / 1.308 GB, free: 90.72 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/2.848, allocations: 37.66 kB / 1.308 GB, free: 90.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 3.426e-06/2.848, allocations: 0 / 1.308 GB, free: 90.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.001767/2.85, allocations: 0.6833 MB / 1.308 GB, free: 90.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.329e-05/2.85, allocations: 134.8 kB / 1.308 GB, free: 90.37 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005519/2.85, allocations: 389.8 kB / 1.309 GB, free: 90.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.277e-05/2.85, allocations: 31.86 kB / 1.309 GB, free: 90.22 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/2.851, allocations: 292.1 kB / 1.309 GB, free: 90.08 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/2.851, allocations: 118.4 kB / 1.309 GB, free: 90.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/2.851, allocations: 8.906 kB / 1.309 GB, free: 90.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/2.851, allocations: 368.1 kB / 1.31 GB, free: 89.71 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003805/2.851, allocations: 191 kB / 1.31 GB, free: 89.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000456/2.852, allocations: 369.8 kB / 1.31 GB, free: 89.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004717/2.852, allocations: 234.2 kB / 1.31 GB, free: 89.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/2.852, allocations: 1.375 kB / 1.31 GB, free: 89.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001437/2.854, allocations: 0.6767 MB / 1.311 GB, free: 89.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/2.854, allocations: 7.375 kB / 1.311 GB, free: 89.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/2.854, allocations: 5.344 kB / 1.311 GB, free: 89.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001443/2.855, allocations: 236.9 kB / 1.311 GB, free: 89.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005841/2.856, allocations: 151 kB / 1.311 GB, free: 89.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008007/2.864, allocations: 23.1 MB / 1.334 GB, free: 65.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009926/2.865, allocations: 68.38 kB / 1.334 GB, free: 65.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000267/2.865, allocations: 54.95 kB / 1.334 GB, free: 65.64 MB / 490.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 (61): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 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.0006572/2.866, allocations: 198.8 kB / 1.334 GB, free: 65.53 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002669/2.866, allocations: 50.81 kB / 1.334 GB, free: 65.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002006/2.868, allocations: 0.6745 MB / 1.335 GB, free: 65.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/2.868, allocations: 3.156 kB / 1.335 GB, free: 65.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/2.868, allocations: 0 / 1.335 GB, free: 65.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/2.868, allocations: 1.062 kB / 1.335 GB, free: 65.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002522/2.871, allocations: 1.149 MB / 1.336 GB, free: 64.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/2.871, allocations: 1.938 kB / 1.336 GB, free: 64.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/2.871, allocations: 61.59 kB / 1.336 GB, free: 64.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001459/2.872, allocations: 234.5 kB / 1.336 GB, free: 64.93 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.903e-05/2.873, allocations: 9.875 kB / 1.336 GB, free: 64.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005134/2.873, allocations: 0.6005 MB / 1.337 GB, free: 64.41 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/2.873, allocations: 2.25 kB / 1.337 GB, free: 64.41 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/2.874, allocations: 0.6003 MB / 1.338 GB, free: 64.06 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003552/2.875, allocations: 142.5 kB / 1.338 GB, free: 63.95 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/2.875, allocations: 13.09 kB / 1.338 GB, free: 63.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004192/2.875, allocations: 38.39 kB / 1.338 GB, free: 63.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.883e-05/2.875, allocations: 29.12 kB / 1.338 GB, free: 63.94 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.121e-05/2.875, allocations: 21.7 kB / 1.338 GB, free: 63.94 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005585/2.876, allocations: 322.1 kB / 1.338 GB, free: 63.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.92e-07/2.876, allocations: 0 / 1.338 GB, free: 63.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003412/2.879, allocations: 481.4 kB / 1.339 GB, free: 63.85 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (28): * Single equations (assignments): 27 * 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 Backend phase and start with SimCode phase: time 0.004383/2.884, allocations: 1.23 MB / 1.34 GB, free: 63.68 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001343/2.885, allocations: 438.8 kB / 1.34 GB, free: 63.68 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/2.885, allocations: 0 / 1.34 GB, free: 63.68 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003591/2.886, allocations: 171.9 kB / 1.34 GB, free: 63.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/2.887, allocations: 227.7 kB / 1.341 GB, free: 63.67 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007954/2.895, allocations: 2.715 MB / 1.343 GB, free: 63.07 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004491/2.895, allocations: 0.8722 MB / 1.344 GB, free: 62.37 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001019/2.896, allocations: 186.2 kB / 1.344 GB, free: 62.36 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/2.897, allocations: 77.66 kB / 1.344 GB, free: 62.35 MB / 490.7 MB Notification: Performance of SimCode: time 1.704e-06/2.897, allocations: 0 / 1.344 GB, free: 62.35 MB / 490.7 MB Notification: Performance of Templates: time 0.04293/2.94, allocations: 24.95 MB / 1.369 GB, free: 61.32 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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=10 -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 ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.c:298:157: error: passing 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_Geometry' to parameter of incompatible type 'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__con' data->localData[0]->realVars[8] /* boundary.m_flow_in variable */ = omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData, omc_Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_Geometry(threadData, data->simulationInfo->realParameter[7] /* fitting1.geometry.d_hyd PARAM */, data->simulationInfo->realParameter[6] /* fitting1.geometry.R_0 PARAM */, data->simulationInfo->realParameter[8] /* fitting1.geometry.delta PARAM */, data->simulationInfo->realParameter[5] /* fitting1.geometry.K PARAM */), omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__var(threadData, omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[21] /* fitting1.dp variable */, data->localData[0]->realVars[22] /* fitting1.eta_a variable */, data->localData[0]->realVars[23] /* fitting1.eta_b variable */, data->simulationInfo->realParameter[3] /* fitting1.dp_small PARAM */), omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[21] /* fitting1.dp variable */, data->localData[0]->realVars[19] /* fitting1.d_a variable */, data->localData[0]->realVars[20] /* fitting1.d_b variable */, data->simulationInfo->realParameter[3] /* fitting1.dp_small PARAM */)), data->localData[0]->realVars[21] /* fitting1.dp variable */); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_functions.h:1943:187: note: passing argument to parameter '_IN_con' here modelica_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); ^ 1 error generated. make: *** [: ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.o] Error 1