Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009393/0.0009394, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.217/1.217, allocations: 221.4 MB / 236 MB, free: 2.969 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008209/0.0008209, allocations: 90.64 kB / 287 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1712/0.1712, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.66e-05/2.664e-05, allocations: 224 / 451.8 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1295, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.282/1.412, allocations: 499 MB / 0.989 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/1.412, allocations: 98.31 kB / 0.9891 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7748/2.187, allocations: 224.7 MB / 1.209 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.844e-06/2.187, allocations: 0 / 1.209 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.304e-05/2.187, allocations: 10.2 kB / 1.209 GB, free: 120.1 MB / 0.5261 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.002782/2.19, allocations: 0.8956 MB / 1.209 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/2.19, allocations: 12.84 kB / 1.209 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/2.191, allocations: 132.7 kB / 1.21 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/2.192, allocations: 0.4894 MB / 1.21 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/2.192, allocations: 31.22 kB / 1.21 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/2.193, allocations: 38.06 kB / 1.21 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/2.194, allocations: 0.5748 MB / 1.211 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/2.194, allocations: 3.938 kB / 1.211 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/2.194, allocations: 19.31 kB / 1.211 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/2.194, allocations: 15.06 kB / 1.211 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009829/2.195, allocations: 449.9 kB / 1.211 GB, free: 118.3 MB / 0.5261 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.003882/2.199, allocations: 2.637 MB / 1.214 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006687/2.2, allocations: 308.3 kB / 1.214 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/2.2, allocations: 143.9 kB / 1.214 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004296/2.2, allocations: 441.7 kB / 1.215 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/2.2, allocations: 41.66 kB / 1.215 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=33): time 3.306e-06/2.2, allocations: 0 / 1.215 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.001092/2.202, allocations: 452.2 kB / 1.215 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/2.202, allocations: 135.5 kB / 1.215 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005465/2.202, allocations: 439.8 kB / 1.216 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.015e-05/2.202, allocations: 33.61 kB / 1.216 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/2.202, allocations: 268.9 kB / 1.216 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.571e-05/2.202, allocations: 121.2 kB / 1.216 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/2.203, allocations: 9.969 kB / 1.216 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000102/2.203, allocations: 359.8 kB / 1.216 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002603/2.203, allocations: 169.5 kB / 1.217 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003176/2.203, allocations: 313.1 kB / 1.217 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/2.204, allocations: 212.4 kB / 1.217 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/2.204, allocations: 0 / 1.217 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009513/2.205, allocations: 0.6044 MB / 1.218 GB, free: 113 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/2.205, allocations: 7.953 kB / 1.218 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/2.205, allocations: 3.312 kB / 1.218 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/2.206, allocations: 234.7 kB / 1.218 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004912/2.206, allocations: 143.4 kB / 1.218 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006328/2.213, allocations: 23.1 MB / 1.241 GB, free: 88.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006948/2.213, allocations: 70.31 kB / 1.241 GB, free: 88.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/2.214, allocations: 48.39 kB / 1.241 GB, free: 88.52 MB / 0.5261 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.000192/2.214, allocations: 134.7 kB / 1.241 GB, free: 88.39 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/2.214, allocations: 56.81 kB / 1.241 GB, free: 88.37 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001778/2.216, allocations: 1.022 MB / 1.242 GB, free: 87.77 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/2.216, allocations: 3.75 kB / 1.242 GB, free: 87.77 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/2.216, allocations: 0 / 1.242 GB, free: 87.77 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/2.216, allocations: 0 / 1.242 GB, free: 87.77 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/2.217, allocations: 0.9114 MB / 1.243 GB, free: 86.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/2.217, allocations: 0 / 1.243 GB, free: 86.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/2.217, allocations: 51.91 kB / 1.243 GB, free: 86.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001176/2.218, allocations: 236.6 kB / 1.243 GB, free: 86.52 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/2.219, allocations: 12 kB / 1.243 GB, free: 86.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003153/2.219, allocations: 0.5952 MB / 1.244 GB, free: 85.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/2.219, allocations: 4.031 kB / 1.244 GB, free: 85.88 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005768/2.219, allocations: 0.5045 MB / 1.244 GB, free: 85.31 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002215/2.22, allocations: 152.3 kB / 1.244 GB, free: 85.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/2.22, allocations: 8 kB / 1.244 GB, free: 85.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000422/2.22, allocations: 39.91 kB / 1.244 GB, free: 85.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.298e-05/2.22, allocations: 23.97 kB / 1.244 GB, free: 85.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/2.22, allocations: 15.94 kB / 1.244 GB, free: 85.06 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004882/2.221, allocations: 381.5 kB / 1.245 GB, free: 84.69 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/2.221, allocations: 0 / 1.245 GB, free: 84.69 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002034/2.223, allocations: 435.5 kB / 1.245 GB, free: 84.26 MB / 0.5261 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.002769/2.226, allocations: 1.142 MB / 1.246 GB, free: 83.26 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008553/2.227, allocations: 372.5 kB / 1.247 GB, free: 82.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/2.227, allocations: 0 / 1.247 GB, free: 82.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000235/2.227, allocations: 142.8 kB / 1.247 GB, free: 82.77 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/2.228, allocations: 270.1 kB / 1.247 GB, free: 82.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/2.229, allocations: 0.566 MB / 1.248 GB, free: 81.89 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/2.23, allocations: 0.8671 MB / 1.248 GB, free: 81 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001265/2.231, allocations: 0.5414 MB / 1.249 GB, free: 80.46 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002583/2.231, allocations: 79.41 kB / 1.249 GB, free: 80.39 MB / 0.5261 GB Notification: Performance of SimCode: time 1.373e-06/2.231, allocations: 0 / 1.249 GB, free: 80.39 MB / 0.5261 GB Notification: Performance of Templates: time 0.03519/2.267, allocations: 28.24 MB / 1.277 GB, free: 52.23 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.o ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.c ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_functions.h:1695: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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.o] Error 1