Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_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.1_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.001263/0.001263, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001723/0.001723, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.593/1.593, 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.1+maint.om/package.mo): time 0.3352/0.3352, allocations: 37.99 MB / 307.4 MB, free: 10.09 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.1. 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.001405/0.001405, allocations: 66.61 kB / 374.7 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1495, allocations: 56.47 MB / 431.2 MB, free: 6.941 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.4647/0.6143, allocations: 185.6 MB / 0.6023 GB, free: 14.43 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01137/0.6257, allocations: 7.43 MB / 0.6096 GB, free: 6.98 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.627, allocations: 19.88 kB / 0.6096 GB, free: 6.961 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.6282, allocations: 298.4 kB / 0.6099 GB, free: 6.668 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009884/0.6381, allocations: 2.468 MB / 0.6123 GB, free: 4.215 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002745/0.6409, allocations: 0.8484 MB / 0.6131 GB, free: 3.375 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002904/0.6438, allocations: 1.67 MB / 0.6148 GB, free: 1.703 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000705/0.6445, allocations: 424 kB / 0.6152 GB, free: 1.293 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00185/0.6464, allocations: 0.8526 MB / 0.616 GB, free: 448 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006191/0.647, allocations: 0.5214 MB / 0.6165 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.642e-05/0.6471, allocations: 52 kB / 0.6166 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004192/0.6513, allocations: 2.57 MB / 0.6191 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001922/0.6515, allocations: 179.4 kB / 0.6192 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004172/0.6519, allocations: 374.4 kB / 0.6196 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00315/0.6551, allocations: 2.202 MB / 0.6217 GB, free: 10.54 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.6551, allocations: 0 / 0.6217 GB, free: 10.54 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6551, allocations: 0 / 0.6217 GB, free: 10.54 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.6551, allocations: 4 kB / 0.6218 GB, free: 10.54 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.002115/0.6573, allocations: 1.161 MB / 0.6229 GB, free: 9.328 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.6573, allocations: 11.89 kB / 0.6229 GB, free: 9.316 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.6585, allocations: 163 kB / 0.6231 GB, free: 9.156 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006657/0.6591, allocations: 0.4964 MB / 0.6235 GB, free: 8.617 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/0.6592, allocations: 33 kB / 0.6236 GB, free: 8.586 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.34e-05/0.6593, allocations: 44 kB / 0.6236 GB, free: 8.543 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.6603, allocations: 0.6371 MB / 0.6242 GB, free: 7.863 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.6603, allocations: 3.938 kB / 0.6242 GB, free: 7.859 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.531e-05/0.6604, allocations: 23.94 kB / 0.6243 GB, free: 7.836 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.6604, allocations: 12 kB / 0.6243 GB, free: 7.824 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007891/0.6612, allocations: 495.6 kB / 0.6247 GB, free: 7.336 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.002914/0.6641, allocations: 2.656 MB / 0.6273 GB, free: 4.492 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005951/0.6647, allocations: 321.1 kB / 0.6276 GB, free: 4.172 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.665, allocations: 156.8 kB / 0.6278 GB, free: 4.016 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/0.6662, allocations: 1.3 MB / 0.6291 GB, free: 2.496 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.6662, allocations: 46.5 kB / 0.6291 GB, free: 2.441 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 1.853e-06/0.6662, allocations: 0 / 0.6291 GB, free: 2.441 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.001488/0.6677, allocations: 0.6936 MB / 0.6298 GB, free: 1.719 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.6678, allocations: 158.2 kB / 0.6299 GB, free: 1.527 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005195/0.6683, allocations: 0.5223 MB / 0.6304 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/0.6684, allocations: 33.7 kB / 0.6305 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.6686, allocations: 299.6 kB / 0.6308 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.593e-05/0.6687, allocations: 126.1 kB / 0.6309 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.6688, allocations: 106.2 kB / 0.631 GB, free: 432 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.669, allocations: 370.8 kB / 0.6313 GB, free: 52 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2418/0.9107, allocations: 137.2 kB / 0.6315 GB, free: 164.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004951/0.9113, allocations: 328 kB / 0.6318 GB, free: 164.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006501/0.9119, allocations: 472.4 kB / 0.6322 GB, free: 164.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.912, allocations: 3.844 kB / 0.6322 GB, free: 164.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001115/0.9131, allocations: 0.5734 MB / 0.6328 GB, free: 164.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.9131, allocations: 10.03 kB / 0.6328 GB, free: 164.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.9131, allocations: 8.5 kB / 0.6328 GB, free: 164.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001518/0.9147, allocations: 237.3 kB / 0.633 GB, free: 164.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003542/0.915, allocations: 121.2 kB / 0.6332 GB, free: 164.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004085/0.9154, allocations: 0.587 MB / 0.6337 GB, free: 163.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004775/0.9159, allocations: 63.77 kB / 0.6338 GB, free: 163.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.84e-05/0.916, allocations: 49.95 kB / 0.6338 GB, free: 163.5 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.0003785/0.9164, allocations: 199.4 kB / 0.634 GB, free: 163.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.9165, allocations: 57.81 kB / 0.6341 GB, free: 163.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/0.918, allocations: 0.7314 MB / 0.6348 GB, free: 163.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.918, allocations: 6.906 kB / 0.6348 GB, free: 163.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.918, allocations: 6.891 kB / 0.6348 GB, free: 163.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.918, allocations: 0.6562 kB / 0.6348 GB, free: 163.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.9193, allocations: 1.008 MB / 0.6358 GB, free: 162.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.9193, allocations: 3.188 kB / 0.6358 GB, free: 162.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.9195, allocations: 52.06 kB / 0.6358 GB, free: 162.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003017/0.9225, allocations: 458.2 kB / 0.6363 GB, free: 162.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.9225, allocations: 7.219 kB / 0.6363 GB, free: 162.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003048/0.9229, allocations: 0.6074 MB / 0.6369 GB, free: 161.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.9229, allocations: 5.062 kB / 0.6369 GB, free: 161.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005868/0.9235, allocations: 0.4916 MB / 0.6374 GB, free: 161.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.9236, allocations: 138.4 kB / 0.6375 GB, free: 161.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.9237, allocations: 18.91 kB / 0.6375 GB, free: 161.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000353/0.9241, allocations: 36.34 kB / 0.6376 GB, free: 161.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/0.9241, allocations: 25.33 kB / 0.6376 GB, free: 161.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.174e-05/0.9242, allocations: 15.41 kB / 0.6376 GB, free: 161.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004312/0.9246, allocations: 443.1 kB / 0.638 GB, free: 161.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.9246, allocations: 2.062 kB / 0.638 GB, free: 161.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001077/0.9257, allocations: 376.5 kB / 0.6384 GB, free: 161.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.001073/0.9268, allocations: 0.5053 MB / 0.6389 GB, free: 161.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000799/0.9276, allocations: 392.7 kB / 0.6392 GB, free: 161 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.9276, allocations: 0 / 0.6392 GB, free: 161 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002622/0.9279, allocations: 158.1 kB / 0.6394 GB, free: 161 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/0.9296, allocations: 418.8 kB / 0.6398 GB, free: 160.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.931, allocations: 1.113 MB / 0.6409 GB, free: 160.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.9313, allocations: 0.8649 MB / 0.6417 GB, free: 159.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008821/0.9322, allocations: 215.8 kB / 0.6419 GB, free: 159.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.9324, allocations: 80.8 kB / 0.642 GB, free: 159.4 MB / 494.1 MB Notification: Performance of SimCode: time 6.11e-07/0.9324, allocations: 0 / 0.642 GB, free: 159.4 MB / 494.1 MB Notification: Performance of Templates: time 0.03218/0.9646, allocations: 19.65 MB / 0.6612 GB, free: 157.1 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.makefile make -j1 -f ModelicaTest_3.2.1_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_1_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.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.o ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.c ModelicaTest_3.2.1_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.1_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.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.o] Error 1