Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.conf.json 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/Complex 4.0.0+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/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 191.1 kB / 16.25 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.751/1.751, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3815/0.3815, allocations: 39.93 MB / 309.4 MB, free: 9.047 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001425, allocations: 70.41 kB / 377.1 MB, free: 12.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1513, allocations: 56.88 MB / 434 MB, free: 3.742 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.5396/0.6909, allocations: 185.6 MB / 0.6051 GB, free: 9.867 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01397/0.7049, allocations: 7.421 MB / 0.6123 GB, free: 2.426 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001205/0.7063, allocations: 23.81 kB / 0.6123 GB, free: 2.402 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001806/0.7081, allocations: 302.3 kB / 0.6126 GB, free: 2.105 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01174/0.7199, allocations: 2.473 MB / 0.615 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003385/0.7233, allocations: 0.8357 MB / 0.6159 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003113/0.7264, allocations: 1.67 MB / 0.6175 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/0.7275, allocations: 430.2 kB / 0.6179 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002181/0.7297, allocations: 0.8565 MB / 0.6187 GB, free: 11.87 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008092/0.7306, allocations: 0.5136 MB / 0.6192 GB, free: 11.35 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.099e-05/0.7307, allocations: 52 kB / 0.6193 GB, free: 11.3 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004883/0.7356, allocations: 2.57 MB / 0.6218 GB, free: 8.727 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002171/0.7358, allocations: 179.4 kB / 0.622 GB, free: 8.551 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00044/0.7362, allocations: 378.4 kB / 0.6223 GB, free: 8.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003739/0.74, allocations: 2.206 MB / 0.6245 GB, free: 5.969 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.74, allocations: 0 / 0.6245 GB, free: 5.969 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.74, allocations: 0 / 0.6245 GB, free: 5.969 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.74, allocations: 0 / 0.6245 GB, free: 5.969 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001999/0.742, allocations: 1.17 MB / 0.6256 GB, free: 4.75 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.7421, allocations: 11.89 kB / 0.6256 GB, free: 4.738 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.7432, allocations: 155.1 kB / 0.6258 GB, free: 4.586 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007194/0.744, allocations: 0.4887 MB / 0.6263 GB, free: 4.055 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.744, allocations: 29 kB / 0.6263 GB, free: 4.027 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.387e-05/0.7441, allocations: 48 kB / 0.6263 GB, free: 3.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.7452, allocations: 0.6366 MB / 0.627 GB, free: 3.297 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.7452, allocations: 7.938 kB / 0.627 GB, free: 3.289 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.549e-05/0.7453, allocations: 23.94 kB / 0.627 GB, free: 3.266 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.7453, allocations: 12 kB / 0.627 GB, free: 3.254 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008206/0.7462, allocations: 491.6 kB / 0.6275 GB, free: 2.773 MB / 494.1 MB 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.2898/1.036, allocations: 2.653 MB / 0.6301 GB, free: 161.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009277/1.037, allocations: 322.4 kB / 0.6304 GB, free: 161.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/1.037, allocations: 156.7 kB / 0.6305 GB, free: 161.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001037/1.038, allocations: 1.306 MB / 0.6318 GB, free: 160.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/1.038, allocations: 39.56 kB / 0.6318 GB, free: 160.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 2.705e-06/1.038, allocations: 6.375 kB / 0.6318 GB, free: 160.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.00182/1.04, allocations: 0.6849 MB / 0.6325 GB, free: 160.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.895e-05/1.04, allocations: 159.4 kB / 0.6326 GB, free: 160.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006377/1.041, allocations: 0.5219 MB / 0.6332 GB, free: 160.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.805e-05/1.041, allocations: 31.86 kB / 0.6332 GB, free: 160.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/1.041, allocations: 303 kB / 0.6335 GB, free: 160.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.719e-05/1.041, allocations: 127.2 kB / 0.6336 GB, free: 160.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/1.041, allocations: 114.2 kB / 0.6337 GB, free: 160.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.864e-05/1.041, allocations: 361.2 kB / 0.6341 GB, free: 159.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/1.042, allocations: 146.2 kB / 0.6342 GB, free: 159.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003391/1.042, allocations: 326.3 kB / 0.6345 GB, free: 159.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000605/1.043, allocations: 478.4 kB / 0.635 GB, free: 159.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/1.043, allocations: 0 / 0.635 GB, free: 159.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008598/1.044, allocations: 0.5672 MB / 0.6355 GB, free: 159.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/1.044, allocations: 11.59 kB / 0.6355 GB, free: 159.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.044, allocations: 6.344 kB / 0.6355 GB, free: 159.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001463/1.045, allocations: 237.1 kB / 0.6358 GB, free: 159.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003547/1.045, allocations: 119.1 kB / 0.6359 GB, free: 159.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000369/1.046, allocations: 0.5961 MB / 0.6365 GB, free: 158.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004298/1.046, allocations: 61.38 kB / 0.6365 GB, free: 158.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.551e-05/1.046, allocations: 53.39 kB / 0.6366 GB, free: 158.6 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002433/1.047, allocations: 189.6 kB / 0.6367 GB, free: 158.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/1.047, allocations: 67.5 kB / 0.6368 GB, free: 158.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001547/1.048, allocations: 0.7306 MB / 0.6375 GB, free: 158.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/1.048, allocations: 4.938 kB / 0.6375 GB, free: 158.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/1.048, allocations: 0 / 0.6375 GB, free: 158.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/1.048, allocations: 0 / 0.6375 GB, free: 158.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/1.05, allocations: 1.009 MB / 0.6385 GB, free: 157.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/1.05, allocations: 3.828 kB / 0.6385 GB, free: 157.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/1.05, allocations: 52.44 kB / 0.6386 GB, free: 157.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003028/1.053, allocations: 453.4 kB / 0.639 GB, free: 157.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/1.053, allocations: 10.38 kB / 0.639 GB, free: 157.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003032/1.053, allocations: 0.6059 MB / 0.6396 GB, free: 156.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/1.053, allocations: 5.594 kB / 0.6396 GB, free: 156.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000626/1.054, allocations: 0.496 MB / 0.6401 GB, free: 156.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/1.054, allocations: 142.9 kB / 0.6402 GB, free: 156.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-05/1.054, allocations: 15.19 kB / 0.6402 GB, free: 156.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003623/1.055, allocations: 26.77 kB / 0.6403 GB, free: 156.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.033e-05/1.055, allocations: 26.16 kB / 0.6403 GB, free: 156.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.184e-05/1.055, allocations: 23.53 kB / 0.6403 GB, free: 156.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004613/1.055, allocations: 440 kB / 0.6407 GB, free: 156.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.055, allocations: 0 / 0.6407 GB, free: 156.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001128/1.056, allocations: 384.7 kB / 0.6411 GB, free: 156.2 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001168/1.057, allocations: 0.502 MB / 0.6416 GB, free: 156.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008083/1.058, allocations: 393.2 kB / 0.642 GB, free: 155.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.058, allocations: 3.062 kB / 0.642 GB, free: 155.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002837/1.059, allocations: 156.8 kB / 0.6421 GB, free: 155.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/1.06, allocations: 423.2 kB / 0.6425 GB, free: 155.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/1.062, allocations: 1.106 MB / 0.6436 GB, free: 155.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/1.062, allocations: 0.8669 MB / 0.6444 GB, free: 154.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009015/1.063, allocations: 218.6 kB / 0.6447 GB, free: 154.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002129/1.063, allocations: 79.27 kB / 0.6447 GB, free: 154.3 MB / 494.1 MB Notification: Performance of SimCode: time 8.41e-07/1.063, allocations: 0 / 0.6447 GB, free: 154.3 MB / 494.1 MB Notification: Performance of Templates: time 0.04571/1.109, allocations: 19.65 MB / 0.6639 GB, free: 151.7 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.makefile make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.o ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.c ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.c:387:156: 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[40] /* from_dp.m_flow variable */) = omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData, tmp1, tmp2, (data->localData[0]->realVars[37] /* from_dp.dp variable */)); ^~~~ ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_functions.h:328: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.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.o] Error 1