Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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: 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.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") 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.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0012/0.0012, allocations: 183.1 kB / 15.76 MB, free: 6.367 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.926/1.926, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001078/0.001079, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2349/0.2349, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003999/0.0003999, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1567, allocations: 58.85 MB / 490.3 MB, free: 8.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.516/1.673, allocations: 0.6172 GB / 1.096 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/1.673, allocations: 99.94 kB / 1.096 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.113/2.786, allocations: 245.1 MB / 1.335 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.485e-06/2.786, allocations: 0.875 kB / 1.335 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.024e-05/2.786, allocations: 18.39 kB / 1.335 GB, free: 106.7 MB / 0.5105 GB 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.002327/2.789, allocations: 1.041 MB / 1.336 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/2.789, allocations: 10.5 kB / 1.336 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009137/2.79, allocations: 134 kB / 1.337 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007654/2.791, allocations: 498.8 kB / 1.337 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/2.791, allocations: 32.66 kB / 1.337 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.865e-05/2.791, allocations: 42.53 kB / 1.337 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/2.792, allocations: 0.597 MB / 1.338 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/2.792, allocations: 1 kB / 1.338 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.719e-05/2.792, allocations: 19.56 kB / 1.338 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/2.792, allocations: 11.75 kB / 1.338 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009188/2.793, allocations: 494 kB / 1.338 GB, free: 105.9 MB / 0.5105 GB 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.00303/2.796, allocations: 2.649 MB / 1.341 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008579/2.797, allocations: 326 kB / 1.341 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004692/2.797, allocations: 323.6 kB / 1.341 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/2.797, allocations: 43.78 kB / 1.341 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 3.887e-06/2.797, allocations: 0 / 1.341 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.001862/2.799, allocations: 0.6999 MB / 1.342 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/2.799, allocations: 133 kB / 1.342 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006373/2.8, allocations: 444.3 kB / 1.343 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.597e-05/2.8, allocations: 32.17 kB / 1.343 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/2.8, allocations: 272.6 kB / 1.343 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/2.8, allocations: 122.6 kB / 1.343 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/2.8, allocations: 10.06 kB / 1.343 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001327/2.8, allocations: 359.4 kB / 1.343 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003784/2.801, allocations: 187.5 kB / 1.344 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004646/2.801, allocations: 330.7 kB / 1.344 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004474/2.802, allocations: 234.3 kB / 1.344 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/2.802, allocations: 4.438 kB / 1.344 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001178/2.803, allocations: 0.6341 MB / 1.345 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/2.803, allocations: 6.781 kB / 1.345 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/2.803, allocations: 3.969 kB / 1.345 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001415/2.804, allocations: 241 kB / 1.345 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005348/2.805, allocations: 139.8 kB / 1.345 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005907/2.811, allocations: 23.1 MB / 1.368 GB, free: 78.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008023/2.812, allocations: 71.09 kB / 1.368 GB, free: 78.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/2.812, allocations: 46.92 kB / 1.368 GB, free: 78.84 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (54): * Single equations (assignments): 45 * 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.0003932/2.812, allocations: 186.7 kB / 1.368 GB, free: 78.73 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/2.812, allocations: 59.42 kB / 1.368 GB, free: 78.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001765/2.814, allocations: 0.6811 MB / 1.369 GB, free: 78.57 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/2.814, allocations: 2.812 kB / 1.369 GB, free: 78.57 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/2.814, allocations: 4.312 kB / 1.369 GB, free: 78.57 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/2.814, allocations: 2.781 kB / 1.369 GB, free: 78.57 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/2.816, allocations: 0.9418 MB / 1.37 GB, free: 78.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/2.816, allocations: 3.625 kB / 1.37 GB, free: 78.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002316/2.816, allocations: 54.39 kB / 1.37 GB, free: 78.22 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001366/2.818, allocations: 231.2 kB / 1.37 GB, free: 78.21 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.398e-05/2.818, allocations: 12.91 kB / 1.37 GB, free: 78.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004096/2.818, allocations: 0.5959 MB / 1.371 GB, free: 77.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/2.818, allocations: 4.719 kB / 1.371 GB, free: 77.69 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008707/2.819, allocations: 0.5378 MB / 1.371 GB, free: 77.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002267/2.819, allocations: 156.5 kB / 1.371 GB, free: 77.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/2.819, allocations: 6.391 kB / 1.371 GB, free: 77.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004359/2.82, allocations: 44.19 kB / 1.371 GB, free: 77.28 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.978e-05/2.82, allocations: 27.58 kB / 1.371 GB, free: 77.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-05/2.82, allocations: 16.38 kB / 1.371 GB, free: 77.28 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005871/2.82, allocations: 382 kB / 1.372 GB, free: 77.19 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/2.821, allocations: 3.281 kB / 1.372 GB, free: 77.19 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002624/2.823, allocations: 480.4 kB / 1.372 GB, free: 77.19 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (25): * Single equations (assignments): 24 * 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.003935/2.827, allocations: 1.232 MB / 1.373 GB, free: 77.02 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001529/2.829, allocations: 412.6 kB / 1.374 GB, free: 77.02 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/2.829, allocations: 1.094 kB / 1.374 GB, free: 77.02 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004268/2.829, allocations: 155.1 kB / 1.374 GB, free: 77.01 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001736/2.831, allocations: 270.7 kB / 1.374 GB, free: 77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/2.833, allocations: 1.071 MB / 1.375 GB, free: 76.45 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005229/2.834, allocations: 0.8642 MB / 1.376 GB, free: 75.75 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00115/2.835, allocations: 194.4 kB / 1.376 GB, free: 75.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002585/2.835, allocations: 67.66 kB / 1.376 GB, free: 75.74 MB / 0.5105 GB Notification: Performance of SimCode: time 1.393e-06/2.835, allocations: 2.344 kB / 1.376 GB, free: 75.74 MB / 0.5105 GB Notification: Performance of Templates: time 0.04061/2.876, allocations: 26.39 MB / 1.402 GB, free: 74.78 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -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_3_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.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.o ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.c ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.c:251: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[6] /* 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[11] /* fitting1.geometry.d_hyd PARAM */, data->simulationInfo->realParameter[10] /* fitting1.geometry.R_0 PARAM */, data->simulationInfo->realParameter[12] /* fitting1.geometry.delta PARAM */, data->simulationInfo->realParameter[9] /* 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[19] /* fitting1.dp variable */, data->localData[0]->realVars[20] /* fitting1.eta_a variable */, data->localData[0]->realVars[21] /* fitting1.eta_b variable */, data->simulationInfo->realParameter[7] /* fitting1.dp_small PARAM */), omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[19] /* fitting1.dp variable */, data->localData[0]->realVars[17] /* fitting1.d_a variable */, data->localData[0]->realVars[18] /* fitting1.d_b variable */, data->simulationInfo->realParameter[7] /* fitting1.dp_small PARAM */)), data->localData[0]->realVars[19] /* fitting1.dp variable */); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ModelicaTest_3.2.3_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.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.o] Error 1