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.002036/0.002037, allocations: 200.7 kB / 18.11 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.588/1.588, allocations: 226.5 MB / 245.4 MB, free: 6.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009253/0.0009254, allocations: 99.95 kB / 297.5 MB, free: 6.656 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4375/0.4375, allocations: 44.82 MB / 394.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003651/0.0003652, allocations: 4 kB / 467.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4877/0.4881, allocations: 62.95 MB / 0.5184 GB, free: 37.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.257/1.745, allocations: 0.4884 GB / 1.007 GB, free: 117.1 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/1.746, allocations: 99.92 kB / 1.007 GB, free: 117 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.8853/2.631, allocations: 225.3 MB / 1.227 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.737e-06/2.631, allocations: 0 / 1.227 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.205e-05/2.631, allocations: 28.16 kB / 1.227 GB, free: 113.3 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.003662/2.635, allocations: 0.9712 MB / 1.228 GB, free: 112.3 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/2.635, allocations: 15.97 kB / 1.228 GB, free: 112.3 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/2.636, allocations: 140.1 kB / 1.228 GB, free: 112.1 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/2.637, allocations: 0.5026 MB / 1.229 GB, free: 111.6 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.391e-05/2.637, allocations: 33 kB / 1.229 GB, free: 111.6 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/2.638, allocations: 40 kB / 1.229 GB, free: 111.5 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/2.639, allocations: 0.609 MB / 1.229 GB, free: 110.9 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/2.639, allocations: 0 / 1.229 GB, free: 110.9 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.895e-05/2.639, allocations: 24 kB / 1.229 GB, free: 110.9 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/2.639, allocations: 15.94 kB / 1.229 GB, free: 110.8 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/2.64, allocations: 495.6 kB / 1.23 GB, free: 110.4 MB / 0.5417 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.003524/2.644, allocations: 2.632 MB / 1.232 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006666/2.644, allocations: 348.1 kB / 1.233 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/2.645, allocations: 157.4 kB / 1.233 GB, free: 107 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000397/2.645, allocations: 437.8 kB / 1.233 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/2.645, allocations: 42.84 kB / 1.233 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=33): time 2.755e-06/2.645, allocations: 0 / 1.233 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33): time 0.001752/2.647, allocations: 0.7189 MB / 1.234 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.243e-05/2.647, allocations: 136.5 kB / 1.234 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007106/2.648, allocations: 494 kB / 1.235 GB, free: 105 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.95e-05/2.648, allocations: 33.7 kB / 1.235 GB, free: 105 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/2.648, allocations: 280 kB / 1.235 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/2.648, allocations: 118.3 kB / 1.235 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/2.648, allocations: 8 kB / 1.235 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001316/2.648, allocations: 358.8 kB / 1.235 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003749/2.649, allocations: 197 kB / 1.235 GB, free: 104 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004141/2.649, allocations: 324.9 kB / 1.236 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007258/2.65, allocations: 498.7 kB / 1.236 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/2.65, allocations: 0 / 1.236 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001196/2.651, allocations: 0.6458 MB / 1.237 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/2.651, allocations: 8 kB / 1.237 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/2.651, allocations: 4 kB / 1.237 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001242/2.652, allocations: 233 kB / 1.237 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004695/2.653, allocations: 143.8 kB / 1.237 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008586/2.661, allocations: 23.12 MB / 1.26 GB, free: 77.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/2.663, allocations: 71.62 kB / 1.26 GB, free: 77.33 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002633/2.663, allocations: 47.98 kB / 1.26 GB, free: 77.29 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 () * 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.0006914/2.664, allocations: 181.7 kB / 1.26 GB, free: 77.1 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002685/2.664, allocations: 51.34 kB / 1.26 GB, free: 77.05 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/2.666, allocations: 1.054 MB / 1.261 GB, free: 75.98 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/2.666, allocations: 4 kB / 1.261 GB, free: 75.98 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/2.666, allocations: 4 kB / 1.261 GB, free: 75.97 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/2.666, allocations: 0 / 1.261 GB, free: 75.97 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/2.668, allocations: 0.9439 MB / 1.262 GB, free: 74.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/2.668, allocations: 0 / 1.262 GB, free: 74.95 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/2.668, allocations: 47.97 kB / 1.262 GB, free: 74.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001194/2.67, allocations: 236.7 kB / 1.262 GB, free: 74.67 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/2.67, allocations: 16 kB / 1.262 GB, free: 74.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003378/2.67, allocations: 0.5875 MB / 1.263 GB, free: 74.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/2.67, allocations: 11.95 kB / 1.263 GB, free: 74.03 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008015/2.671, allocations: 499.8 kB / 1.264 GB, free: 73.51 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003153/2.671, allocations: 156.3 kB / 1.264 GB, free: 73.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/2.671, allocations: 8 kB / 1.264 GB, free: 73.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004679/2.672, allocations: 39.95 kB / 1.264 GB, free: 73.29 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.416e-05/2.672, allocations: 19.92 kB / 1.264 GB, free: 73.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.059e-05/2.672, allocations: 15.98 kB / 1.264 GB, free: 73.25 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005458/2.673, allocations: 386.8 kB / 1.264 GB, free: 72.88 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.21e-07/2.673, allocations: 3.938 kB / 1.264 GB, free: 72.88 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002885/2.675, allocations: 455.4 kB / 1.265 GB, free: 72.43 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 () * 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.004042/2.679, allocations: 1.155 MB / 1.266 GB, free: 71.27 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001333/2.681, allocations: 467.4 kB / 1.266 GB, free: 70.82 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/2.681, allocations: 0 / 1.266 GB, free: 70.82 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003264/2.681, allocations: 152.6 kB / 1.266 GB, free: 70.67 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/2.683, allocations: 281.9 kB / 1.267 GB, free: 70.39 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/2.685, allocations: 1.085 MB / 1.268 GB, free: 69.27 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/2.685, allocations: 0.8515 MB / 1.268 GB, free: 68.39 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001287/2.687, allocations: 0.5381 MB / 1.269 GB, free: 67.86 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/2.687, allocations: 79.41 kB / 1.269 GB, free: 67.78 MB / 0.5417 GB Notification: Performance of SimCode: time 6.41e-07/2.687, allocations: 4 kB / 1.269 GB, free: 67.78 MB / 0.5417 GB Notification: Performance of Templates: time 0.03881/2.726, allocations: 26.26 MB / 1.295 GB, free: 41.6 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 -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -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:266: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:1759: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