Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001095/0.001095, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.218/1.218, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008508/0.0008509, allocations: 84.11 kB / 292.1 MB, free: 5.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1725/0.1725, allocations: 45.15 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.569e-05/2.573e-05, allocations: 0 / 460.4 MB, free: 70.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09849/0.09854, allocations: 63.25 MB / 0.5114 GB, free: 6.801 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.189/1.287, allocations: 0.4883 GB / 0.9997 GB, free: 166.9 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/1.288, allocations: 95.38 kB / 0.9998 GB, free: 166.9 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.6995/1.987, allocations: 224.9 MB / 1.219 GB, free: 125.2 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.703e-06/1.987, allocations: 0 / 1.219 GB, free: 125.2 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.083e-05/1.987, allocations: 15.64 kB / 1.219 GB, free: 125.2 MB / 0.5417 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.002241/1.99, allocations: 0.8997 MB / 1.22 GB, free: 124.7 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/1.99, allocations: 9.75 kB / 1.22 GB, free: 124.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/1.991, allocations: 144.4 kB / 1.22 GB, free: 124.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008347/1.992, allocations: 488.3 kB / 1.221 GB, free: 124.4 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/1.992, allocations: 36.69 kB / 1.221 GB, free: 124.4 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.347e-05/1.992, allocations: 42.78 kB / 1.221 GB, free: 124.4 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009435/1.993, allocations: 0.5764 MB / 1.222 GB, free: 124.3 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/1.993, allocations: 0 / 1.222 GB, free: 124.3 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.057e-05/1.993, allocations: 26.91 kB / 1.222 GB, free: 124.3 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/1.993, allocations: 15.11 kB / 1.222 GB, free: 124.3 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006955/1.993, allocations: 448.3 kB / 1.222 GB, free: 124.3 MB / 0.5417 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.002515/1.996, allocations: 2.63 MB / 1.225 GB, free: 122.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005499/1.997, allocations: 309.5 kB / 1.225 GB, free: 122.5 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/1.997, allocations: 149.4 kB / 1.225 GB, free: 122.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002986/1.997, allocations: 430 kB / 1.225 GB, free: 122 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/1.997, allocations: 50.14 kB / 1.225 GB, free: 122 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=33): time 1.814e-06/1.997, allocations: 0 / 1.225 GB, free: 122 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33): time 0.000905/1.998, allocations: 443.8 kB / 1.226 GB, free: 121.9 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/1.998, allocations: 135.5 kB / 1.226 GB, free: 121.8 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004302/1.999, allocations: 441.2 kB / 1.226 GB, free: 121.6 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/1.999, allocations: 33.27 kB / 1.226 GB, free: 121.6 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/1.999, allocations: 278.5 kB / 1.227 GB, free: 121.5 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.174e-05/1.999, allocations: 110.7 kB / 1.227 GB, free: 121.4 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/1.999, allocations: 13.34 kB / 1.227 GB, free: 121.4 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.848e-05/1.999, allocations: 361 kB / 1.227 GB, free: 121.1 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002416/1.999, allocations: 172.7 kB / 1.227 GB, free: 121.1 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000299/1.999, allocations: 302.3 kB / 1.228 GB, free: 121 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/2, allocations: 219 kB / 1.228 GB, free: 121 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/2, allocations: 3.781 kB / 1.228 GB, free: 121 MB / 0.5417 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008306/2.001, allocations: 0.6003 MB / 1.228 GB, free: 120.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/2.001, allocations: 10.83 kB / 1.228 GB, free: 120.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/2.001, allocations: 3.719 kB / 1.228 GB, free: 120.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/2.002, allocations: 232.1 kB / 1.229 GB, free: 120.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004449/2.002, allocations: 147.5 kB / 1.229 GB, free: 120.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005195/2.008, allocations: 23.09 MB / 1.251 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004922/2.008, allocations: 70.52 kB / 1.251 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.621e-05/2.008, allocations: 46.75 kB / 1.252 GB, free: 97.08 MB / 0.5417 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.0001321/2.008, allocations: 138.8 kB / 1.252 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/2.008, allocations: 56.89 kB / 1.252 GB, free: 96.95 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/2.01, allocations: 1.022 MB / 1.253 GB, free: 96.81 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/2.01, allocations: 1.688 kB / 1.253 GB, free: 96.81 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/2.01, allocations: 2.562 kB / 1.253 GB, free: 96.81 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/2.01, allocations: 0 / 1.253 GB, free: 96.81 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/2.011, allocations: 0.9066 MB / 1.254 GB, free: 96.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/2.011, allocations: 6.391 kB / 1.254 GB, free: 96.46 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/2.011, allocations: 48.03 kB / 1.254 GB, free: 96.46 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001074/2.012, allocations: 236.6 kB / 1.254 GB, free: 96.45 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/2.012, allocations: 12.14 kB / 1.254 GB, free: 96.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002798/2.013, allocations: 0.5971 MB / 1.254 GB, free: 95.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/2.013, allocations: 0 / 1.254 GB, free: 95.93 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004867/2.013, allocations: 0.5087 MB / 1.255 GB, free: 95.63 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/2.013, allocations: 145.4 kB / 1.255 GB, free: 95.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.396e-05/2.013, allocations: 7.25 kB / 1.255 GB, free: 95.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003851/2.014, allocations: 41.08 kB / 1.255 GB, free: 95.51 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.728e-05/2.014, allocations: 27.53 kB / 1.255 GB, free: 95.51 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/2.014, allocations: 15.19 kB / 1.255 GB, free: 95.51 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003573/2.014, allocations: 383.2 kB / 1.256 GB, free: 95.42 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/2.014, allocations: 0 / 1.256 GB, free: 95.42 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001699/2.016, allocations: 458.6 kB / 1.256 GB, free: 95.36 MB / 0.5417 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.002164/2.018, allocations: 1.16 MB / 1.257 GB, free: 95.15 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000651/2.019, allocations: 381.4 kB / 1.257 GB, free: 95.14 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/2.019, allocations: 0 / 1.257 GB, free: 95.14 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002074/2.019, allocations: 131 kB / 1.258 GB, free: 95.13 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/2.02, allocations: 286.6 kB / 1.258 GB, free: 95.12 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008771/2.021, allocations: 0.5658 MB / 1.258 GB, free: 94.87 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/2.021, allocations: 0.8678 MB / 1.259 GB, free: 94.16 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001049/2.023, allocations: 0.5387 MB / 1.26 GB, free: 94.14 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/2.023, allocations: 83.14 kB / 1.26 GB, free: 94.13 MB / 0.5417 GB Notification: Performance of SimCode: time 2.3e-07/2.023, allocations: 3.062 kB / 1.26 GB, free: 94.13 MB / 0.5417 GB Notification: Performance of Templates: time 0.03479/2.058, allocations: 28.42 MB / 1.288 GB, free: 89.96 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.c ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.o] Error 1