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.0009686/0.0009686, allocations: 186.7 kB / 13.19 MB, free: 2.121 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.287/1.287, allocations: 205.2 MB / 218.9 MB, free: 9.141 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.000762/0.000762, allocations: 89.55 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3412/0.3412, allocations: 43.47 MB / 358.6 MB, free: 51.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.47e-05/2.471e-05, allocations: 4 kB / 425.3 MB, free: 8.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1073, allocations: 58.85 MB / 484.2 MB, free: 13.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.174/1.281, allocations: 0.5845 GB / 1.057 GB, free: 51.88 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003288/1.282, allocations: 91.94 kB / 1.057 GB, free: 51.79 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7296/2.011, allocations: 239.4 MB / 1.291 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.703e-06/2.011, allocations: 3.938 kB / 1.291 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.102e-05/2.011, allocations: 19.98 kB / 1.291 GB, free: 26.53 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.002433/2.014, allocations: 0.9517 MB / 1.292 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/2.014, allocations: 12.03 kB / 1.292 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/2.015, allocations: 139.1 kB / 1.292 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008195/2.016, allocations: 487.2 kB / 1.293 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.63e-05/2.016, allocations: 33 kB / 1.293 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.18e-05/2.016, allocations: 40 kB / 1.293 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008963/2.017, allocations: 0.5733 MB / 1.293 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/2.017, allocations: 4 kB / 1.293 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.62e-05/2.017, allocations: 20 kB / 1.293 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/2.017, allocations: 15.94 kB / 1.293 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006783/2.017, allocations: 450.8 kB / 1.294 GB, free: 23.71 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.00236/2.02, allocations: 2.646 MB / 1.296 GB, free: 20.84 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004931/2.02, allocations: 304.8 kB / 1.297 GB, free: 20.53 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/2.021, allocations: 149.4 kB / 1.297 GB, free: 20.38 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002821/2.021, allocations: 329.9 kB / 1.297 GB, free: 20 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/2.021, allocations: 38.84 kB / 1.297 GB, free: 19.96 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 2.515e-06/2.021, allocations: 0 / 1.297 GB, free: 19.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.0008623/2.022, allocations: 439.9 kB / 1.298 GB, free: 19.52 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/2.022, allocations: 132.5 kB / 1.298 GB, free: 19.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000416/2.022, allocations: 443.8 kB / 1.298 GB, free: 18.92 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.066e-05/2.022, allocations: 33.7 kB / 1.298 GB, free: 18.88 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/2.022, allocations: 272.1 kB / 1.299 GB, free: 18.61 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.053e-05/2.022, allocations: 122.3 kB / 1.299 GB, free: 18.49 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.328e-05/2.023, allocations: 8 kB / 1.299 GB, free: 18.48 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.315e-05/2.023, allocations: 358.8 kB / 1.299 GB, free: 18.12 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/2.023, allocations: 169.1 kB / 1.299 GB, free: 17.96 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002691/2.023, allocations: 309 kB / 1.299 GB, free: 17.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/2.023, allocations: 215.8 kB / 1.3 GB, free: 17.39 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/2.023, allocations: 4 kB / 1.3 GB, free: 17.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009096/2.024, allocations: 0.5989 MB / 1.3 GB, free: 16.77 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/2.024, allocations: 4 kB / 1.3 GB, free: 16.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/2.024, allocations: 4.438 kB / 1.3 GB, free: 16.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/2.026, allocations: 236.6 kB / 1.3 GB, free: 16.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004429/2.026, allocations: 139.8 kB / 1.301 GB, free: 16.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2823/2.308, allocations: 23.09 MB / 1.323 GB, free: 85.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006469/2.309, allocations: 69.78 kB / 1.323 GB, free: 85.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.625e-05/2.309, allocations: 49.58 kB / 1.323 GB, free: 85.64 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 () * 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.0001426/2.309, allocations: 132.4 kB / 1.323 GB, free: 85.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.484e-05/2.309, allocations: 57.38 kB / 1.323 GB, free: 85.54 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/2.311, allocations: 0.6463 MB / 1.324 GB, free: 85.43 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/2.311, allocations: 4.969 kB / 1.324 GB, free: 85.43 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/2.311, allocations: 4.688 kB / 1.324 GB, free: 85.43 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/2.311, allocations: 3.797 kB / 1.324 GB, free: 85.43 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/2.312, allocations: 0.913 MB / 1.325 GB, free: 85.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/2.312, allocations: 4.406 kB / 1.325 GB, free: 85.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/2.312, allocations: 52.39 kB / 1.325 GB, free: 85.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001151/2.313, allocations: 232 kB / 1.325 GB, free: 85.07 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/2.313, allocations: 16.02 kB / 1.325 GB, free: 85.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002992/2.314, allocations: 0.5921 MB / 1.326 GB, free: 84.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/2.314, allocations: 2.156 kB / 1.326 GB, free: 84.56 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005475/2.314, allocations: 0.4932 MB / 1.326 GB, free: 84.27 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/2.314, allocations: 168.5 kB / 1.326 GB, free: 84.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.972e-05/2.314, allocations: 7.016 kB / 1.326 GB, free: 84.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003645/2.315, allocations: 40.12 kB / 1.327 GB, free: 84.15 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.187e-05/2.315, allocations: 22.41 kB / 1.327 GB, free: 84.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/2.315, allocations: 15.55 kB / 1.327 GB, free: 84.15 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004561/2.315, allocations: 380.4 kB / 1.327 GB, free: 84.06 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.61e-07/2.315, allocations: 0.9375 kB / 1.327 GB, free: 84.06 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002213/2.318, allocations: 486.5 kB / 1.327 GB, free: 84.06 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 () * 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.002243/2.32, allocations: 1.231 MB / 1.329 GB, free: 83.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007395/2.321, allocations: 381.6 kB / 1.329 GB, free: 83.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/2.321, allocations: 0 / 1.329 GB, free: 83.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002332/2.321, allocations: 130.2 kB / 1.329 GB, free: 83.91 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/2.322, allocations: 276.2 kB / 1.329 GB, free: 83.91 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009413/2.323, allocations: 0.5635 MB / 1.33 GB, free: 83.69 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/2.323, allocations: 0.8646 MB / 1.331 GB, free: 82.98 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007881/2.324, allocations: 187.2 kB / 1.331 GB, free: 82.98 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/2.324, allocations: 69.09 kB / 1.331 GB, free: 82.97 MB / 0.5105 GB Notification: Performance of SimCode: time 5.21e-07/2.324, allocations: 0 / 1.331 GB, free: 82.97 MB / 0.5105 GB Notification: Performance of Templates: time 0.03917/2.364, allocations: 29.22 MB / 1.36 GB, free: 82.07 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:1745: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